I 2 S Driver Api - Fujitsu FM3 family User Manual

32-bit microcontroller fm3 family application note simple av system board
Table of Contents

Advertisement

2
7.2.4.7
I
S Driver API
Function
void I2S_Init (void)
Overview
Initializes I
Sets MFS initial settings (CSIO settings) and DMAC initial settings.
Parameter None
Return
None
value
Function
STATUS I2S_Start (uint8 t audio sample rate)
2
Overview
Starts I
S operation.
Sets data for DMAC and activates CSIO.
Be sure to initialize by I2S_Init function before function is invoked.
Parameter Audio sample rate
Return
I2S_RET_OK
value
I2S_RET_ILLEGAL_ERROR
Function
STATUS I2S_Stop (void)
Overview
Completes I
Stops CSIO.
Parameter None
Return
I2S_RET_OK
value
I2S_RET_ILLEGAL_ERROR
Function
uint8_t I2S_Get_Status(void)
Overview
Acquires I
Parameter None
Return
I2S_STATUS_INIT
value
I2S_STATUS_START
I2S_STATUS_STOP
2
S driver.
Sampling rate
AUDIO_SAMPLE_44100 44.1kHz
AUDIO_SAMPLE_48000 48kHz
Successful
2
S operation.
Successful
2
S operating status.
Start (I
63
Not yet initialized, operating or stopped
Not yet initialized or stopped
Initialization status (I
2
S operating) status
2
Stop (I
S cannot be started) status
AN706-00040-2v0-E
2
S can be started)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents