LibDriver SYN6988
Loading...
Searching...
No Matches
driver_syn6988_basic.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_SYN6988_BASIC_H
38#define DRIVER_SYN6988_BASIC_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
56#ifndef SYN6988_BASIC_SEND_CONFIG
57 #define SYN6988_BASIC_SEND_CONFIG 0
58#endif
59
63#define SYN6988_BASIC_DEFAULT_TEXT_TYPE SYN6988_TYPE_GB2312
64#define SYN6988_BASIC_DEFAULT_SYNTHESIS_VOLUME 10
65#define SYN6988_BASIC_DEFAULT_SYNTHESIS_SPEED 5
66#define SYN6988_BASIC_DEFAULT_SYNTHESIS_LANGUAGE SYN6988_LANGUAGE_AUTO
67
77
85uint8_t syn6988_basic_deinit(void);
86
95uint8_t syn6988_basic_synthesis(const char *const fmt, ...);
96
104uint8_t syn6988_basic_sync(void);
105
113uint8_t syn6988_basic_stop(void);
114
122uint8_t syn6988_basic_pause(void);
123
131uint8_t syn6988_basic_resume(void);
132
140uint8_t syn6988_basic_standby(void);
141
149uint8_t syn6988_basic_wake_up(void);
150
154
155#ifdef __cplusplus
156}
157#endif
158
159#endif
driver syn6988 interface header file
syn6988_interface_t
syn6988 interface enumeration definition
uint8_t syn6988_basic_wake_up(void)
basic example wake up
uint8_t syn6988_basic_synthesis(const char *const fmt,...)
basic example synthesis
uint8_t syn6988_basic_stop(void)
basic example stop
uint8_t syn6988_basic_init(syn6988_interface_t interface)
basic example init
uint8_t syn6988_basic_deinit(void)
basic example deinit
uint8_t syn6988_basic_resume(void)
basic example resume
uint8_t syn6988_basic_standby(void)
basic example standby
uint8_t syn6988_basic_sync(void)
basic example sync
uint8_t syn6988_basic_pause(void)
basic example pause