STM32091C_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 95 of file stm32091c_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 147 of file stm32091c_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 156 of file stm32091c_eval_tsensor.c.
References tsensor_drv, and TSENSORAddress.
Generated on Wed Jul 5 2017 09:21:50 for STM32091C_EVAL BSP User Manual by
