Contains the BSP driver for the B-L475E-IOT01 board.
Dependents: mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more
Functions | |
void | SENSOR_IO_Init (void) |
Initializes Sensors low level. | |
void | SENSOR_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
Writes a single data. | |
uint8_t | SENSOR_IO_Read (uint8_t Addr, uint8_t Reg) |
Reads a single data. | |
uint16_t | SENSOR_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
Reads multiple data with I2C communication channel from TouchScreen. | |
void | SENSOR_IO_WriteMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
Writes multiple data with I2C communication channel from MCU to TouchScreen. |
Function Documentation
void SENSOR_IO_Init | ( | void | ) |
Initializes Sensors low level.
- Return values:
-
None
Definition at line 539 of file stm32l475e_iot01.c.
uint8_t SENSOR_IO_Read | ( | uint8_t | Addr, |
uint8_t | Reg | ||
) |
Reads a single data.
- Parameters:
-
Addr I2C address Reg Reg address
- Return values:
-
Data to be read
Definition at line 571 of file stm32l475e_iot01.c.
uint16_t SENSOR_IO_ReadMultiple | ( | uint8_t | Addr, |
uint8_t | Reg, | ||
uint8_t * | Buffer, | ||
uint16_t | Length | ||
) |
Reads multiple data with I2C communication channel from TouchScreen.
- Parameters:
-
Addr I2C address Reg Register address Buffer Pointer to data buffer Length Length of the data
- Return values:
-
HAL status
Definition at line 589 of file stm32l475e_iot01.c.
void SENSOR_IO_Write | ( | uint8_t | Addr, |
uint8_t | Reg, | ||
uint8_t | Value | ||
) |
Writes a single data.
- Parameters:
-
Addr I2C address Reg Reg address Value Data to be written
- Return values:
-
None
Definition at line 560 of file stm32l475e_iot01.c.
void SENSOR_IO_WriteMultiple | ( | uint8_t | Addr, |
uint8_t | Reg, | ||
uint8_t * | Buffer, | ||
uint16_t | Length | ||
) |
Writes multiple data with I2C communication channel from MCU to TouchScreen.
- Parameters:
-
Addr I2C address Reg Register address Buffer Pointer to data buffer Length Length of the data
- Return values:
-
None
Definition at line 603 of file stm32l475e_iot01.c.
Generated on Tue Jul 12 2022 13:55:43 by 1.7.2