295 memset(s, 0,
sizeof(
char) * 32);
296 strncpy(s,
"[y1]", 32);
driver syn6288e register test header file
uint8_t syn6288e_set_background_volume(syn6288e_handle_t *handle, uint8_t volume)
set the synthesis background volume
syn6288e_baud_rate_t
syn6288e baud rate enumeration definition
uint8_t syn6288e_set_baud_rate(syn6288e_handle_t *handle, syn6288e_baud_rate_t rate)
set the baud rate
uint8_t syn6288e_get_synthesis_speed(syn6288e_handle_t *handle, uint8_t *speed)
get the synthesis speed
uint8_t syn6288e_get_baud_rate(syn6288e_handle_t *handle, syn6288e_baud_rate_t *rate)
get the baud rate
uint8_t syn6288e_get_synthesis_volume(syn6288e_handle_t *handle, uint8_t *volume)
get the chip synthesis volume
uint8_t syn6288e_set_synthesis_speed(syn6288e_handle_t *handle, uint8_t speed)
set the synthesis speed
syn6288e_mode_t
syn6288e mode enumeration definition
uint8_t syn6288e_set_synthesis_volume(syn6288e_handle_t *handle, uint8_t volume)
set the chip synthesis volume
uint8_t syn6288e_get_background_volume(syn6288e_handle_t *handle, uint8_t *volume)
get the chip synthesis background volume
uint8_t syn6288e_get_mode(syn6288e_handle_t *handle, syn6288e_mode_t *mode)
get the chip mode
uint8_t syn6288e_set_mode(syn6288e_handle_t *handle, syn6288e_mode_t mode)
set the chip mode
@ SYN6288E_BAUD_RATE_9600_BPS
@ SYN6288E_MODE_BACKGROUND_15
syn6288e_type_t
syn6288e type enumeration definition
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_info(syn6288e_info_t *info)
get chip's information
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_text_type(syn6288e_handle_t *handle, syn6288e_type_t *type)
get the chip text type
struct syn6288e_info_s syn6288e_info_t
syn6288e information structure definition
uint8_t syn6288e_set_command(syn6288e_handle_t *handle, char *command)
send the command to the chip
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
uint8_t syn6288e_register_test(void)
register test
float supply_voltage_max_v
char manufacturer_name[32]
float supply_voltage_min_v