 |
AM263Px MCU+ SDK
09.02.00
|
|
Go to the documentation of this file.
67 #define SDL_VTM_VD_CONFIG_CTRL_VID_OPP (1U)
68 #define SDL_VTM_VD_CONFIG_CTRL_EVT_SEL (2U)
69 #define SDL_VTM_VD_CONFIG_CTRL_GLB_CFG (4U)
79 #define SDL_VTM_VD_CONFIG_CTRL_SET_CTL (1U)
80 #define SDL_VTM_VD_CONFIG_CTRL_OUTRNG_ALRT (2U)
81 #define SDL_VTM_VD_CONFIG_CTRL_SET_THR (4U)
92 #define SDL_VTM_BGR_OFF 0x1U
93 #define SDL_VTM_BGR_ON 0x0U
95 #define SDL_VTM_AIP_OFF 0x1U
96 #define SDL_VTM_AIP_ON 0x0U
98 #define SDL_VTM_TMPSOFF_OFF 0x1U
99 #define SDL_VTM_TMPSOFF_ON 0x0U
101 #define SDL_VTM_TMPSOFF_OFF 0x1U
102 #define SDL_VTM_TMPSOFF_ON 0x0U
104 #define SDL_VTM_SENSOR_SEL0 (1U << 0U)
105 #define SDL_VTM_SENSOR_SEL1 (1U << 1U)
106 #define SDL_VTM_SENSOR_SEL2 (1U << 2U)
107 #define SDL_VTM_SENSOR_SEL3 (1U << 3U)
109 #define SDL_VTM_TSENSE_EN 0x1U
110 #define SDL_VTM_TSENSE_DIS 0x0U
112 #define SDL_VTM_TSENSE0_LOW_TH_FLAG (1U << 0U)
113 #define SDL_VTM_TSENSE0_HOT_FLAG (1U << 2U)
114 #define SDL_VTM_TSENSE0_COLD_FLAG (1U << 1U)
115 #define SDL_VTM_TSENSE1_LOW_TH_FLAG (1U << 4U)
116 #define SDL_VTM_TSENSE1_HOT_FLAG (1U << 6U)
117 #define SDL_VTM_TSENSE1_COLD_FLAG (1U << 5U)
119 #define SDL_VTM_OVERRIDE_PATTERN 0x7U
121 #define SDL_VTM_MASK_LOW_TH (1U)
122 #define SDL_VTM_MASK_COLD (1U)
123 #define SDL_VTM_MASK_HOT (1U)
126 #define SDL_VTM_FREEZE_FIFO 1U
127 #define SDL_VTM_CLR_FIFO 1U
128 #define SDL_VTM_CLR_ACCU 1U
130 #define SDL_VTM_BUF_NUM0 0U
131 #define SDL_VTM_BUF_NUM1 1U
132 #define SDL_VTM_BUF_NUM2 2U
133 #define SDL_VTM_BUF_NUM3 3U
135 #define SDL_VTM_TSENSE_OFF 0U
136 #define SDL_VTM_TSENSE_ON 1U
138 #define SDL_VTM_MAXDELAY 0x2FU
203 uint32_t *pTsCtrlCfg);
217 int32_t *pMilliDegreeTempVal);
uint8_t s1ColdEvent
Definition: sdl_ip_vtm.h:161
SDL_VTM_InstTs
Definition: sdl_soc_vtm.h:54
uint8_t SDL_VTM_configTsCtrl
This enumerator define for VTM TS configuration valid map.
Definition: sdl_ip_vtm.h:78
int32_t SDL_VTM_tsGetCtrl(SDL_VTM_InstTs instance, uint32_t *pTsCtrlCfg)
Read VTM Temperature Sensor Control.
uint8_t s0LowThresholdEvent
Definition: sdl_ip_vtm.h:169
int32_t SDL_VTM_tsConvTempToAdc(int32_t milliDegreeTempVal, SDL_VTM_adc_code *pAdcCode)
VTM Temperature to ADC code conversion.
uint8_t s1HotEvent
Definition: sdl_ip_vtm.h:159
uint8_t s0HotEvent
Definition: sdl_ip_vtm.h:165
int16_t SDL_VTM_adc_code
This typedef for VTM temperature sensor ADC code This is the data_out value of the temperature sensor...
Definition: sdl_ip_vtm.h:148
uint8_t s0ColdEvent
Definition: sdl_ip_vtm.h:167
uint8_t s1LowThresholdEvent
Definition: sdl_ip_vtm.h:163
int32_t SDL_VTM_tsConvADCToTemp(SDL_VTM_adc_code adcCode, int32_t *pMilliDegreeTempVal)
VTM Temperature ADC code to Temperature conversion.
VTM temperature sensor Stat values.
Definition: sdl_ip_vtm.h:157
SDL_VTM_adc_code SDL_VTM_getAdcCode(SDL_VTM_InstTs instance)
read Temperature sensor ADC code
uint8_t SDL_VTM_configVdCtrl
This enumerator define for VTM VD configuration valid map.
Definition: sdl_ip_vtm.h:66