![]() |
LibDriver SYN6658
|
syn6658 example driver modules More...
Macros | |
| #define | SYN6658_BASIC_SEND_CONFIG 0 |
| syn6658 basic send command configure | |
| #define | SYN6658_BASIC_DEFAULT_TEXT_TYPE SYN6658_TYPE_GB2312 |
| syn6658 basic example default definition | |
| #define | SYN6658_BASIC_DEFAULT_SYNTHESIS_VOLUME 10 |
| #define | SYN6658_BASIC_DEFAULT_SYNTHESIS_SPEED 5 |
| #define | SYN6658_BASIC_DEFAULT_SYNTHESIS_SPEAKER SYN6658_SPEAKER_XIAOLING |
Functions | |
| uint8_t | syn6658_basic_init (syn6658_interface_t interface) |
| basic example init | |
| uint8_t | syn6658_basic_deinit (void) |
| basic example deinit | |
| uint8_t | syn6658_basic_synthesis (const char *const fmt,...) |
| basic example synthesis | |
| uint8_t | syn6658_basic_sync (void) |
| basic example sync | |
| uint8_t | syn6658_basic_stop (void) |
| basic example stop | |
| uint8_t | syn6658_basic_pause (void) |
| basic example pause | |
| uint8_t | syn6658_basic_resume (void) |
| basic example resume | |
| uint8_t | syn6658_basic_standby (void) |
| basic example standby | |
| uint8_t | syn6658_basic_wake_up (void) |
| basic example wake up | |
| uint8_t | syn6658_basic_save_text (uint8_t offset, char *text) |
| basic example save text | |
| uint8_t | syn6658_basic_play_text (uint8_t times, syn6658_type_t type) |
| basic example play text | |
syn6658 example driver modules
| #define SYN6658_BASIC_DEFAULT_SYNTHESIS_SPEAKER SYN6658_SPEAKER_XIAOLING |
xiaoling
Definition at line 66 of file driver_syn6658_basic.h.
| #define SYN6658_BASIC_DEFAULT_SYNTHESIS_SPEED 5 |
synthesis speed 5
Definition at line 65 of file driver_syn6658_basic.h.
| #define SYN6658_BASIC_DEFAULT_SYNTHESIS_VOLUME 10 |
synthesis volume 10
Definition at line 64 of file driver_syn6658_basic.h.
| #define SYN6658_BASIC_DEFAULT_TEXT_TYPE SYN6658_TYPE_GB2312 |
syn6658 basic example default definition
gb2312 type
Definition at line 63 of file driver_syn6658_basic.h.
| #define SYN6658_BASIC_SEND_CONFIG 0 |
syn6658 basic send command configure
don't send
Definition at line 57 of file driver_syn6658_basic.h.
| uint8_t syn6658_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 200 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_init | ( | syn6658_interface_t | interface | ) |
basic example init
| [in] | interface | chip interface |
Definition at line 49 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_pause | ( | void | ) |
basic example pause
Definition at line 236 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_play_text | ( | uint8_t | times, |
| syn6658_type_t | type ) |
basic example play text
| [in] | times | play times |
| [in] | type | encode type |
Definition at line 331 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_resume | ( | void | ) |
basic example resume
Definition at line 254 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_save_text | ( | uint8_t | offset, |
| char * | text ) |
basic example save text
| [in] | offset | buffer offset |
| [in] | *text | pointer to a text buffer |
Definition at line 311 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_standby | ( | void | ) |
basic example standby
Definition at line 272 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_stop | ( | void | ) |
basic example stop
Definition at line 218 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_sync | ( | void | ) |
basic example sync
Definition at line 174 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_synthesis | ( | const char *const | fmt, |
| ... ) |
basic example synthesis
| [in] | fmt | format data |
Definition at line 140 of file driver_syn6658_basic.c.
| uint8_t syn6658_basic_wake_up | ( | void | ) |
basic example wake up
Definition at line 290 of file driver_syn6658_basic.c.