STM3210E_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 STLM75. |
Function Documentation
uint32_t BSP_TSENSOR_Init | ( | void | ) |
Initializes peripherals used by the I2C Temperature Sensor driver.
- Return values:
-
TSENSOR status
Definition at line 99 of file stm3210e_eval_tsensor.c.
References tsensor_drv, TSENSOR_ERROR, TSENSOR_I2C_ADDRESS_A01, TSENSOR_I2C_ADDRESS_A02, TSENSOR_MAX_TRIALS, TSENSOR_OK, and TSENSORAddress.
uint8_t BSP_TSENSOR_ReadStatus | ( | void | ) |
Returns the Temperature Sensor status.
- Return values:
-
The Temperature Sensor status.
Definition at line 151 of file stm3210e_eval_tsensor.c.
References tsensor_drv, and TSENSORAddress.
uint16_t BSP_TSENSOR_ReadTemp | ( | void | ) |
Read Temperature register of STLM75.
- Return values:
-
STLM75 measured temperature value.
Definition at line 160 of file stm3210e_eval_tsensor.c.
References tsensor_drv, and TSENSORAddress.
Generated on Fri Feb 24 2017 17:15:12 for STM3210E_EVAL BSP User Manual by 1.7.6.1