LibDriver SYN6988  1.0.0
SYN6988 full-featured driver
driver_syn6988_basic.h
Go to the documentation of this file.
1 
37 #ifndef DRIVER_SYN6988_BASIC_H
38 #define DRIVER_SYN6988_BASIC_H
39 
41 
42 #ifdef __cplusplus
43 extern "C"{
44 #endif
45 
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
76 uint8_t syn6988_basic_init(syn6988_interface_t interface);
77 
85 uint8_t syn6988_basic_deinit(void);
86 
95 uint8_t syn6988_basic_synthesis(const char *const fmt, ...);
96 
104 uint8_t syn6988_basic_sync(void);
105 
113 uint8_t syn6988_basic_stop(void);
114 
122 uint8_t syn6988_basic_pause(void);
123 
131 uint8_t syn6988_basic_resume(void);
132 
140 uint8_t syn6988_basic_standby(void);
141 
149 uint8_t syn6988_basic_wake_up(void);
150 
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