RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures
fsl_tempmon.h File Reference
#include "fsl_common.h"

Go to the source code of this file.

Data Structures

struct  _tempmon_config
 TEMPMON temperature structure. More...
 

Driver version

#define FSL_TEMPMON_DRIVER_VERSION   (MAKE_VERSION(2, 1, 1))
 TEMPMON driver version.
 
enum  _tempmon_alarm_mode { kTEMPMON_HighAlarmMode = 0U , kTEMPMON_PanicAlarmMode = 1U , kTEMPMON_LowAlarmMode = 2U }
 TEMPMON alarm mode. More...
 
typedef struct _tempmon_config tempmon_config_t
 TEMPMON temperature structure.
 
typedef enum _tempmon_alarm_mode tempmon_alarm_mode
 TEMPMON alarm mode.
 
void TEMPMON_Init (TEMPMON_Type *base, const tempmon_config_t *config)
 Initializes the TEMPMON module.
 
void TEMPMON_Deinit (TEMPMON_Type *base)
 Deinitializes the TEMPMON module.
 
void TEMPMON_GetDefaultConfig (tempmon_config_t *config)
 Gets the default configuration structure.
 
float TEMPMON_GetCurrentTemperature (TEMPMON_Type *base)
 Get current temperature with the fused temperature calibration data.
 
void TEMPMON_SetTempAlarm (TEMPMON_Type *base, int8_t tempVal, tempmon_alarm_mode alarmMode)
 Set the temperature count (raw sensor output) that will generate an alarm interrupt.