Symbols
loading...
Files
loading...

STM32F401-Discovery library

STM32F401-Discovery is a driver defining the following symbols:

Most used functions

Name
Location
Summary
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 Half Transfer complete event.
Reads a block of data from the COMPASS / ACCELERO.
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.
LINK AUDIO ******************************** Initializes Audio low level.
Reads a block of data from the GYRO.
Writes one byte to the GYRO.
This method returns the STM32F401 DISCO BSP Driver revision
DeInitializes Audio low level.
Switch dynamically (while audio file is played) the output target (speaker or headphone).
LINK OPERATIONS LINK GYROSCOPE **************************** Configures the GYRO SPI interface.
LINK ACCELEROMETER *************************** Configures COMPASS / ACCELERO I2C interface.
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.
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)

Other commonly used symbols

Name
Location
Summary
STM32F401 DISCO BSP Driver version number V2.2.5 [31:24] main version
@file stm32f401_discovery.h @author MCD Application Team This file contains definitions for STM32F401-Discovery Kit's Leds and push-button hardware resources. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file stm32f401_discovery_audio.h @author MCD Application Team This file contains the common defines and functions prototypes for stm32f401_discovery_audio.c driver. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file stm32f401_discovery_accelerometer.h @author MCD Application Team This file contains all the functions prototypes for the stm32f401_discovery_accelerometer.c firmware driver. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file stm32f401_discovery_gyroscope.h @author MCD Application Team This file contains definitions for stm32f401_discovery_gyroscope.c firmware driver. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.