i.MX RT1061 Processor Temperature Monitor
More...
|
|
#define | FSL_TEMPMON_DRIVER_VERSION (MAKE_VERSION(2, 1, 1)) |
| | TEMPMON driver version.
|
| |
i.MX RT1061 Processor Temperature Monitor
◆ _tempmon_alarm_mode
#include <fsl_tempmon.h>
TEMPMON alarm mode.
| Enumerator |
|---|
| kTEMPMON_HighAlarmMode | The high alarm temperature interrupt mode.
|
| kTEMPMON_PanicAlarmMode | The panic alarm temperature interrupt mode.
|
| kTEMPMON_LowAlarmMode | The low alarm temperature interrupt mode.
|
◆ TEMPMON_Deinit()
| void TEMPMON_Deinit |
( |
TEMPMON_Type * | base | ) |
|
#include <fsl_tempmon.h>
Deinitializes the TEMPMON module.
- Parameters
-
◆ TEMPMON_GetCurrentTemperature()
| float TEMPMON_GetCurrentTemperature |
( |
TEMPMON_Type * | base | ) |
|
#include <fsl_tempmon.h>
Get current temperature with the fused temperature calibration data.
- Parameters
-
- Returns
- current temperature with degrees Celsius.
◆ TEMPMON_GetDefaultConfig()
#include <fsl_tempmon.h>
Gets the default configuration structure.
This function initializes the TEMPMON configuration structure to a default value. The default values are: tempmonConfig->frequency = 0x02U; tempmonConfig->highAlarmTemp = 44U; tempmonConfig->panicAlarmTemp = 90U; tempmonConfig->lowAlarmTemp = 39U;
- Parameters
-
| config | Pointer to a configuration structure. |
◆ TEMPMON_Init()
#include <fsl_tempmon.h>
Initializes the TEMPMON module.
- Parameters
-
| base | TEMPMON base pointer |
| config | Pointer to configuration structure. |
◆ TEMPMON_SetTempAlarm()
| void TEMPMON_SetTempAlarm |
( |
TEMPMON_Type * | base, |
|
|
int8_t | tempVal, |
|
|
tempmon_alarm_mode | alarmMode ) |
#include <fsl_tempmon.h>
Set the temperature count (raw sensor output) that will generate an alarm interrupt.
- Parameters
-
| base | TEMPMON base pointer |
| tempVal | The alarm temperature with degrees Celsius |
| alarmMode | The alarm mode. |