![]() |
LibDriver SYN6658
|
syn6658 base driver modules More...
Data Structures | |
| struct | syn6658_handle_s |
| syn6658 handle structure definition More... | |
| struct | syn6658_info_s |
| syn6658 information structure definition More... | |
Macros | |
| #define | SYN6658_BUSY_TIMEOUT 1000 |
| syn6658 timeout definition | |
| #define | SYN6658_SOUND_101 "sound101" |
| syn6658 sound enumeration definition | |
| #define | SYN6658_SOUND_102 "sound102" |
| #define | SYN6658_SOUND_103 "sound103" |
| #define | SYN6658_SOUND_104 "sound104" |
| #define | SYN6658_SOUND_105 "sound105" |
| #define | SYN6658_SOUND_106 "sound106" |
| #define | SYN6658_SOUND_107 "sound107" |
| #define | SYN6658_SOUND_108 "sound108" |
| #define | SYN6658_SOUND_109 "sound109" |
| #define | SYN6658_SOUND_110 "sound110" |
| #define | SYN6658_SOUND_111 "sound111" |
| #define | SYN6658_SOUND_112 "sound112" |
| #define | SYN6658_SOUND_113 "sound113" |
| #define | SYN6658_SOUND_114 "sound114" |
| #define | SYN6658_SOUND_115 "sound115" |
| #define | SYN6658_SOUND_116 "sound116" |
| #define | SYN6658_SOUND_117 "sound117" |
| #define | SYN6658_SOUND_118 "sound118" |
| #define | SYN6658_SOUND_119 "sound119" |
| #define | SYN6658_SOUND_120 "sound120" |
| #define | SYN6658_SOUND_121 "sound121" |
| #define | SYN6658_SOUND_122 "sound122" |
| #define | SYN6658_SOUND_123 "sound123" |
| #define | SYN6658_SOUND_124 "sound124" |
| #define | SYN6658_SOUND_201 "sound201" |
| #define | SYN6658_SOUND_202 "sound202" |
| #define | SYN6658_SOUND_203 "sound203" |
| #define | SYN6658_SOUND_204 "sound204" |
| #define | SYN6658_SOUND_205 "sound205" |
| #define | SYN6658_SOUND_206 "sound206" |
| #define | SYN6658_SOUND_207 "sound207" |
| #define | SYN6658_SOUND_208 "sound208" |
| #define | SYN6658_SOUND_209 "sound209" |
| #define | SYN6658_SOUND_210 "sound210" |
| #define | SYN6658_SOUND_211 "sound211" |
| #define | SYN6658_SOUND_212 "sound212" |
| #define | SYN6658_SOUND_213 "sound213" |
| #define | SYN6658_SOUND_214 "sound214" |
| #define | SYN6658_SOUND_215 "sound215" |
| #define | SYN6658_SOUND_216 "sound216" |
| #define | SYN6658_SOUND_217 "sound217" |
| #define | SYN6658_SOUND_218 "sound218" |
| #define | SYN6658_SOUND_219 "sound219" |
| #define | SYN6658_SOUND_301 "sound301" |
| #define | SYN6658_SOUND_302 "sound302" |
| #define | SYN6658_SOUND_303 "sound303" |
| #define | SYN6658_SOUND_304 "sound304" |
| #define | SYN6658_SOUND_305 "sound305" |
| #define | SYN6658_SOUND_306 "sound306" |
| #define | SYN6658_SOUND_307 "sound307" |
| #define | SYN6658_SOUND_308 "sound308" |
| #define | SYN6658_SOUND_309 "sound309" |
| #define | SYN6658_SOUND_310 "sound310" |
| #define | SYN6658_SOUND_311 "sound311" |
| #define | SYN6658_SOUND_312 "sound312" |
| #define | SYN6658_SOUND_313 "sound313" |
| #define | SYN6658_SOUND_314 "sound314" |
| #define | SYN6658_SOUND_315 "sound315" |
| #define | SYN6658_SOUND_316 "sound316" |
| #define | SYN6658_SOUND_317 "sound317" |
| #define | SYN6658_SOUND_318 "sound318" |
| #define | SYN6658_SOUND_319 "sound319" |
| #define | SYN6658_SOUND_401 "sound401" |
| #define | SYN6658_SOUND_402 "sound402" |
| #define | SYN6658_SOUND_403 "sound403" |
| #define | SYN6658_SOUND_404 "sound404" |
| #define | SYN6658_SOUND_405 "sound405" |
| #define | SYN6658_SOUND_406 "sound406" |
| #define | SYN6658_SOUND_407 "sound407" |
| #define | SYN6658_SOUND_408 "sound408" |
| #define | SYN6658_SOUND_501 "sound501" |
| #define | SYN6658_SOUND_502 "sound502" |
| #define | SYN6658_SOUND_503 "sound503" |
| #define | SYN6658_SOUND_504 "sound504" |
| #define | SYN6658_SOUND_505 "sound505" |
| #define | SYN6658_SOUND_506 "sound506" |
| #define | SYN6658_SOUND_507 "sound507" |
| #define | SYN6658_SOUND_601 "sound601" |
| #define | SYN6658_SOUND_602 "sound602" |
| #define | SYN6658_SOUND_701 "sound701" |
| #define | SYN6658_SOUND_702 "sound702" |
| #define | SYN6658_SOUND_703 "sound703" |
| #define | SYN6658_SOUND_704 "sound704" |
| #define | SYN6658_SOUND_705 "sound705" |
| #define | SYN6658_SOUND_706 "sound706" |
| #define | SYN6658_SOUND_707 "sound707" |
| #define | SYN6658_SOUND_708 "sound708" |
| #define | SYN6658_SOUND_709 "sound709" |
| #define | SYN6658_SOUND_710 "sound710" |
| #define | SYN6658_SOUND_711 "sound711" |
| #define | SYN6658_SOUND_712 "sound712" |
| #define | SYN6658_SOUND_713 "sound713" |
| #define | SYN6658_SOUND_714 "sound714" |
| #define | SYN6658_SOUND_715 "sound715" |
| #define | SYN6658_SOUND_716 "sound716" |
| #define | SYN6658_SOUND_717 "sound717" |
| #define | SYN6658_SOUND_718 "sound718" |
| #define | SYN6658_SOUND_719 "sound719" |
| #define | SYN6658_MESSAGE_A "msga" |
| syn6658 message enumeration definition | |
| #define | SYN6658_MESSAGE_B "msgb" |
| #define | SYN6658_MESSAGE_C "msgc" |
| #define | SYN6658_MESSAGE_D "msgd" |
| #define | SYN6658_MESSAGE_E "msge" |
| #define | SYN6658_MESSAGE_F "msgf" |
| #define | SYN6658_MESSAGE_G "msgg" |
| #define | SYN6658_MESSAGE_H "msgh" |
| #define | SYN6658_MESSAGE_I "msgi" |
| #define | SYN6658_MESSAGE_J "msgj" |
| #define | SYN6658_MESSAGE_K "msgk" |
| #define | SYN6658_MESSAGE_L "msgl" |
| #define | SYN6658_MESSAGE_M "msgm" |
| #define | SYN6658_MESSAGE_N "msgn" |
Typedefs | |
| typedef struct syn6658_handle_s | syn6658_handle_t |
| syn6658 handle structure definition | |
| typedef struct syn6658_info_s | syn6658_info_t |
| syn6658 information structure definition | |
Enumerations | |
| enum | syn6658_interface_t { SYN6658_INTERFACE_UART = 0x00 , SYN6658_INTERFACE_SPI = 0x01 } |
| syn6658 interface enumeration definition More... | |
| enum | syn6658_type_t { SYN6658_TYPE_GB2312 = 0x00 , SYN6658_TYPE_GBK = 0x01 , SYN6658_TYPE_BIG5 = 0x02 , SYN6658_TYPE_UNICODE_LITTLE = 0x03 , SYN6658_TYPE_UNICODE_BIG = 0x04 } |
| syn6658 type enumeration definition More... | |
| enum | syn6658_status_t { SYN6658_STATUS_OK = 0x00 , SYN6658_STATUS_BUSY = 0x01 } |
| syn6658 status enumeration definition More... | |
| enum | syn6658_speaker_t { SYN6658_SPEAKER_XIAOLING = 3 , SYN6658_SPEAKER_YIXIAOJIAN = 51 , SYN6658_SPEAKER_YIXIAOQIANG = 52 , SYN6658_SPEAKER_TIANPEIPEI = 53 , SYN6658_SPEAKER_TANGLAOYA = 54 , SYN6658_SPEAKER_XIAOYANZI = 55 } |
| syn6658 speaker enumeration definition More... | |
Functions | |
| uint8_t | syn6658_info (syn6658_info_t *info) |
| get chip's information | |
| uint8_t | syn6658_set_interface (syn6658_handle_t *handle, syn6658_interface_t interface) |
| set the chip interface | |
| uint8_t | syn6658_get_interface (syn6658_handle_t *handle, syn6658_interface_t *interface) |
| get the chip interface | |
| uint8_t | syn6658_init (syn6658_handle_t *handle) |
| initialize the chip | |
| uint8_t | syn6658_deinit (syn6658_handle_t *handle) |
| close the chip | |
| uint8_t | syn6658_set_text_type (syn6658_handle_t *handle, syn6658_type_t type) |
| set the chip text type | |
| uint8_t | syn6658_get_text_type (syn6658_handle_t *handle, syn6658_type_t *type) |
| get the chip text type | |
| uint8_t | syn6658_synthesis_text (syn6658_handle_t *handle, const char *const fmt,...) |
| synthesis the test | |
| uint8_t | syn6658_get_status (syn6658_handle_t *handle, syn6658_status_t *status) |
| get the current status | |
| uint8_t | syn6658_stop (syn6658_handle_t *handle) |
| stop the chip | |
| uint8_t | syn6658_pause (syn6658_handle_t *handle) |
| pause the chip | |
| uint8_t | syn6658_resume (syn6658_handle_t *handle) |
| resume the chip | |
| uint8_t | syn6658_standby (syn6658_handle_t *handle) |
| set the chip to standby mode | |
| uint8_t | syn6658_wake_up (syn6658_handle_t *handle) |
| wake up the chip | |
| uint8_t | syn6658_set_synthesis_volume (syn6658_handle_t *handle, uint8_t volume) |
| set the chip synthesis volume | |
| uint8_t | syn6658_set_synthesis_speed (syn6658_handle_t *handle, uint8_t speed) |
| set the synthesis speed | |
| uint8_t | syn6658_set_synthesis_speaker (syn6658_handle_t *handle, syn6658_speaker_t speaker) |
| set the synthesis speaker | |
| uint8_t | syn6658_save_text (syn6658_handle_t *handle, uint8_t offset, char *text) |
| save text to the buffer | |
| uint8_t | syn6658_play_text (syn6658_handle_t *handle, uint8_t times, syn6658_type_t type) |
| play text | |
syn6658 base driver modules
| #define SYN6658_BUSY_TIMEOUT 1000 |
| #define SYN6658_MESSAGE_A "msga" |
| #define SYN6658_MESSAGE_B "msgb" |
message B
Definition at line 172 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_C "msgc" |
message C
Definition at line 173 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_D "msgd" |
message D
Definition at line 174 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_E "msge" |
message E
Definition at line 175 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_F "msgf" |
message F
Definition at line 176 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_G "msgg" |
message G
Definition at line 177 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_H "msgh" |
message H
Definition at line 178 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_I "msgi" |
message I
Definition at line 179 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_J "msgj" |
message J
Definition at line 180 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_K "msgk" |
message K
Definition at line 181 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_L "msgl" |
message L
Definition at line 182 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_M "msgm" |
message M
Definition at line 183 of file driver_syn6658.h.
| #define SYN6658_MESSAGE_N "msgn" |
message N
Definition at line 184 of file driver_syn6658.h.
| #define SYN6658_SOUND_101 "sound101" |
| #define SYN6658_SOUND_102 "sound102" |
sound102
Definition at line 70 of file driver_syn6658.h.
| #define SYN6658_SOUND_103 "sound103" |
sound103
Definition at line 71 of file driver_syn6658.h.
| #define SYN6658_SOUND_104 "sound104" |
sound104
Definition at line 72 of file driver_syn6658.h.
| #define SYN6658_SOUND_105 "sound105" |
sound105
Definition at line 73 of file driver_syn6658.h.
| #define SYN6658_SOUND_106 "sound106" |
sound106
Definition at line 74 of file driver_syn6658.h.
| #define SYN6658_SOUND_107 "sound107" |
sound107
Definition at line 75 of file driver_syn6658.h.
| #define SYN6658_SOUND_108 "sound108" |
sound108
Definition at line 76 of file driver_syn6658.h.
| #define SYN6658_SOUND_109 "sound109" |
sound109
Definition at line 77 of file driver_syn6658.h.
| #define SYN6658_SOUND_110 "sound110" |
sound110
Definition at line 78 of file driver_syn6658.h.
| #define SYN6658_SOUND_111 "sound111" |
sound111
Definition at line 79 of file driver_syn6658.h.
| #define SYN6658_SOUND_112 "sound112" |
sound112
Definition at line 80 of file driver_syn6658.h.
| #define SYN6658_SOUND_113 "sound113" |
sound113
Definition at line 81 of file driver_syn6658.h.
| #define SYN6658_SOUND_114 "sound114" |
sound114
Definition at line 82 of file driver_syn6658.h.
| #define SYN6658_SOUND_115 "sound115" |
sound115
Definition at line 83 of file driver_syn6658.h.
| #define SYN6658_SOUND_116 "sound116" |
sound116
Definition at line 84 of file driver_syn6658.h.
| #define SYN6658_SOUND_117 "sound117" |
sound117
Definition at line 85 of file driver_syn6658.h.
| #define SYN6658_SOUND_118 "sound118" |
sound118
Definition at line 86 of file driver_syn6658.h.
| #define SYN6658_SOUND_119 "sound119" |
sound119
Definition at line 87 of file driver_syn6658.h.
| #define SYN6658_SOUND_120 "sound120" |
sound120
Definition at line 88 of file driver_syn6658.h.
| #define SYN6658_SOUND_121 "sound121" |
sound121
Definition at line 89 of file driver_syn6658.h.
| #define SYN6658_SOUND_122 "sound122" |
sound122
Definition at line 90 of file driver_syn6658.h.
| #define SYN6658_SOUND_123 "sound123" |
sound123
Definition at line 91 of file driver_syn6658.h.
| #define SYN6658_SOUND_124 "sound124" |
sound124
Definition at line 92 of file driver_syn6658.h.
| #define SYN6658_SOUND_201 "sound201" |
sound201
Definition at line 93 of file driver_syn6658.h.
| #define SYN6658_SOUND_202 "sound202" |
sound202
Definition at line 94 of file driver_syn6658.h.
| #define SYN6658_SOUND_203 "sound203" |
sound203
Definition at line 95 of file driver_syn6658.h.
| #define SYN6658_SOUND_204 "sound204" |
sound204
Definition at line 96 of file driver_syn6658.h.
| #define SYN6658_SOUND_205 "sound205" |
sound205
Definition at line 97 of file driver_syn6658.h.
| #define SYN6658_SOUND_206 "sound206" |
sound206
Definition at line 98 of file driver_syn6658.h.
| #define SYN6658_SOUND_207 "sound207" |
sound207
Definition at line 99 of file driver_syn6658.h.
| #define SYN6658_SOUND_208 "sound208" |
sound208
Definition at line 100 of file driver_syn6658.h.
| #define SYN6658_SOUND_209 "sound209" |
sound209
Definition at line 101 of file driver_syn6658.h.
| #define SYN6658_SOUND_210 "sound210" |
sound210
Definition at line 102 of file driver_syn6658.h.
| #define SYN6658_SOUND_211 "sound211" |
sound211
Definition at line 103 of file driver_syn6658.h.
| #define SYN6658_SOUND_212 "sound212" |
sound212
Definition at line 104 of file driver_syn6658.h.
| #define SYN6658_SOUND_213 "sound213" |
sound213
Definition at line 105 of file driver_syn6658.h.
| #define SYN6658_SOUND_214 "sound214" |
sound214
Definition at line 106 of file driver_syn6658.h.
| #define SYN6658_SOUND_215 "sound215" |
sound215
Definition at line 107 of file driver_syn6658.h.
| #define SYN6658_SOUND_216 "sound216" |
sound216
Definition at line 108 of file driver_syn6658.h.
| #define SYN6658_SOUND_217 "sound217" |
sound217
Definition at line 109 of file driver_syn6658.h.
| #define SYN6658_SOUND_218 "sound218" |
sound218
Definition at line 110 of file driver_syn6658.h.
| #define SYN6658_SOUND_219 "sound219" |
sound219
Definition at line 111 of file driver_syn6658.h.
| #define SYN6658_SOUND_301 "sound301" |
sound301
Definition at line 112 of file driver_syn6658.h.
| #define SYN6658_SOUND_302 "sound302" |
sound302
Definition at line 113 of file driver_syn6658.h.
| #define SYN6658_SOUND_303 "sound303" |
sound303
Definition at line 114 of file driver_syn6658.h.
| #define SYN6658_SOUND_304 "sound304" |
sound304
Definition at line 115 of file driver_syn6658.h.
| #define SYN6658_SOUND_305 "sound305" |
sound305
Definition at line 116 of file driver_syn6658.h.
| #define SYN6658_SOUND_306 "sound306" |
sound306
Definition at line 117 of file driver_syn6658.h.
| #define SYN6658_SOUND_307 "sound307" |
sound307
Definition at line 118 of file driver_syn6658.h.
| #define SYN6658_SOUND_308 "sound308" |
sound308
Definition at line 119 of file driver_syn6658.h.
| #define SYN6658_SOUND_309 "sound309" |
sound309
Definition at line 120 of file driver_syn6658.h.
| #define SYN6658_SOUND_310 "sound310" |
sound310
Definition at line 121 of file driver_syn6658.h.
| #define SYN6658_SOUND_311 "sound311" |
sound311
Definition at line 122 of file driver_syn6658.h.
| #define SYN6658_SOUND_312 "sound312" |
sound312
Definition at line 123 of file driver_syn6658.h.
| #define SYN6658_SOUND_313 "sound313" |
sound313
Definition at line 124 of file driver_syn6658.h.
| #define SYN6658_SOUND_314 "sound314" |
sound314
Definition at line 125 of file driver_syn6658.h.
| #define SYN6658_SOUND_315 "sound315" |
sound315
Definition at line 126 of file driver_syn6658.h.
| #define SYN6658_SOUND_316 "sound316" |
sound316
Definition at line 127 of file driver_syn6658.h.
| #define SYN6658_SOUND_317 "sound317" |
sound317
Definition at line 128 of file driver_syn6658.h.
| #define SYN6658_SOUND_318 "sound318" |
sound318
Definition at line 129 of file driver_syn6658.h.
| #define SYN6658_SOUND_319 "sound319" |
sound319
Definition at line 130 of file driver_syn6658.h.
| #define SYN6658_SOUND_401 "sound401" |
sound401
Definition at line 131 of file driver_syn6658.h.
| #define SYN6658_SOUND_402 "sound402" |
sound402
Definition at line 132 of file driver_syn6658.h.
| #define SYN6658_SOUND_403 "sound403" |
sound403
Definition at line 133 of file driver_syn6658.h.
| #define SYN6658_SOUND_404 "sound404" |
sound404
Definition at line 134 of file driver_syn6658.h.
| #define SYN6658_SOUND_405 "sound405" |
sound405
Definition at line 135 of file driver_syn6658.h.
| #define SYN6658_SOUND_406 "sound406" |
sound406
Definition at line 136 of file driver_syn6658.h.
| #define SYN6658_SOUND_407 "sound407" |
sound407
Definition at line 137 of file driver_syn6658.h.
| #define SYN6658_SOUND_408 "sound408" |
sound408
Definition at line 138 of file driver_syn6658.h.
| #define SYN6658_SOUND_501 "sound501" |
sound501
Definition at line 139 of file driver_syn6658.h.
| #define SYN6658_SOUND_502 "sound502" |
sound502
Definition at line 140 of file driver_syn6658.h.
| #define SYN6658_SOUND_503 "sound503" |
sound503
Definition at line 141 of file driver_syn6658.h.
| #define SYN6658_SOUND_504 "sound504" |
sound504
Definition at line 142 of file driver_syn6658.h.
| #define SYN6658_SOUND_505 "sound505" |
sound505
Definition at line 143 of file driver_syn6658.h.
| #define SYN6658_SOUND_506 "sound506" |
sound506
Definition at line 144 of file driver_syn6658.h.
| #define SYN6658_SOUND_507 "sound507" |
sound507
Definition at line 145 of file driver_syn6658.h.
| #define SYN6658_SOUND_601 "sound601" |
sound601
Definition at line 146 of file driver_syn6658.h.
| #define SYN6658_SOUND_602 "sound602" |
sound602
Definition at line 147 of file driver_syn6658.h.
| #define SYN6658_SOUND_701 "sound701" |
sound701
Definition at line 148 of file driver_syn6658.h.
| #define SYN6658_SOUND_702 "sound702" |
sound702
Definition at line 149 of file driver_syn6658.h.
| #define SYN6658_SOUND_703 "sound703" |
sound703
Definition at line 150 of file driver_syn6658.h.
| #define SYN6658_SOUND_704 "sound704" |
sound704
Definition at line 151 of file driver_syn6658.h.
| #define SYN6658_SOUND_705 "sound705" |
sound705
Definition at line 152 of file driver_syn6658.h.
| #define SYN6658_SOUND_706 "sound706" |
sound706
Definition at line 153 of file driver_syn6658.h.
| #define SYN6658_SOUND_707 "sound707" |
sound707
Definition at line 154 of file driver_syn6658.h.
| #define SYN6658_SOUND_708 "sound708" |
sound708
Definition at line 155 of file driver_syn6658.h.
| #define SYN6658_SOUND_709 "sound709" |
sound709
Definition at line 156 of file driver_syn6658.h.
| #define SYN6658_SOUND_710 "sound710" |
sound710
Definition at line 157 of file driver_syn6658.h.
| #define SYN6658_SOUND_711 "sound711" |
sound711
Definition at line 158 of file driver_syn6658.h.
| #define SYN6658_SOUND_712 "sound712" |
sound712
Definition at line 159 of file driver_syn6658.h.
| #define SYN6658_SOUND_713 "sound713" |
sound713
Definition at line 160 of file driver_syn6658.h.
| #define SYN6658_SOUND_714 "sound714" |
sound714
Definition at line 161 of file driver_syn6658.h.
| #define SYN6658_SOUND_715 "sound715" |
sound715
Definition at line 162 of file driver_syn6658.h.
| #define SYN6658_SOUND_716 "sound716" |
sound716
Definition at line 163 of file driver_syn6658.h.
| #define SYN6658_SOUND_717 "sound717" |
sound717
Definition at line 164 of file driver_syn6658.h.
| #define SYN6658_SOUND_718 "sound718" |
sound718
Definition at line 165 of file driver_syn6658.h.
| #define SYN6658_SOUND_719 "sound719" |
sound719
Definition at line 166 of file driver_syn6658.h.
| typedef struct syn6658_handle_s syn6658_handle_t |
syn6658 handle structure definition
| typedef struct syn6658_info_s syn6658_info_t |
syn6658 information structure definition
| enum syn6658_interface_t |
syn6658 interface enumeration definition
| Enumerator | |
|---|---|
| SYN6658_INTERFACE_UART | uart interface function |
| SYN6658_INTERFACE_SPI | spi interface function |
Definition at line 189 of file driver_syn6658.h.
| enum syn6658_speaker_t |
syn6658 speaker enumeration definition
Definition at line 219 of file driver_syn6658.h.
| enum syn6658_status_t |
syn6658 status enumeration definition
| Enumerator | |
|---|---|
| SYN6658_STATUS_OK | ok status |
| SYN6658_STATUS_BUSY | busy status |
Definition at line 210 of file driver_syn6658.h.
| enum syn6658_type_t |
syn6658 type enumeration definition
| Enumerator | |
|---|---|
| SYN6658_TYPE_GB2312 | gb2312 type |
| SYN6658_TYPE_GBK | gbk type |
| SYN6658_TYPE_BIG5 | big5 type |
| SYN6658_TYPE_UNICODE_LITTLE | unicode little endian type |
| SYN6658_TYPE_UNICODE_BIG | unicode big endian type |
Definition at line 198 of file driver_syn6658.h.
| uint8_t syn6658_deinit | ( | syn6658_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 352 of file driver_syn6658.c.
| uint8_t syn6658_get_interface | ( | syn6658_handle_t * | handle, |
| syn6658_interface_t * | interface ) |
get the chip interface
| [in] | *handle | pointer to a syn6658 handle structure |
| [out] | *interface | pointer to a chip interface buffer |
Definition at line 198 of file driver_syn6658.c.
| uint8_t syn6658_get_status | ( | syn6658_handle_t * | handle, |
| syn6658_status_t * | status ) |
get the current status
| [in] | *handle | pointer to a syn6658 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 403 of file driver_syn6658.c.
| uint8_t syn6658_get_text_type | ( | syn6658_handle_t * | handle, |
| syn6658_type_t * | type ) |
get the chip text type
| [in] | *handle | pointer to a syn6658 handle structure |
| [out] | *type | pointer to a chip text type |
Definition at line 867 of file driver_syn6658.c.
| uint8_t syn6658_info | ( | syn6658_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to a syn6658 info structure |
Definition at line 1353 of file driver_syn6658.c.
| uint8_t syn6658_init | ( | syn6658_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 221 of file driver_syn6658.c.
| uint8_t syn6658_pause | ( | syn6658_handle_t * | handle | ) |
pause the chip
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 573 of file driver_syn6658.c.
| uint8_t syn6658_play_text | ( | syn6658_handle_t * | handle, |
| uint8_t | times, | ||
| syn6658_type_t | type ) |
play text
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | times | play times |
| [in] | type | encode type |
Definition at line 1150 of file driver_syn6658.c.
| uint8_t syn6658_resume | ( | syn6658_handle_t * | handle | ) |
resume the chip
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 639 of file driver_syn6658.c.
| uint8_t syn6658_save_text | ( | syn6658_handle_t * | handle, |
| uint8_t | offset, | ||
| char * | text ) |
save text to the buffer
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | offset | buffer offset |
| [in] | *text | pointer to a text buffer |
Definition at line 1099 of file driver_syn6658.c.
| uint8_t syn6658_set_interface | ( | syn6658_handle_t * | handle, |
| syn6658_interface_t | interface ) |
set the chip interface
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | interface | chip interface |
Definition at line 177 of file driver_syn6658.c.
| uint8_t syn6658_set_synthesis_speaker | ( | syn6658_handle_t * | handle, |
| syn6658_speaker_t | speaker ) |
set the synthesis speaker
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | speaker | synthesis speaker |
Definition at line 1060 of file driver_syn6658.c.
| uint8_t syn6658_set_synthesis_speed | ( | syn6658_handle_t * | handle, |
| uint8_t | speed ) |
set the synthesis speed
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | speed | synthesis speed |
Definition at line 1020 of file driver_syn6658.c.
| uint8_t syn6658_set_synthesis_volume | ( | syn6658_handle_t * | handle, |
| uint8_t | volume ) |
set the chip synthesis volume
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | volume | synthesis volume |
Definition at line 979 of file driver_syn6658.c.
| uint8_t syn6658_set_text_type | ( | syn6658_handle_t * | handle, |
| syn6658_type_t | type ) |
set the chip text type
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | type | chip text type |
Definition at line 841 of file driver_syn6658.c.
| uint8_t syn6658_standby | ( | syn6658_handle_t * | handle | ) |
set the chip to standby mode
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 704 of file driver_syn6658.c.
| uint8_t syn6658_stop | ( | syn6658_handle_t * | handle | ) |
stop the chip
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 508 of file driver_syn6658.c.
| uint8_t syn6658_synthesis_text | ( | syn6658_handle_t * | handle, |
| const char *const | fmt, | ||
| ... ) |
synthesis the test
| [in] | *handle | pointer to a syn6658 handle structure |
| [in] | fmt | format data |
Definition at line 896 of file driver_syn6658.c.
| uint8_t syn6658_wake_up | ( | syn6658_handle_t * | handle | ) |
wake up the chip
| [in] | *handle | pointer to a syn6658 handle structure |
Definition at line 769 of file driver_syn6658.c.