xilplmi
Vitis Drivers API Documentation
xplmi_sysmon.c File Reference

Overview

This is the file which contains SysMon manager code.

MODIFICATION HISTORY:
Ver   Who  Date        Changes


1.00 sn 07/01/2019 Initial release sn 07/04/2019 Enabled SysMon's over-temperature interrupt sn 08/03/2019 Added code to wait until over-temperature condition gets resolved before restart 1.01 bsv 04/04/2020 Code clean up 1.02 bm 10/14/2020 Code clean up td 10/19/2020 MISRA C Fixes 1.03 bm 02/08/2021 Add GetSysmonPsv API 1.04 td 07/08/2021 Fix doxygen warnings rb 08/11/2021 Fix compilation warnings is 01/10/2022 Updated XPlmi_SysMonOTDetect to wait additional time after OT event clears up is 01/10/2022 Updated Copyright Year to 2022 ma 01/17/2022 Enable SLVERR for Sysmon ma 03/01/2022 Write PCSR MASK register before enabling SLVERR 1.05 skd 04/21/2022 Misra-C violation Rule 8.7 fixed bsv 07/20/2022 Removed magic number usage bm 07/24/2022 Set PlmLiveStatus during boot time 1.07 ng 11/11/2022 Updated doxygen comments dd 03/28/2023 Updated doxygen comments 1.08 rama 08/10/2023 Changed OT print to DEBUG_ALWAYS for debug level_0 option mss 03/13/2024 MISRA-C violatiom Rule 17.8 fixed

 

Macros

#define XPLMI_SYSMON_SAT0_PCSR_MASK_OFFSET   (0x10000U)
 SAT0 PCSR mask offset. More...
 
#define XPLMI_SYSMON_SAT1_PCSR_MASK_OFFSET   (0x20000U)
 SAT1 PCSR mask offset. More...
 
#define XPLMI_SYSMON_PCSR_CTRL_SLVERREN_MASK   (0x80000U)
 PCSR control slave error enable mask. More...
 

Functions

XSysMonPsv * XPlmi_GetSysmonInst (void)
 This function provides address of Sysmon Instance. More...
 
int XPlmi_SysMonInit (void)
 This function initializes the SysMon. More...
 
void XPlmi_SysMonOTDetect (u32 WaitInMSecVal)
 This function detects if we are still in over-temperature condition. More...