
Functions | |
| void | ACCELERO_IO_Init (void) |
| Configures the Accelerometer SPI interface. More... | |
| void | ACCELERO_IO_ITConfig (void) |
| Configures the Accelerometer INT2. EXTI0 is already used by user button so INT1 is not configured here. More... | |
| void | AUDIO_IO_DeInit (void) |
| DeInitializes Audio low level. More... | |
| void | AUDIO_IO_Init (void) |
| Initializes Audio low level. More... | |
| uint8_t | AUDIO_IO_Read (uint8_t Addr, uint8_t Reg) |
| Reads a single data. More... | |
| void | AUDIO_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
| Writes a single data. More... | |
| static void | I2Cx_Init (void) |
| Configures I2C interface. More... | |
| static void | I2Cx_MspInit (void) |
| I2C MSP Initialization. More... | |
| static void | SPIx_Error (void) |
| SPIx error treatment function. More... | |
| static void | SPIx_Init (void) |
| SPIx Bus initialization. More... | |
| static void | SPIx_MspInit (void) |
| SPI MSP Init. More... | |
| void ACCELERO_IO_Init | ( | void | ) |
Configures the Accelerometer SPI interface.
Definition at line 508 of file stm32f4_discovery.c.
| void ACCELERO_IO_ITConfig | ( | void | ) |
Configures the Accelerometer INT2. EXTI0 is already used by user button so INT1 is not configured here.
Definition at line 533 of file stm32f4_discovery.c.
| void AUDIO_IO_DeInit | ( | void | ) |
DeInitializes Audio low level.
Definition at line 658 of file stm32f4_discovery.c.
| void AUDIO_IO_Init | ( | void | ) |
Initializes Audio low level.
Definition at line 626 of file stm32f4_discovery.c.
| uint8_t AUDIO_IO_Read | ( | uint8_t | Addr, |
| uint8_t | Reg | ||
| ) |
Reads a single data.
| Addr | I2C address |
| Reg | Reg address |
| Data | to be read |
Definition at line 680 of file stm32f4_discovery.c.
| void AUDIO_IO_Write | ( | uint8_t | Addr, |
| uint8_t | Reg, | ||
| uint8_t | Value | ||
| ) |
Writes a single data.
| Addr | I2C address |
| Reg | Reg address |
| Value | Data to be written |
Definition at line 669 of file stm32f4_discovery.c.
|
static |
Configures I2C interface.
Definition at line 390 of file stm32f4_discovery.c.
|
static |
I2C MSP Initialization.
Definition at line 466 of file stm32f4_discovery.c.
|
static |
SPIx error treatment function.
Definition at line 355 of file stm32f4_discovery.c.
|
static |
SPIx Bus initialization.
Definition at line 309 of file stm32f4_discovery.c.
|
static |
SPI MSP Init.
Definition at line 367 of file stm32f4_discovery.c.