56 #include <src/ip/sdlr_vtm.h> 57 #include <src/ip/sdl_ip_vtm.h> 80 #define SDL_VTM_VD_CONFIG_CTRL_VID_OPP (1U) 81 #define SDL_VTM_VD_CONFIG_CTRL_EVT_SEL (2U) 82 #define SDL_VTM_VD_CONFIG_CTRL_GLB_CFG (4U) 89 #define SDL_VTM_VD_CONFIG_CTRL_SET_CTL (1U) 90 #define SDL_VTM_VD_CONFIG_CTRL_OUTRNG_ALRT (2U) 91 #define SDL_VTM_VD_CONFIG_CTRL_SET_THR (4U) 100 #define SDL_VTM_VID_OPP_MAX_NUM ((uint8_t) 4U) 102 #define SDL_VTM_VID_OPP_3_CODE ((uint8_t) 3U) 104 #define SDL_VTM_VID_OPP_2_CODE ((uint8_t) 2U) 106 #define SDL_VTM_VID_OPP_1_CODE ((uint8_t) 1U) 108 #define SDL_VTM_VID_OPP_0_CODE ((uint8_t) 0U) 116 #define SDL_VTM_TS_STAT_VD_MAP_RTC ((uint32) 0U) 118 #define SDL_VTM_TS_STAT_VD_MAP_WKUP ((uint32) 1U) 120 #define SDL_VTM_TS_STAT_VD_MAP_MCU ((uint32) 2U) 122 #define SDL_VTM_TS_STAT_VD_MAP_CORE ((uint32) 3U) 124 #define SDL_VTM_TSTAT_VD_MAP_NOT_IMPLEMENTED ((uint32) 15U) 130 #define SDL_VTM_VD_LT_THR0_INTR_RAW_SET (1u) 131 #define SDL_VTM_VD_GT_THR1_INTR_RAW_SET (2u) 132 #define SDL_VTM_VD_GT_THR2_INTR_RAW_SET (4u) 133 #define SDL_VTM_VD_LT_THR0_INTR_RAW_CLR (8u) 134 #define SDL_VTM_VD_GT_THR1_INTR_RAW_CLR (16u) 135 #define SDL_VTM_VD_GT_THR2_INTR_RAW_CLR (32u) 136 #define SDL_VTM_VD_LT_THR0_INTR_EN_SET (64u) 137 #define SDL_VTM_VD_GT_THR1_INTR_EN_SET (128u) 138 #define SDL_VTM_VD_GT_THR2_INTR_EN_SET (256u) 139 #define SDL_VTM_VD_LT_THR0_INTR_EN_CLR (512u) 140 #define SDL_VTM_VD_GT_THR1_INTR_EN_CLR (1024u) 141 #define SDL_VTM_VD_GT_THR2_INTR_EN_CLR (2048u) 142 #define SDL_VTM_VD_INTR_INVALID (SDL_VTM_VD_LT_THR0_INTR_RAW_SET | \ 143 SDL_VTM_VD_LT_THR0_INTR_RAW_CLR) 151 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_0 (1u) 152 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_1 (2u) 153 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_2 (4u) 154 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_3 (8u) 155 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_4 (16u) 156 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_5 (32u) 157 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_6 (64u) 158 #define SDL_VTM_VD_EVT_SELECT_TEMP_SENSOR_7 (128u) 166 #define SDL_VTM_TSGLOBAL_CLK_SEL_VALID (1u) 167 #define SDL_VTM_TSGLOBAL_CLK_DIV_VALID (2u) 168 #define SDL_VTM_TSGLOBAL_ANY_MAXT_OUTRG_ALERT_EN_VALID (4u) 169 #define SDL_VTM_TSGLOBAL_MAXT_OUTRG_ALERT_THR0_VALID (8u) 170 #define SDL_VTM_TSGLOBAL_MAXT_OUTRG_ALERT_THR_VALID (16u) 171 #define SDL_VTM_TSGLOBAL_SAMPLES_PER_CNT_VALID (32u) 178 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_SEL_FIX_REF_CLK (1u) 179 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_SEL_FIX_REF2_CLK (2u) 188 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_1 (0u) 189 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_2 (1u) 190 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_3 (2u) 191 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_4 (3u) 192 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_5 (4u) 193 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_6 (5u) 194 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_7 (6u) 195 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_8 (7u) 196 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_9 (8u) 197 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_10 (9u) 198 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_11 (10u) 199 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_12 (11u) 200 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_13 (12u) 201 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_14 (13u) 202 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_15 (14u) 203 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_16 (15u) 204 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_17 (16u) 205 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_18 (17u) 206 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_19 (18u) 207 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_20 (19u) 208 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_21 (20u) 209 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_22 (21u) 210 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_23 (22u) 211 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_24 (23u) 212 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_25 (24u) 213 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_26 (25u) 214 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_27 (26u) 215 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_28 (27u) 216 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_29 (28u) 217 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_30 (29u) 218 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_31 (30u) 219 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_32 (31u) 220 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_33 (32u) 221 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_34 (33u) 222 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_35 (34u) 223 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_36 (35u) 224 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_37 (36u) 225 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_38 (37u) 226 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_39 (38u) 227 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_40 (39u) 228 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_41 (40u) 229 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_42 (41u) 230 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_43 (42u) 231 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_44 (43u) 232 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_45 (44u) 233 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_46 (45u) 234 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_47 (46u) 235 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_48 (47u) 236 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_49 (48u) 237 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_50 (49u) 238 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_51 (50u) 239 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_52 (51u) 240 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_53 (52u) 241 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_54 (53u) 242 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_55 (54u) 243 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_56 (55u) 244 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_57 (56u) 245 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_58 (57u) 246 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_59 (58u) 247 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_60 (59u) 248 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_61 (60u) 249 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_62 (61u) 250 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_63 (62u) 251 #define SDL_VTM_TSGLOBAL_CLK_CTRL_CLK_DIV_BY_64 (63u) 259 #define SDL_VTM_TSGLOBAL_ANY_MAXT_OUTRG_ALERT_ENABLE (1u) 260 #define SDL_VTM_TSGLOBAL_ANY_MAXT_OUTRG_ALERT_DISABLE (0u) 272 #define SDL_VTM_TS_CTRL_MAXT_OUTG_ALERT_VALID (1u) 273 #define SDL_VTM_TS_CTRL_RESET_CTRL_VALID (2u) 274 #define SDL_VTM_TS_CTRL_SOC_VALID (4u) 275 #define SDL_VTM_TS_CTRL_MODE_VALID (8u) 283 #define SDL_VTM_TS_CTRL_MAXT_OUTRG_GEN_ALERT (1u) 284 #define SDL_VTM_TS_CTRL_MAXT_OUTRG_NO_ALERT (0u) 291 #define SDL_VTM_TS_CTRL_SENSOR_RESET (0u) 292 #define SDL_VTM_TS_CTRL_SENSOR_NORM_OP (1u) 299 #define SDL_VTM_TS_CTRL_SINGLESHOT_MODE (0u) 300 #define SDL_VTM_TS_CTRL_CONTINUOUS_MODE (1u) 307 #define SDL_VTM_TS_CTRL_SINGLESHOT_ADC_CONV_IN_PROGRESS (1u) 308 #define SDL_VTM_TS_CTRL_SINGLESHOT_ADC_CONV_COMPLETE (0u) 315 #define SDL_VTM_GT_TH1_VALID (1u) 316 #define SDL_VTM_GT_TH2_VALID (2u) 317 #define SDL_VTM_LT_TH0_VALID (4u) 324 #define SDL_VTM_TS_READ_VD_MAP_VAL (1U) 325 #define SDL_VTM_TS_READ_ALL_THRESHOLD_ALERTS (2U) 326 #define SDL_VTM_TS_READ_FIRST_TIME_EOC_BIT (4U) 327 #define SDL_VTM_TS_READ_DATA_VALID_BIT (8U) 328 #define SDL_VTM_TS_READ_DATA_OUT_VAL (16U) 342 #define SDL_VTM_VD_EVT_STAT_THR_ALERTS_MASK (7u) 343 #define SDL_VTM_VD_EVT_STAT_LT_TH0_ALERT (4u) 344 #define SDL_VTM_VD_EVT_STAT_GT_TH1_ALERT (1u) 345 #define SDL_VTM_VD_EVT_STAT_GT_TH2_ALERT (2u) 534 uint8_t vid_opp_val);
552 uint8_t *p_vid_opp_val);
678 int32_t *p_milli_degree_temp_val);
719 int32_t high_temp_in_milli_degree_celcius,
720 int32_t low_temp_in_milli_degree_celcius);
uint8_t SDL_VTM_configVdCtrl
This enumerator define for VTM VD configuration valid map.
Definition: sdl_ip_vtm.h:79
SDL_VTM_tsGlobal_clkDiv clkDiv
Definition: sdl_ip_vtm.h:373
SDL_VTM_tsCtrl_valid_map valid_map
Definition: sdl_ip_vtm.h:401
int16_t SDL_VTM_adc_code
This enumerator define for VTM temperature sensor ADC code This is the data_out value of the temperat...
Definition: sdl_ip_vtm.h:334
uint8_t data_valid
Definition: sdl_ip_vtm.h:470
SDL_VTM_InstVd
Definition: sdl_soc_vtm.h:109
int32_t SDL_VTM_tsConvTempToAdc(int32_t milli_degree_temp_val, SDL_VTM_InstTs instance, SDL_VTM_adc_code *p_adc_code)
VTM Temperature to ADC code conversion.
SDL_VTM_adc_code maxt_outrg_alert_thr
Definition: sdl_ip_vtm.h:387
int32_t SDL_VTM_vdGetOppVid(const SDL_VTM_cfg1Regs *p_cfg1, SDL_VTM_InstVd instance, SDL_VTM_vid_opp vid_opp, uint8_t *p_vid_opp_val)
get VTM VID OPP Code from VID OPP register
int32_t SDL_VTM_vdSetOppVid(const SDL_VTM_cfg1Regs *p_cfg1, SDL_VTM_InstVd instance, SDL_VTM_vid_opp vid_opp, uint8_t vid_opp_val)
set the VID OPP Code for VID OPP register
uint8_t gt_th2_alert
Definition: sdl_ip_vtm.h:466
uint8_t SDL_VTM_tsCtrl_valid_map
This enumerator define for VTM Temperature sensor control valid map.
Definition: sdl_ip_vtm.h:271
SDL_VTM_adc_code data_out
Definition: sdl_ip_vtm.h:472
uint8_t SDL_VTM_tsGlobal_clkSel
This enumerator define for VTM Temperature sensor global control Clock select options.
Definition: sdl_ip_vtm.h:177
uint8_t SDL_VTM_tsGlobal_any_maxt_outrg_alert_en
This enumerator define for VTM Temperature sensor global control any max temperature alert enable con...
Definition: sdl_ip_vtm.h:258
uint8_t lt_th0_alert
Definition: sdl_ip_vtm.h:462
uint16_t SDL_VTM_tsGlobal_samples_per_count
This enumerator define for VTM Temperature sensor global control samples per count.
Definition: sdl_ip_vtm.h:266
uint8_t SDL_VTM_tsCtrl_singleshot_conv_stat
This enumerator define for VTM temperature sensor band gap single shot mode start of conversion trigg...
Definition: sdl_ip_vtm.h:306
SDL_VTM_tsCtrl_max_outrg_alert maxt_outrg_alert_en
Definition: sdl_ip_vtm.h:405
int32_t SDL_VTM_tsSetMaxTOutRgAlertThr(const SDL_VTM_cfg2Regs *p_cfg2, SDL_VTM_InstTs instance, int32_t high_temp_in_milli_degree_celcius, int32_t low_temp_in_milli_degree_celcius)
VTM Temperature Sensor Maximum Temperature Out of Range Alert threshold.
SDL_VTM_tsGlobal_clkSel clkSel
Definition: sdl_ip_vtm.h:367
SDL_VTM_tsCtrl_singleshot_conv_stat adc_stat
Definition: sdl_ip_vtm.h:413
uint8_t SDL_VTM_tsGlobal_clkDiv
This enumerator define for VTM Temperature sensor global control Clock divide options.
Definition: sdl_ip_vtm.h:187
int32_t SDL_VTM_vdEvtSelSet(const SDL_VTM_cfg1Regs *p_cfg1, SDL_VTM_InstVd instance, SDL_VTM_vdEvtSel_set vd_temp_evts)
set Voltage domain a event select and control set register. In this API, select which of the event co...
bool gtTh2En
Definition: sdl_ip_vtm.h:436
uint8_t SDL_VTM_tsCtrl_mode
This enumerator define for VTM temperature sensor mode control bits.
Definition: sdl_ip_vtm.h:298
SDL_VTM_tsCtrl_mode mode
Definition: sdl_ip_vtm.h:417
VTM temperature sensor Stat values.
Definition: sdl_ip_vtm.h:449
uint8_t maxt_outrg_alert
Definition: sdl_ip_vtm.h:460
uint8_t SDL_VTM_tsCtrl_resetCtrl
This enumerator define for VTM temperature sensor band gap reset control bits.
Definition: sdl_ip_vtm.h:290
SDL_VTM_adc_code gtTh2
Definition: sdl_ip_vtm.h:434
uint8_t SDL_VTM_Stat_read_ctrl
This enumerator define for VTM temperature sensor STAT read valid map.
Definition: sdl_ip_vtm.h:323
bool ltTh0En
Definition: sdl_ip_vtm.h:440
SDL_VTM_adc_code SDL_VTM_getBestValue(SDL_VTM_adc_code c0, SDL_VTM_adc_code c1, SDL_VTM_adc_code c2)
select best ADC code
SDL_VTM_adc_code ltTh0
Definition: sdl_ip_vtm.h:438
uint8_t SDL_VTM_thr_valid_map
This enumerator define for VTM Temperature Sensor thresholds valid bit map.
Definition: sdl_ip_vtm.h:314
int32_t SDL_VTM_tsSetCtrl(const SDL_VTM_cfg2Regs *p_cfg2, SDL_VTM_InstTs instance, const SDL_VTM_Ctrlcfg *p_tsCtrl_cfg)
VTM Temperature Sensor Control.
SDL_VTM_tsGlobal_samples_per_count samplesPerCnt
Definition: sdl_ip_vtm.h:390
SDL_VTM_ts_stat_vd_map vd_map
Definition: sdl_ip_vtm.h:455
uint32_t SDL_VTM_tsGlobal_ctrl_valid_map
This enumerator defines for VTM Temperature sensor id control update valid maps. This controls the se...
Definition: sdl_ip_vtm.h:165
int32_t SDL_VTM_tsSetGlobalCfg(const SDL_VTM_cfg2Regs *p_cfg2, const SDL_VTM_tsGlobal_cfg *p_tsGlobal_cfg)
VTM Temperature Sensor Set Global configuration values.
SDL_VTM_adc_code SDL_VTM_getAdcCode(const SDL_VTM_cfg1Regs_TMPSENS *p_sensor)
read Temperature sensor ADC code
SDL_VTM_tsCtrl_resetCtrl tsReset
Definition: sdl_ip_vtm.h:408
uint8_t gt_th1_alert
Definition: sdl_ip_vtm.h:464
VTM temperature sensor band gap control.
Definition: sdl_ip_vtm.h:399
VTM temperature sensor threshold values.
Definition: sdl_ip_vtm.h:426
uint16_t SDL_VTM_intrCtrl
This enumerator define for VTM Voltage domain threshold interrupt control.
Definition: sdl_ip_vtm.h:129
bool gtTh1En
Definition: sdl_ip_vtm.h:432
void SDL_VTM_getSensorVDCount(const SDL_VTM_cfg1Regs *p_cfg1)
get sensor and VD count
int32_t SDL_VTM_tsSetThresholds(const SDL_VTM_cfg1Regs *p_cfg1, SDL_VTM_InstTs instance, const SDL_VTM_tsThrVal *p_thr_val)
VTM Temperature sensor set, clear threshold values and enable, disable threshold events.
uint16_t SDL_VTM_vdEvtSel_set
This enumerator define for VTM Voltage domain Event selection set.
Definition: sdl_ip_vtm.h:149
uint8_t soc_fc_update
Definition: sdl_ip_vtm.h:468
uint8_t SDL_VTM_tsCtrl_max_outrg_alert
This enumerator define for VTM temperature sensor band gap maximum temperature out of range alert con...
Definition: sdl_ip_vtm.h:282
int32_t SDL_VTM_tsGetThresholds(const SDL_VTM_cfg1Regs *p_cfg1, SDL_VTM_InstTs instance, SDL_VTM_tsThrVal *p_thr_val)
VTM Temperature Sensor get threshold values and threshold enable/disable status.
SDL_VTM_tsGlobal_ctrl_valid_map validMap
Definition: sdl_ip_vtm.h:363
SDL_VTM_InstTs
Definition: sdl_soc_vtm.h:77
SDL_VTM_thr_valid_map thrValidMap
Definition: sdl_ip_vtm.h:428
int32_t SDL_VTM_tsGetCtrl(const SDL_VTM_cfg2Regs *p_cfg2, SDL_VTM_InstTs instance, SDL_VTM_Ctrlcfg *p_tsCtrl_cfg)
Read VTM Temperature Sensor Control.
uint8_t SDL_VTM_vdEvt_status
This enumerator define for VTM Voltage domain event status.
Definition: sdl_ip_vtm.h:340
uint8_t SDL_VTM_vid_opp
This enumerator defines the possible VID Codes to set various voltage domain supply voltages.
Definition: sdl_ip_vtm.h:98
VTM Global Configuration Registers.
Definition: sdl_ip_vtm.h:361
SDL_VTM_adc_code maxt_outrg_alert_thr0
Definition: sdl_ip_vtm.h:382
uint8_t SDL_VTM_ts_stat_vd_map
This enumerator defines the core voltage domain mapping of VTM VD.
Definition: sdl_ip_vtm.h:114
SDL_VTM_tsGlobal_any_maxt_outrg_alert_en any_maxt_outrg_alert_en
Definition: sdl_ip_vtm.h:377
int32_t SDL_VTM_tsGetGlobalCfg(const SDL_VTM_cfg2Regs *p_cfg2, SDL_VTM_tsGlobal_cfg *p_tsGlobal_cfg)
VTM Temperature Sensor Get Global configuration values.
SDL_VTM_adc_code gtTh1
Definition: sdl_ip_vtm.h:430
uint8_t SDL_VTM_configTsCtrl
This enumerator define for VTM TS configuration valid map.
Definition: sdl_ip_vtm.h:88
int32_t SDL_VTM_tsConvADCToTemp(SDL_VTM_adc_code adc_code, SDL_VTM_InstTs instance, int32_t *p_milli_degree_temp_val)
VTM Temperature ADC code to Temperature conversion.