![]() |
LibDriver SYN6288
2.0.0
SYN6288 full-featured driver
|
syn6288 advance driver modules More...
Enumerations | |
enum | syn6288_mode_t { SYN6288_MODE_COMMON = (0x00) , SYN6288_MODE_BACKGROUND_1 = (1 << 3) , SYN6288_MODE_BACKGROUND_2 = (2 << 3) , SYN6288_MODE_BACKGROUND_3 = (3 << 3) , SYN6288_MODE_BACKGROUND_4 = (4 << 3) , SYN6288_MODE_BACKGROUND_5 = (5 << 3) , SYN6288_MODE_BACKGROUND_6 = (6 << 3) , SYN6288_MODE_BACKGROUND_7 = (7 << 3) , SYN6288_MODE_BACKGROUND_8 = (8 << 3) , SYN6288_MODE_BACKGROUND_9 = (9 << 3) , SYN6288_MODE_BACKGROUND_10 = (10 << 3) , SYN6288_MODE_BACKGROUND_11 = (11 << 3) , SYN6288_MODE_BACKGROUND_12 = (12 << 3) , SYN6288_MODE_BACKGROUND_13 = (13 << 3) , SYN6288_MODE_BACKGROUND_14 = (14 << 3) , SYN6288_MODE_BACKGROUND_15 = (15 << 3) } |
syn6288 mode enumeration definition More... | |
enum | syn6288_baud_rate_t { SYN6288_BAUD_RATE_9600_BPS = 0x00 , SYN6288_BAUD_RATE_19200_BPS = 0x01 , SYN6288_BAUD_RATE_38400_BPS = 0x02 } |
syn6288 baud rate enumeration definition More... | |
Functions | |
uint8_t | syn6288_set_baud_rate (syn6288_handle_t *handle, syn6288_baud_rate_t rate) |
set the baud rate More... | |
uint8_t | syn6288_get_baud_rate (syn6288_handle_t *handle, syn6288_baud_rate_t *rate) |
get the baud rate More... | |
uint8_t | syn6288_set_mode (syn6288_handle_t *handle, syn6288_mode_t mode) |
set the chip mode More... | |
uint8_t | syn6288_get_mode (syn6288_handle_t *handle, syn6288_mode_t *mode) |
get the chip mode More... | |
uint8_t | syn6288_set_synthesis_volume (syn6288_handle_t *handle, uint8_t volume) |
set the chip synthesis volume More... | |
uint8_t | syn6288_get_synthesis_volume (syn6288_handle_t *handle, uint8_t *volume) |
get the chip synthesis volume More... | |
uint8_t | syn6288_set_background_volume (syn6288_handle_t *handle, uint8_t volume) |
set the synthesis background volume More... | |
uint8_t | syn6288_get_background_volume (syn6288_handle_t *handle, uint8_t *volume) |
get the chip synthesis background volume More... | |
uint8_t | syn6288_set_synthesis_speed (syn6288_handle_t *handle, uint8_t speed) |
set the synthesis speed More... | |
uint8_t | syn6288_get_synthesis_speed (syn6288_handle_t *handle, uint8_t *speed) |
get the synthesis speed More... | |
syn6288 advance driver modules
enum syn6288_baud_rate_t |
syn6288 baud rate enumeration definition
Enumerator | |
---|---|
SYN6288_BAUD_RATE_9600_BPS | 9600 bps |
SYN6288_BAUD_RATE_19200_BPS | 19200 bps |
SYN6288_BAUD_RATE_38400_BPS | 38400 bps |
Definition at line 185 of file driver_syn6288.h.
enum syn6288_mode_t |
syn6288 mode enumeration definition
Definition at line 161 of file driver_syn6288.h.
uint8_t syn6288_get_background_volume | ( | syn6288_handle_t * | handle, |
uint8_t * | volume | ||
) |
get the chip synthesis background volume
[in] | *handle | pointer to a syn6288 handle structure |
[out] | *volume | pointer to a synthesis background volume buffer |
Definition at line 1139 of file driver_syn6288.c.
uint8_t syn6288_get_baud_rate | ( | syn6288_handle_t * | handle, |
syn6288_baud_rate_t * | rate | ||
) |
get the baud rate
[in] | *handle | pointer to a syn6288 handle structure |
[out] | *rate | pointer to a baud rate buffer |
Definition at line 608 of file driver_syn6288.c.
uint8_t syn6288_get_mode | ( | syn6288_handle_t * | handle, |
syn6288_mode_t * | mode | ||
) |
get the chip mode
[in] | *handle | pointer to a syn6288 handle structure |
[out] | *mode | pointer to a chip mode buffer |
Definition at line 660 of file driver_syn6288.c.
uint8_t syn6288_get_synthesis_speed | ( | syn6288_handle_t * | handle, |
uint8_t * | speed | ||
) |
get the synthesis speed
[in] | *handle | pointer to a syn6288 handle structure |
[out] | *speed | pointer to a synthesis speed |
Definition at line 1194 of file driver_syn6288.c.
uint8_t syn6288_get_synthesis_volume | ( | syn6288_handle_t * | handle, |
uint8_t * | volume | ||
) |
get the chip synthesis volume
[in] | *handle | pointer to a syn6288 handle structure |
[out] | *volume | pointer to a synthesis volume buffer |
Definition at line 1084 of file driver_syn6288.c.
uint8_t syn6288_set_background_volume | ( | syn6288_handle_t * | handle, |
uint8_t | volume | ||
) |
set the synthesis background volume
[in] | *handle | pointer to a syn6288 handle structure |
[in] | volume | background volume |
Definition at line 1111 of file driver_syn6288.c.
uint8_t syn6288_set_baud_rate | ( | syn6288_handle_t * | handle, |
syn6288_baud_rate_t | rate | ||
) |
set the baud rate
[in] | *handle | pointer to a syn6288 handle structure |
[in] | rate | baud rate |
Definition at line 509 of file driver_syn6288.c.
uint8_t syn6288_set_mode | ( | syn6288_handle_t * | handle, |
syn6288_mode_t | mode | ||
) |
set the chip mode
[in] | *handle | pointer to a syn6288 handle structure |
[in] | mode | chip mode |
Definition at line 634 of file driver_syn6288.c.
uint8_t syn6288_set_synthesis_speed | ( | syn6288_handle_t * | handle, |
uint8_t | speed | ||
) |
set the synthesis speed
[in] | *handle | pointer to a syn6288 handle structure |
[in] | speed | synthesis speed |
Definition at line 1166 of file driver_syn6288.c.
uint8_t syn6288_set_synthesis_volume | ( | syn6288_handle_t * | handle, |
uint8_t | volume | ||
) |
set the chip synthesis volume
[in] | *handle | pointer to a syn6288 handle structure |
[in] | volume | synthesis volume |
Definition at line 1056 of file driver_syn6288.c.