![]() |
ttcps
Vitis Drivers API Documentation
|
This example uses one timer/counter to make a real time clock.
The number of minutes and seconds is displayed on the console.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 drg/jz 01/23/10 First release 3.01 pkp 01/30/16 Modified SetupTimer to remove XTtcps_Stop before TTC configuration as it is added in xttcps.c in XTtcPs_CfgInitialize 3.2 mus 10/28/16 Updated TmrCntrSetup as per prototype of XTtcPs_CalcIntervalFromFreq ms 01/23/17 Modified xil_printf statement in main function to ensure that "Successfully ran" and "Failed" strings are available in all examples. This is a fix for CR-965028. 3.10 aru 05/30/19 Updated the example to use XTtcPs_InterruptHandler(). 3.16 adk 04/19/22 Fix infinite loop in the example by adding polled timeout loop. 3.18 gm 07/17/23 Invoke XTtcPs_Release to release ttc node. 3.18 gm 03/06/24 Added support for system device-tree flow.
Functions | |
int | main (void) |
This is the main function that calls the TTC RTC interrupt example. More... | |
int main | ( | void | ) |
This is the main function that calls the TTC RTC interrupt example.
None |