70#if (SYN6288E_BASIC_SEND_CONFIG == 1)
driver syn6288e basic header file
uint8_t syn6288e_set_background_volume(syn6288e_handle_t *handle, uint8_t volume)
set the synthesis background volume
uint8_t syn6288e_set_baud_rate(syn6288e_handle_t *handle, syn6288e_baud_rate_t rate)
set the baud rate
uint8_t syn6288e_set_synthesis_speed(syn6288e_handle_t *handle, uint8_t speed)
set the synthesis speed
uint8_t syn6288e_set_synthesis_volume(syn6288e_handle_t *handle, uint8_t volume)
set the chip synthesis volume
uint8_t syn6288e_set_mode(syn6288e_handle_t *handle, syn6288e_mode_t mode)
set the chip mode
uint8_t syn6288e_synthesis_text(syn6288e_handle_t *handle, char *text)
synthesis the test
uint8_t syn6288e_init(syn6288e_handle_t *handle)
initialize the chip
uint8_t syn6288e_deinit(syn6288e_handle_t *handle)
close the chip
uint8_t syn6288e_set_text_type(syn6288e_handle_t *handle, syn6288e_type_t type)
set the chip text type
struct syn6288e_handle_s syn6288e_handle_t
syn6288e handle structure definition
uint8_t syn6288e_get_status(syn6288e_handle_t *handle, syn6288e_status_t *status)
get the current status
syn6288e_status_t
syn6288e status enumeration definition
uint8_t syn6288e_basic_init(void)
basic example init
#define SYN6288E_BASIC_DEFAULT_BACKGROUND_VOLUME
#define SYN6288E_BASIC_DEFAULT_TEXT_TYPE
#define SYN6288E_BASIC_DEFAULT_BAUD_RATE
syn6288e basic example default definition
#define SYN6288E_BASIC_DEFAULT_SYNTHESIS_VOLUME
uint8_t syn6288e_basic_sync(void)
basic example sync
uint8_t syn6288e_basic_synthesis(char *text)
basic example synthesis
#define SYN6288E_BASIC_DEFAULT_SYNTHESIS_SPEED
uint8_t syn6288e_basic_deinit(void)
basic example deinit
#define SYN6288E_BASIC_DEFAULT_MODE
uint8_t syn6288e_interface_uart_init(void)
interface uart init
uint8_t syn6288e_interface_uart_flush(void)
interface uart flush
void syn6288e_interface_delay_ms(uint32_t ms)
interface delay ms
uint16_t syn6288e_interface_uart_read(uint8_t *buf, uint16_t len)
interface uart read
void syn6288e_interface_debug_print(const char *const fmt,...)
interface print format data
uint8_t syn6288e_interface_uart_write(uint8_t *buf, uint16_t len)
interface uart write
uint8_t syn6288e_interface_uart_deinit(void)
interface uart deinit
#define DRIVER_SYN6288E_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function
#define DRIVER_SYN6288E_LINK_UART_INIT(HANDLE, FUC)
link uart_init function
#define DRIVER_SYN6288E_LINK_UART_FLUSH(HANDLE, FUC)
link uart_flush function
#define DRIVER_SYN6288E_LINK_UART_READ(HANDLE, FUC)
link uart_read function
#define DRIVER_SYN6288E_LINK_UART_DEINIT(HANDLE, FUC)
link uart_deinit function
#define DRIVER_SYN6288E_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
#define DRIVER_SYN6288E_LINK_UART_WRITE(HANDLE, FUC)
link uart_write function
#define DRIVER_SYN6288E_LINK_INIT(HANDLE, STRUCTURE)
initialize syn6288e_handle_t structure