Functions | |
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... | |
void | COMPASSACCELERO_IO_Init (void) |
Configures COMPASS / ACCELERO I2C interface. More... | |
void | COMPASSACCELERO_IO_ITConfig (void) |
Configures COMPASS / ACCELERO click IT. More... | |
void | GYRO_IO_Init (void) |
Configures the GYRO SPI interface. More... | |
static void | I2Cx_Error (void) |
I2Cx error treatment function. More... | |
static void | I2Cx_Init (void) |
I2Cx Bus initialization. More... | |
static void | SPIx_Error (void) |
SPIx error treatment function. More... | |
static void | SPIx_Init (void) |
SPIx Bus initialization. More... | |
void AUDIO_IO_DeInit | ( | void | ) |
DeInitializes Audio low level.
Definition at line 635 of file stm32f411e_discovery.c.
void AUDIO_IO_Init | ( | void | ) |
Initializes Audio low level.
Definition at line 603 of file stm32f411e_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 657 of file stm32f411e_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 646 of file stm32f411e_discovery.c.
void COMPASSACCELERO_IO_Init | ( | void | ) |
Configures COMPASS / ACCELERO I2C interface.
Definition at line 667 of file stm32f411e_discovery.c.
void COMPASSACCELERO_IO_ITConfig | ( | void | ) |
Configures COMPASS / ACCELERO click IT.
Definition at line 687 of file stm32f411e_discovery.c.
void GYRO_IO_Init | ( | void | ) |
Configures the GYRO SPI interface.
Definition at line 501 of file stm32f411e_discovery.c.
|
static |
I2Cx error treatment function.
Definition at line 357 of file stm32f411e_discovery.c.
|
static |
I2Cx Bus initialization.
Definition at line 292 of file stm32f411e_discovery.c.
|
static |
SPIx error treatment function.
Definition at line 461 of file stm32f411e_discovery.c.
|
static |
SPIx Bus initialization.
Definition at line 409 of file stm32f411e_discovery.c.