LibDriver WM8978
Loading...
Searching...
No Matches
wm8978 test driver function

wm8978 test driver modules More...

Collaboration diagram for wm8978 test driver function:

Functions

uint8_t wm8978_play_buffer_fill (uint8_t index)
 play buffer fill
uint8_t wm8978_play_test (char *path)
 play test
wav_handle_twm8978_play_get_handle (void)
 play get handle
uint8_t wm8978_record_file_fill (uint8_t index)
 record file fill
uint8_t wm8978_record_test (char *path, uint32_t second)
 record test
wav_handle_twm8978_record_get_handle (void)
 record get handle

Detailed Description

wm8978 test driver modules

Function Documentation

◆ wm8978_play_buffer_fill()

uint8_t wm8978_play_buffer_fill ( uint8_t index)

play buffer fill

Parameters
[in]indexbuffer index
Returns
status code
  • 0 success
  • 1 fill failed
Note
none

Definition at line 1499 of file driver_wm8978_play_test.c.

Here is the call graph for this function:

◆ wm8978_play_get_handle()

wav_handle_t * wm8978_play_get_handle ( void )

play get handle

Returns
pointer to a wav handle
Note
none

Definition at line 1486 of file driver_wm8978_play_test.c.

◆ wm8978_play_test()

uint8_t wm8978_play_test ( char * path)

play test

Parameters
[in]*pathpointer to a path buffer
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 1518 of file driver_wm8978_play_test.c.

Here is the call graph for this function:

◆ wm8978_record_file_fill()

uint8_t wm8978_record_file_fill ( uint8_t index)

record file fill

Parameters
[in]indexbuffer index
Returns
status code
  • 0 success
  • 1 fill failed
Note
none

Definition at line 1499 of file driver_wm8978_record_test.c.

Here is the call graph for this function:

◆ wm8978_record_get_handle()

wav_handle_t * wm8978_record_get_handle ( void )

record get handle

Returns
pointer to a wav handle
Note
none

Definition at line 1486 of file driver_wm8978_record_test.c.

◆ wm8978_record_test()

uint8_t wm8978_record_test ( char * path,
uint32_t second )

record test

Parameters
[in]*pathpointer to a path buffer
[in]secondrecord second
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 1518 of file driver_wm8978_record_test.c.

Here is the call graph for this function: