Toggles the selected LED.
Returns the selected Button state.
Configures Button GPIO and EXTI Line.
Stops audio playing and Power down the Audio Codec.
Configures the audio peripherals.
Starts playing audio stream from a data buffer for a determined size.
Controls the current audio volume level.
Pauses the audio file stream. In case of using DMA, the DMA Pause feature is used. WARNING: When calling BSP_AUDIO_OUT_Pause() function for pause, only the BSP_AUDIO_OUT_Resume() function should be called for resume (use of BSP_AUDIO_OUT_Play() function for resume could lead to unexpected behavior).
Resumes the audio file streaming. WARNING: When calling BSP_AUDIO_OUT_Pause() function for pause, only BSP_AUDIO_OUT_Resume() function should be called for resume (use of BSP_AUDIO_OUT_Play() function for resume could lead to unexpected behavior).
Manages the DMA full Transfer complete event.
Sends n-Bytes on the I2S interface.
Manages the DMA Half Transfer complete event.
Manages the DMA FIFO error event.
Reads a block of data from the COMPASS / ACCELERO.
User callback when record buffer is filled.
Manages the DMA Half Transfer complete event.
Writes one byte to the COMPASS / ACCELERO.
Enables or disables the MUTE mode by software
Converts audio format from PDM to PCM.
Update the audio frequency.
Initializes wave recording.
LINK AUDIO ******************************** Initializes Audio low level.
Audio IN Error callback function.
Resumes the audio file stream.
Reads a block of data from the GYRO.
Writes one byte to the GYRO.
De-Initializes BSP_AUDIO_OUT MSP.
Controls the audio in volume level.
This method returns the STM32F401 DISCO BSP Driver revision
Pauses the audio file stream.
DeInitializes Audio low level.
DeInitializes BSP_AUDIO_IN MSP.
Switch dynamically (while audio file is played) the output target (speaker or headphone).
Set Accelerometer Initialization.
Configure Accelerometer click IT.
Get XYZ axes acceleration.
LINK OPERATIONS LINK GYROSCOPE **************************** Configures the GYRO SPI interface.
LINK ACCELEROMETER *************************** Configures COMPASS / ACCELERO I2C interface.
Set Gyroscope Initialization.
Get XYZ angular acceleration.
Configures COMPASS / ACCELERO click IT.
Reboot memory content of Gyroscope.
Sends a Byte through the SPI interface and return the Byte received from the SPI bus.
Reboot memory content of Accelerometer.
Read ID of Gyroscope component.
Configures INT1 interrupt.
Enables INT1 or INT2 interrupt.
Disables INT1 or INT2 interrupt.
BUS OPERATIONS I2C Routines ******************************** I2Cx Bus initialization.
I2Cx error treatment function.
Writes a value in a register of the device through BUS.
Reads a register of the device through BUS.
SPI Routines********************************* SPIx Bus initialization.
Static Functions Initializes the Audio Codec audio interface (I2S)
SPIx error treatment function.
Static Functions Initializes the PDM library.
Initializes the Audio Codec audio interface (I2S)