STM32373C_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 LM75. |
Function Documentation
uint32_t BSP_TSENSOR_Init | ( | void | ) |
Initializes peripherals used by the I2C Temperature Sensor driver.
- Return values:
-
TSENSOR status
Definition at line 94 of file stm32373c_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 146 of file stm32373c_eval_tsensor.c.
References tsensor_drv, and TSENSORAddress.
uint16_t BSP_TSENSOR_ReadTemp | ( | void | ) |
Read Temperature register of LM75.
- Return values:
-
STLM75 measured temperature value.
Definition at line 155 of file stm32373c_eval_tsensor.c.
References tsensor_drv, and TSENSORAddress.
Generated on Wed May 31 2017 11:20:45 for STM32373C_EVAL BSP User Manual by
