![]() |
sysmonpsu
Xilinx SDK Drivers API Documentation
|
This file contains a design example using the driver functions of the System Monitor driver.
This example here shows the usage of the driver/device in interrupt mode to handle on-chip temperature and voltage alarm interrupts.
This code assumes that no Operating System is being used.
The values of the on-chip Temperature, VccInt voltage and VccAux voltage are read from the device and then the alarm thresholds are set in such a manner that the alarms occur.
This examples also assumes that there is a STDIO device in the system. This example has floating point calculations and uses printfs for outputting floating point data, therefore the memory allocated for the Stack must be more.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 kvn 12/15/15 First release 02/15/16 Corrected order of Enabling / Disabling of interrupts. ms 04/05/17 Modified Comment lines in functions to recognize it as documentation block for doxygen generation.
Functions | |
int | main (void) |
Main function that invokes the Interrupt example. More... | |
int main | ( | void | ) |
Main function that invokes the Interrupt example.
None. |