![]() |
sysmonpsu
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 polled 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.0 kvn 12/15/15 First release ms 04/05/17 Modified Comment lines in functions to recognize it as documentation block for doxygen generation. 2.3 ms 12/12/17 Added peripheral test support. mn 03/08/18 Update code to run at higher frequency and remove sleep
Functions | |
int | SysMonPsuPolledPrintfExample (u16 SysMonDeviceId) |
This function runs a test on the System Monitor device using the driver APIs. More... | |
int | main (void) |
Main function that invokes the polled example in this file. More... | |
int main | ( | void | ) |
Main function that invokes the polled example in this file.
None. |
References SysMonPsuPolledPrintfExample().
int SysMonPsuPolledPrintfExample | ( | u16 | SysMonDeviceId | ) |
This function runs a test on the System Monitor device using the driver APIs.
This function does the following tasks:
SysMonDeviceId | is the XPAR_<SYSMON_instance>_DEVICE_ID value from xparameters.h. |
Referenced by main().