aggiuna la lettura laser
Dependencies: VL53L0X
Fork of BSP_B-L475E-IOT01 by
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 565 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 597 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 615 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 586 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 629 of file stm32l475e_iot01.c.
Generated on Tue Jul 12 2022 15:06:32 by
1.7.2
