STM32303E_EVAL BSP User Manual
|
Functions | |
uint32_t | BSP_TSENSOR_Init (void) |
Initializes peripherals used by the I2C Temperature Sensor driver. | |
uint8_t | BSP_TSENSOR_ReadStatus (void) |
Returns the Temperature Sensor status. | |
uint16_t | BSP_TSENSOR_ReadTemp (void) |
Read Temperature register of TS751. |
Function Documentation
uint32_t BSP_TSENSOR_Init | ( | void | ) |
Initializes peripherals used by the I2C Temperature Sensor driver.
- Return values:
-
TSENSOR status
Definition at line 91 of file stm32303e_eval_tsensor.c.
References tsensor_drv, TSENSOR_ERROR, TSENSOR_I2C_ADDRESS, TSENSOR_MAX_TRIALS, and TSENSOR_OK.
uint8_t BSP_TSENSOR_ReadStatus | ( | void | ) |
Returns the Temperature Sensor status.
- Return values:
-
The Temperature Sensor status.
Definition at line 128 of file stm32303e_eval_tsensor.c.
References tsensor_drv, and TSENSOR_I2C_ADDRESS.
uint16_t BSP_TSENSOR_ReadTemp | ( | void | ) |
Read Temperature register of TS751.
- Return values:
-
STTS751 measured temperature value.
Definition at line 137 of file stm32303e_eval_tsensor.c.
References tsensor_drv, and TSENSOR_I2C_ADDRESS.
Generated on Wed May 31 2017 11:17:17 for STM32303E_EVAL BSP User Manual by 1.7.6.1