![]() |
LibDriver WT588E02B
|
wt588e02b basic driver modules More...
Data Structures | |
| struct | wt588e02b_handle_s |
| wt588e02b handle structure definition More... | |
| struct | wt588e02b_info_s |
| wt588e02b information structure definition More... | |
Typedefs | |
| typedef struct wt588e02b_handle_s | wt588e02b_handle_t |
| wt588e02b handle structure definition | |
| typedef struct wt588e02b_info_s | wt588e02b_info_t |
| wt588e02b information structure definition | |
Enumerations | |
| enum | wt588e02b_bool_t { WT588E02B_BOOL_FALSE = 0x00 , WT588E02B_BOOL_TRUE = 0x01 } |
| wt588e02b bool enumeration definition More... | |
Functions | |
| uint8_t | wt588e02b_info (wt588e02b_info_t *info) |
| get chip's information | |
| uint8_t | wt588e02b_init (wt588e02b_handle_t *handle) |
| initialize the chip | |
| uint8_t | wt588e02b_deinit (wt588e02b_handle_t *handle) |
| deinit the chip | |
| uint8_t | wt588e02b_check_busy (wt588e02b_handle_t *handle, wt588e02b_bool_t *enable) |
| check chip busy | |
| uint8_t | wt588e02b_play (wt588e02b_handle_t *handle, uint8_t ind) |
| play audio | |
| uint8_t | wt588e02b_stop (wt588e02b_handle_t *handle) |
| stop audio | |
| uint8_t | wt588e02b_set_vol (wt588e02b_handle_t *handle, uint8_t vol) |
| set the volume | |
| uint8_t | wt588e02b_play_loop (wt588e02b_handle_t *handle, uint8_t ind) |
| play loop | |
| uint8_t | wt588e02b_play_loop_advance (wt588e02b_handle_t *handle, uint8_t ind) |
| play loop advance | |
| uint8_t | wt588e02b_play_loop_all (wt588e02b_handle_t *handle) |
| play loop all | |
| uint8_t | wt588e02b_play_list (wt588e02b_handle_t *handle, uint8_t *list, uint8_t len) |
| play list | |
| uint8_t | wt588e02b_update (wt588e02b_handle_t *handle, uint8_t ind, char *path) |
| update audio | |
| uint8_t | wt588e02b_update_all (wt588e02b_handle_t *handle, char *path) |
| update all audio | |
wt588e02b basic driver modules
| typedef struct wt588e02b_handle_s wt588e02b_handle_t |
wt588e02b handle structure definition
| typedef struct wt588e02b_info_s wt588e02b_info_t |
wt588e02b information structure definition
| enum wt588e02b_bool_t |
wt588e02b bool enumeration definition
| Enumerator | |
|---|---|
| WT588E02B_BOOL_FALSE | disable |
| WT588E02B_BOOL_TRUE | enable |
Definition at line 62 of file driver_wt588e02b.h.
| uint8_t wt588e02b_check_busy | ( | wt588e02b_handle_t * | handle, |
| wt588e02b_bool_t * | enable ) |
check chip busy
| [in] | *handle | pointer to a wt588e02b handle structure |
| [out] | *enable | pointer to a bool buffer |
Definition at line 1339 of file driver_wt588e02b.c.
| uint8_t wt588e02b_deinit | ( | wt588e02b_handle_t * | handle | ) |
deinit the chip
| [in] | *handle | pointer to a wt588e02b handle structure |
Definition at line 1541 of file driver_wt588e02b.c.
| uint8_t wt588e02b_info | ( | wt588e02b_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to a wt588e02b info structure |
Definition at line 1721 of file driver_wt588e02b.c.
| uint8_t wt588e02b_init | ( | wt588e02b_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to a wt588e02b handle structure |
Definition at line 1382 of file driver_wt588e02b.c.
| uint8_t wt588e02b_play | ( | wt588e02b_handle_t * | handle, |
| uint8_t | ind ) |
play audio
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | ind | index |
Definition at line 486 of file driver_wt588e02b.c.
| uint8_t wt588e02b_play_list | ( | wt588e02b_handle_t * | handle, |
| uint8_t * | list, | ||
| uint8_t | len ) |
play list
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | *list | pointer to a list buffer |
| [in] | len | length of list |
Definition at line 709 of file driver_wt588e02b.c.
| uint8_t wt588e02b_play_loop | ( | wt588e02b_handle_t * | handle, |
| uint8_t | ind ) |
play loop
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | ind | index |
Definition at line 808 of file driver_wt588e02b.c.
| uint8_t wt588e02b_play_loop_advance | ( | wt588e02b_handle_t * | handle, |
| uint8_t | ind ) |
play loop advance
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | ind | index |
Definition at line 902 of file driver_wt588e02b.c.
| uint8_t wt588e02b_play_loop_all | ( | wt588e02b_handle_t * | handle | ) |
play loop all
| [in] | *handle | pointer to a wt588e02b handle structure |
Definition at line 994 of file driver_wt588e02b.c.
| uint8_t wt588e02b_set_vol | ( | wt588e02b_handle_t * | handle, |
| uint8_t | vol ) |
set the volume
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | vol | volume |
Definition at line 571 of file driver_wt588e02b.c.
| uint8_t wt588e02b_stop | ( | wt588e02b_handle_t * | handle | ) |
stop audio
| [in] | *handle | pointer to a wt588e02b handle structure |
Definition at line 640 of file driver_wt588e02b.c.
| uint8_t wt588e02b_update | ( | wt588e02b_handle_t * | handle, |
| uint8_t | ind, | ||
| char * | path ) |
update audio
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | ind | index |
| [in] | *path | pointer to a path buffer |
Definition at line 1076 of file driver_wt588e02b.c.
| uint8_t wt588e02b_update_all | ( | wt588e02b_handle_t * | handle, |
| char * | path ) |
update all audio
| [in] | *handle | pointer to a wt588e02b handle structure |
| [in] | *path | pointer to a path buffer |
Definition at line 1228 of file driver_wt588e02b.c.