STM32F401-Discovery BSP User Manual
|
Functions | |
static void | I2Cx_Init (void) |
I2Cx Bus initialization. | |
static void | I2Cx_Error (void) |
I2Cx error treatment function. | |
static void | SPIx_Init (void) |
SPIx Bus initialization. | |
static void | SPIx_Error (void) |
SPIx error treatment function. | |
void | GYRO_IO_Init (void) |
Configures the GYRO SPI interface. | |
void | AUDIO_IO_Init (void) |
Initializes Audio low level. | |
void | AUDIO_IO_DeInit (void) |
DeInitializes Audio low level. | |
void | COMPASSACCELERO_IO_Init (void) |
Configures COMPASS / ACCELERO I2C interface. | |
void | COMPASSACCELERO_IO_ITConfig (void) |
Configures COMPASS / ACCELERO click IT. |
Function Documentation
void AUDIO_IO_DeInit | ( | void | ) |
DeInitializes Audio low level.
Definition at line 637 of file stm32f401_discovery.c.
void AUDIO_IO_Init | ( | void | ) |
Initializes Audio low level.
Definition at line 605 of file stm32f401_discovery.c.
References AUDIO_RESET_GPIO, AUDIO_RESET_GPIO_CLK_ENABLE, AUDIO_RESET_PIN, CODEC_AUDIO_POWER_OFF, CODEC_AUDIO_POWER_ON, and I2Cx_Init().
void COMPASSACCELERO_IO_Init | ( | void | ) |
Configures COMPASS / ACCELERO I2C interface.
Definition at line 669 of file stm32f401_discovery.c.
References ACCELERO_DRDY_GPIO_CLK_ENABLE, ACCELERO_DRDY_GPIO_PORT, ACCELERO_DRDY_PIN, and I2Cx_Init().
void COMPASSACCELERO_IO_ITConfig | ( | void | ) |
Configures COMPASS / ACCELERO click IT.
Definition at line 689 of file stm32f401_discovery.c.
References ACCELERO_INT1_EXTI_IRQn, ACCELERO_INT1_PIN, ACCELERO_INT2_PIN, ACCELERO_INT_GPIO_CLK_ENABLE, and ACCELERO_INT_GPIO_PORT.
void GYRO_IO_Init | ( | void | ) |
Configures the GYRO SPI interface.
Definition at line 503 of file stm32f401_discovery.c.
References GYRO_CS_GPIO_CLK_ENABLE, GYRO_CS_GPIO_PORT, GYRO_CS_HIGH, GYRO_CS_PIN, GYRO_INT1_PIN, GYRO_INT2_PIN, GYRO_INT_GPIO_CLK_ENABLE, GYRO_INT_GPIO_PORT, and SPIx_Init().
static void I2Cx_Error | ( | void | ) | [static] |
I2Cx error treatment function.
Definition at line 359 of file stm32f401_discovery.c.
References I2cHandle, and I2Cx_Init().
Referenced by I2Cx_ReadData(), and I2Cx_WriteData().
static void I2Cx_Init | ( | void | ) | [static] |
I2Cx Bus initialization.
Definition at line 294 of file stm32f401_discovery.c.
References DISCOVERY_I2Cx, I2cHandle, I2Cx_MAX_COMMUNICATION_FREQ, and I2Cx_MspInit().
Referenced by AUDIO_IO_Init(), COMPASSACCELERO_IO_Init(), and I2Cx_Error().
static void SPIx_Error | ( | void | ) | [static] |
SPIx error treatment function.
Definition at line 463 of file stm32f401_discovery.c.
References SpiHandle, and SPIx_Init().
Referenced by SPIx_WriteRead().
static void SPIx_Init | ( | void | ) | [static] |
SPIx Bus initialization.
Definition at line 411 of file stm32f401_discovery.c.
References DISCOVERY_SPIx, SpiHandle, and SPIx_MspInit().
Referenced by GYRO_IO_Init(), and SPIx_Error().
Generated on Thu Jan 19 2017 16:53:47 for STM32F401-Discovery BSP User Manual by 1.7.6.1