Macros | |
| #define | HAL_TSEN_Data(htsen) ((((int32_t)(htsen->Instance->TSEN_RDATA))+3000)*749/10100-277) |
| Temeprature readying convert to Centidegree. More... | |
| #define | HAL_ERROR_TEMPRATURE 1000 /*<! -1000 means ready error*/ |
| #define | HAL_TSEN_MAX_DELAY 20 /*<! Max delay for temperature read, 20ms*/ |
Functions | |
| int | HAL_TSEN_Read (TSEN_HandleTypeDef *htsen) |
| Synchronized Read the current temperature. More... | |
| void | HAL_TSEN_IRQHandler (TSEN_HandleTypeDef *htsen) |
| Interrupt handler for temeprature sensor. More... | |
| HAL_TSEN_StateTypeDef | HAL_TSEN_Read_IT (TSEN_HandleTypeDef *htsen) |
| Async Read the current temperature. More... | |
| #define HAL_TSEN_Data | ( | htsen | ) | ((((int32_t)(htsen->Instance->TSEN_RDATA))+3000)*749/10100-277) |
Temeprature readying convert to Centidegree.
| htsen | pointer to a TSEN_HandleTypeDef structure. |
| void HAL_TSEN_IRQHandler | ( | TSEN_HandleTypeDef * | htsen | ) |
Interrupt handler for temeprature sensor.
| htsen | pointer to a TSEN_HandleTypeDef structure. |
| int HAL_TSEN_Read | ( | TSEN_HandleTypeDef * | htsen | ) |
Synchronized Read the current temperature.
| htsen | pointer to a TSEN_HandleTypeDef structure. |
| Current | temeprature of chipset in Centidegree. -1000 if error. |
| HAL_TSEN_StateTypeDef HAL_TSEN_Read_IT | ( | TSEN_HandleTypeDef * | htsen | ) |
Async Read the current temperature.
| htsen | pointer to a TSEN_HandleTypeDef structure. |
| Current | state of temperature sensor module, temperature data will be read in interrupt |