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

Embed: (wiki syntax)

« Back to documentation index

LPS22HB Imported Functions

LPS22HB Imported Functions
[LPS22HB]

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:
AddrI2C address
RegReg address
Return values:
Datato 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:
AddrI2C address
RegRegister address
BufferPointer to data buffer
LengthLength of the data
Return values:
HALstatus

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:
AddrI2C address
RegReg address
ValueData 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:
AddrI2C address
RegRegister address
BufferPointer to data buffer
LengthLength of the data
Return values:
None

Definition at line 603 of file stm32l475e_iot01.c.