![]() |
sysmonpsv
Xilinx SDK Drivers API Documentation
|
This file contains a design example using the driver functions of the System Monitor driver.
The example here shows the driver/device in intr mode to check the on-chip temperature and voltages.
This examples also assumes that there is a STDIO device in the system.
MODIFICATION HISTORY:
Ver Who Date Changes
1.1 add 7/2/19 First release
Functions | |
int | SysMonPsvIntrExample () |
This function runs a test on the System Monitor device using the driver APIs. More... | |
int | main (void) |
Main function that invokes the intr example in this file. More... | |
int main | ( | void | ) |
Main function that invokes the intr example in this file.
None. |
References SysMonPsvIntrExample().
int SysMonPsvIntrExample | ( | ) |
This function runs a test on the System Monitor device using the driver APIs.
This function does the following tasks:
None. |
References XSysMonPsv_CfgInitialize(), XSysMonPsv_IntrClear(), XSysMonPsv_IntrEnable(), XSysMonPsv_LookupConfig(), XSYSMONPSV_PCSR_LOCK, and XSysMonPsv_WriteReg.
Referenced by main().