![]() |
LibDriver SYN6288E
|
syn6288e base driver modules More...
Data Structures | |
| struct | syn6288e_handle_s |
| syn6288e handle structure definition More... | |
| struct | syn6288e_info_s |
| syn6288e information structure definition More... | |
Typedefs | |
| typedef struct syn6288e_handle_s | syn6288e_handle_t |
| syn6288e handle structure definition | |
| typedef struct syn6288e_info_s | syn6288e_info_t |
| syn6288e information structure definition | |
Functions | |
| uint8_t | syn6288e_info (syn6288e_info_t *info) |
| get chip's information | |
| 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_synthesis_text (syn6288e_handle_t *handle, char *text) |
| synthesis the test | |
| uint8_t | syn6288e_synthesis_sound (syn6288e_handle_t *handle, syn6288e_sound_t sound) |
| synthesis the sound | |
| uint8_t | syn6288e_synthesis_message (syn6288e_handle_t *handle, syn6288e_message_t message) |
| synthesis the message | |
| uint8_t | syn6288e_synthesis_ring (syn6288e_handle_t *handle, syn6288e_ring_t ring) |
| synthesis the ring | |
| uint8_t | syn6288e_get_status (syn6288e_handle_t *handle, syn6288e_status_t *status) |
| get the current status | |
| uint8_t | syn6288e_stop (syn6288e_handle_t *handle) |
| stop the chip | |
| uint8_t | syn6288e_pause (syn6288e_handle_t *handle) |
| pause the chip | |
| uint8_t | syn6288e_resume (syn6288e_handle_t *handle) |
| resume the chip | |
| uint8_t | syn6288e_power_down (syn6288e_handle_t *handle) |
| power down the chip | |
| uint8_t | syn6288e_set_text_type (syn6288e_handle_t *handle, syn6288e_type_t type) |
| set the chip text type | |
| uint8_t | syn6288e_get_text_type (syn6288e_handle_t *handle, syn6288e_type_t *type) |
| get the chip text type | |
syn6288e base driver modules
| typedef struct syn6288e_handle_s syn6288e_handle_t |
syn6288e handle structure definition
| typedef struct syn6288e_info_s syn6288e_info_t |
syn6288e information structure definition
| enum syn6288e_message_t |
syn6288e message enumeration definition
Definition at line 94 of file driver_syn6288e.h.
| enum syn6288e_ring_t |
syn6288e ring enumeration definition
Definition at line 109 of file driver_syn6288e.h.
| enum syn6288e_sound_t |
syn6288e sound enumeration definition
Definition at line 62 of file driver_syn6288e.h.
| enum syn6288e_status_t |
syn6288e status enumeration definition
| Enumerator | |
|---|---|
| SYN6288E_STATUS_OK | ok status |
| SYN6288E_STATUS_BUSY | busy status |
Definition at line 142 of file driver_syn6288e.h.
| enum syn6288e_type_t |
syn6288e type enumeration definition
| Enumerator | |
|---|---|
| SYN6288E_TYPE_GB2312 | gb2312 type |
| SYN6288E_TYPE_GBK | gbk type |
| SYN6288E_TYPE_BIG5 | big5 type |
| SYN6288E_TYPE_UNICODE | unicode type |
Definition at line 131 of file driver_syn6288e.h.
| uint8_t syn6288e_deinit | ( | syn6288e_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to a syn6288e handle structure |
Definition at line 129 of file driver_syn6288e.c.
| uint8_t syn6288e_get_status | ( | syn6288e_handle_t * | handle, |
| syn6288e_status_t * | status ) |
get the current status
| [in] | *handle | pointer to a syn6288e handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 162 of file driver_syn6288e.c.
| uint8_t syn6288e_get_text_type | ( | syn6288e_handle_t * | handle, |
| syn6288e_type_t * | type ) |
get the chip text type
| [in] | *handle | pointer to a syn6288e handle structure |
| [out] | *type | pointer to a chip text type |
Definition at line 711 of file driver_syn6288e.c.
| uint8_t syn6288e_info | ( | syn6288e_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to a syn6288e info structure |
Definition at line 1297 of file driver_syn6288e.c.
| uint8_t syn6288e_init | ( | syn6288e_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to a syn6288e handle structure |
Definition at line 61 of file driver_syn6288e.c.
| uint8_t syn6288e_pause | ( | syn6288e_handle_t * | handle | ) |
pause the chip
| [in] | *handle | pointer to a syn6288e handle structure |
Definition at line 312 of file driver_syn6288e.c.
| uint8_t syn6288e_power_down | ( | syn6288e_handle_t * | handle | ) |
power down the chip
| [in] | *handle | pointer to a syn6288e handle structure |
Definition at line 442 of file driver_syn6288e.c.
| uint8_t syn6288e_resume | ( | syn6288e_handle_t * | handle | ) |
resume the chip
| [in] | *handle | pointer to a syn6288e handle structure |
Definition at line 377 of file driver_syn6288e.c.
| uint8_t syn6288e_set_text_type | ( | syn6288e_handle_t * | handle, |
| syn6288e_type_t | type ) |
set the chip text type
| [in] | *handle | pointer to a syn6288e handle structure |
| [in] | type | chip text type |
Definition at line 685 of file driver_syn6288e.c.
| uint8_t syn6288e_stop | ( | syn6288e_handle_t * | handle | ) |
stop the chip
| [in] | *handle | pointer to a syn6288e handle structure |
Definition at line 247 of file driver_syn6288e.c.
| uint8_t syn6288e_synthesis_message | ( | syn6288e_handle_t * | handle, |
| syn6288e_message_t | message ) |
synthesis the message
| [in] | *handle | pointer to a syn6288e handle structure |
| [in] | message | message type |
Definition at line 818 of file driver_syn6288e.c.
| uint8_t syn6288e_synthesis_ring | ( | syn6288e_handle_t * | handle, |
| syn6288e_ring_t | ring ) |
synthesis the ring
| [in] | *handle | pointer to a syn6288e handle structure |
| [in] | ring | ring type |
Definition at line 896 of file driver_syn6288e.c.
| uint8_t syn6288e_synthesis_sound | ( | syn6288e_handle_t * | handle, |
| syn6288e_sound_t | sound ) |
synthesis the sound
| [in] | *handle | pointer to a syn6288e handle structure |
| [in] | sound | sound type |
Definition at line 738 of file driver_syn6288e.c.
| uint8_t syn6288e_synthesis_text | ( | syn6288e_handle_t * | handle, |
| char * | text ) |
synthesis the test
| [in] | *handle | pointer to a syn6288e handle structure |
| [in] | *text | pointer to a test buffer |
Definition at line 975 of file driver_syn6288e.c.