|  | SDL API Guide for J721E
    | 
Header file containing various enumerations, structure definitions and function declarations for the Voltage and Thermal Monitor (VTM) IP.
Go to the source code of this file.
| Data Structures | |
| struct | SDL_VTM_tsGlobal_cfg | 
| VTM Global Configuration Registers.  More... | |
| struct | SDL_VTM_Ctrlcfg | 
| VTM temperature sensor band gap control.  More... | |
| struct | SDL_VTM_tsThrVal | 
| VTM temperature sensor threshold values.  More... | |
| struct | SDL_VTM_Stat_val | 
| VTM temperature sensor Stat values.  More... | |
| Typedefs | |
| typedef uint8_t | SDL_VTM_configVdCtrl | 
| This enumerator define for VTM VD configuration valid map.  More... | |
| typedef uint8_t | SDL_VTM_configTsCtrl | 
| This enumerator define for VTM TS configuration valid map.  More... | |
| typedef uint8_t | SDL_VTM_vid_opp | 
| This enumerator defines the possible VID Codes to set various voltage domain supply voltages.  More... | |
| typedef uint8_t | SDL_VTM_ts_stat_vd_map | 
| This enumerator defines the core voltage domain mapping of VTM VD.  More... | |
| typedef uint16_t | SDL_VTM_intrCtrl | 
| This enumerator define for VTM Voltage domain threshold interrupt control.  More... | |
| typedef uint16_t | SDL_VTM_vdEvtSel_set | 
| This enumerator define for VTM Voltage domain Event selection set.  More... | |
| typedef uint32_t | SDL_VTM_tsGlobal_ctrl_valid_map | 
| This enumerator defines for VTM Temperature sensor id control update valid maps. This controls the selective update of the fields in the temperature sensor control field.  More... | |
| typedef uint8_t | SDL_VTM_tsGlobal_clkSel | 
| This enumerator define for VTM Temperature sensor global control Clock select options.  More... | |
| typedef uint8_t | SDL_VTM_tsGlobal_clkDiv | 
| This enumerator define for VTM Temperature sensor global control Clock divide options.  More... | |
| typedef uint8_t | SDL_VTM_tsGlobal_any_maxt_outrg_alert_en | 
| This enumerator define for VTM Temperature sensor global control any max temperature alert enable control.  More... | |
| typedef uint16_t | SDL_VTM_tsGlobal_samples_per_count | 
| This enumerator define for VTM Temperature sensor global control samples per count.  More... | |
| typedef uint8_t | SDL_VTM_tsCtrl_valid_map | 
| This enumerator define for VTM Temperature sensor control valid map.  More... | |
| typedef uint8_t | SDL_VTM_tsCtrl_max_outrg_alert | 
| This enumerator define for VTM temperature sensor band gap maximum temperature out of range alert control.  More... | |
| typedef uint8_t | SDL_VTM_tsCtrl_resetCtrl | 
| This enumerator define for VTM temperature sensor band gap reset control bits.  More... | |
| typedef uint8_t | SDL_VTM_tsCtrl_mode | 
| This enumerator define for VTM temperature sensor mode control bits.  More... | |
| typedef uint8_t | SDL_VTM_tsCtrl_singleshot_conv_stat | 
| This enumerator define for VTM temperature sensor band gap single shot mode start of conversion trigger.  More... | |
| typedef uint8_t | SDL_VTM_thr_valid_map | 
| This enumerator define for VTM Temperature Sensor thresholds valid bit map.  More... | |
| typedef uint8_t | SDL_VTM_Stat_read_ctrl | 
| This enumerator define for VTM temperature sensor STAT read valid map.  More... | |
| typedef int16_t | SDL_VTM_adc_code | 
| This enumerator define for VTM temperature sensor ADC code This is the data_out value of the temperature sensor stat register.  More... | |
| typedef uint8_t | SDL_VTM_vdEvt_status | 
| This enumerator define for VTM Voltage domain event status.  More... | |
| Functions | |
| void | SDL_VTM_getSensorVDCount (const SDL_VTM_cfg1Regs *p_cfg1) | 
| get sensor and VD count  More... | |
| 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  More... | |
| SDL_VTM_adc_code | SDL_VTM_getAdcCode (const SDL_VTM_cfg1Regs_TMPSENS *p_sensor) | 
| read Temperature sensor ADC code  More... | |
| 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  More... | |
| 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  More... | |
| 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 contributions of the temp-monitors controlled by this VTM will contribute to generate the merged event/alerts of this VD. Any combination of them could be selected  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |