|  | LibDriver SYN6288
    | 
syn6288 base driver modules More...
| Data Structures | |
| struct | syn6288_handle_s | 
| syn6288 handle structure definition  More... | |
| struct | syn6288_info_s | 
| syn6288 information structure definition  More... | |
| Typedefs | |
| typedef struct syn6288_handle_s | syn6288_handle_t | 
| syn6288 handle structure definition | |
| typedef struct syn6288_info_s | syn6288_info_t | 
| syn6288 information structure definition | |
| Functions | |
| uint8_t | syn6288_info (syn6288_info_t *info) | 
| get chip's information | |
| uint8_t | syn6288_init (syn6288_handle_t *handle) | 
| initialize the chip | |
| uint8_t | syn6288_deinit (syn6288_handle_t *handle) | 
| close the chip | |
| uint8_t | syn6288_synthesis_text (syn6288_handle_t *handle, char *text) | 
| synthesis the test | |
| uint8_t | syn6288_synthesis_sound (syn6288_handle_t *handle, syn6288_sound_t sound) | 
| synthesis the sound | |
| uint8_t | syn6288_synthesis_message (syn6288_handle_t *handle, syn6288_message_t message) | 
| synthesis the message | |
| uint8_t | syn6288_synthesis_ring (syn6288_handle_t *handle, syn6288_ring_t ring) | 
| synthesis the ring | |
| uint8_t | syn6288_get_status (syn6288_handle_t *handle, syn6288_status_t *status) | 
| get the current status | |
| uint8_t | syn6288_stop (syn6288_handle_t *handle) | 
| stop the chip | |
| uint8_t | syn6288_pause (syn6288_handle_t *handle) | 
| pause the chip | |
| uint8_t | syn6288_resume (syn6288_handle_t *handle) | 
| resume the chip | |
| uint8_t | syn6288_power_down (syn6288_handle_t *handle) | 
| power down the chip | |
| uint8_t | syn6288_set_text_type (syn6288_handle_t *handle, syn6288_type_t type) | 
| set the chip text type | |
| uint8_t | syn6288_get_text_type (syn6288_handle_t *handle, syn6288_type_t *type) | 
| get the chip text type | |
syn6288 base driver modules
| typedef struct syn6288_handle_s syn6288_handle_t | 
syn6288 handle structure definition
| typedef struct syn6288_info_s syn6288_info_t | 
syn6288 information structure definition
| enum syn6288_message_t | 
syn6288 message enumeration definition
Definition at line 95 of file driver_syn6288.h.
| enum syn6288_ring_t | 
syn6288 ring enumeration definition
Definition at line 110 of file driver_syn6288.h.
| enum syn6288_sound_t | 
syn6288 sound enumeration definition
Definition at line 63 of file driver_syn6288.h.
| enum syn6288_status_t | 
syn6288 status enumeration definition
| Enumerator | |
|---|---|
| SYN6288_STATUS_OK | ok status | 
| SYN6288_STATUS_BUSY | busy status | 
Definition at line 143 of file driver_syn6288.h.
| enum syn6288_type_t | 
syn6288 type enumeration definition
| Enumerator | |
|---|---|
| SYN6288_TYPE_GB2312 | gb2312 type | 
| SYN6288_TYPE_GBK | gbk type | 
| SYN6288_TYPE_BIG5 | big5 type | 
| SYN6288_TYPE_UNICODE | unicode type | 
Definition at line 132 of file driver_syn6288.h.
| uint8_t syn6288_deinit | ( | syn6288_handle_t * | handle | ) | 
close the chip
| [in] | *handle | pointer to a syn6288 handle structure | 
Definition at line 130 of file driver_syn6288.c.
| uint8_t syn6288_get_status | ( | syn6288_handle_t * | handle, | 
| syn6288_status_t * | status ) | 
get the current status
| [in] | *handle | pointer to a syn6288 handle structure | 
| [out] | *status | pointer to a status buffer | 
Definition at line 163 of file driver_syn6288.c.
| uint8_t syn6288_get_text_type | ( | syn6288_handle_t * | handle, | 
| syn6288_type_t * | type ) | 
get the chip text type
| [in] | *handle | pointer to a syn6288 handle structure | 
| [out] | *type | pointer to a chip text type | 
Definition at line 712 of file driver_syn6288.c.
| uint8_t syn6288_info | ( | syn6288_info_t * | info | ) | 
get chip's information
| [out] | *info | pointer to a syn6288 info structure | 
Definition at line 1298 of file driver_syn6288.c.
| uint8_t syn6288_init | ( | syn6288_handle_t * | handle | ) | 
initialize the chip
| [in] | *handle | pointer to a syn6288 handle structure | 
Definition at line 62 of file driver_syn6288.c.
| uint8_t syn6288_pause | ( | syn6288_handle_t * | handle | ) | 
pause the chip
| [in] | *handle | pointer to a syn6288 handle structure | 
Definition at line 313 of file driver_syn6288.c.
| uint8_t syn6288_power_down | ( | syn6288_handle_t * | handle | ) | 
power down the chip
| [in] | *handle | pointer to a syn6288 handle structure | 
Definition at line 443 of file driver_syn6288.c.
| uint8_t syn6288_resume | ( | syn6288_handle_t * | handle | ) | 
resume the chip
| [in] | *handle | pointer to a syn6288 handle structure | 
Definition at line 378 of file driver_syn6288.c.
| uint8_t syn6288_set_text_type | ( | syn6288_handle_t * | handle, | 
| syn6288_type_t | type ) | 
set the chip text type
| [in] | *handle | pointer to a syn6288 handle structure | 
| [in] | type | chip text type | 
Definition at line 686 of file driver_syn6288.c.
| uint8_t syn6288_stop | ( | syn6288_handle_t * | handle | ) | 
stop the chip
| [in] | *handle | pointer to a syn6288 handle structure | 
Definition at line 248 of file driver_syn6288.c.
| uint8_t syn6288_synthesis_message | ( | syn6288_handle_t * | handle, | 
| syn6288_message_t | message ) | 
synthesis the message
| [in] | *handle | pointer to a syn6288 handle structure | 
| [in] | message | message type | 
Definition at line 819 of file driver_syn6288.c.
| uint8_t syn6288_synthesis_ring | ( | syn6288_handle_t * | handle, | 
| syn6288_ring_t | ring ) | 
synthesis the ring
| [in] | *handle | pointer to a syn6288 handle structure | 
| [in] | ring | ring type | 
Definition at line 897 of file driver_syn6288.c.
| uint8_t syn6288_synthesis_sound | ( | syn6288_handle_t * | handle, | 
| syn6288_sound_t | sound ) | 
synthesis the sound
| [in] | *handle | pointer to a syn6288 handle structure | 
| [in] | sound | sound type | 
Definition at line 739 of file driver_syn6288.c.
| uint8_t syn6288_synthesis_text | ( | syn6288_handle_t * | handle, | 
| char * | text ) | 
synthesis the test
| [in] | *handle | pointer to a syn6288 handle structure | 
| [in] | *text | pointer to a test buffer | 
Definition at line 976 of file driver_syn6288.c.