![]() |
rtcpsu
Vitis Drivers API Documentation
|
This file contains an example using the XRtcPsu driver in polled mode.
This function checks the new second reporting feature of the RTC.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 kvn 05/12/15 First Release 1.13 ht 06/21/23 Added support for system device-tree flow. 1.17 vlt 12/18/25 Update Doxygen comments to include SDT flow details.
Functions | |
| int | RtcPsuSecondsPolledExample (UINTPTR BaseAddress) |
| This function does a minimal Seconds test on the XRtcPsu device in polled mode. More... | |
| int | main (void) |
| Main function to call the Rtc Seconds Polled mode example. More... | |
| int main | ( | void | ) |
Main function to call the Rtc Seconds Polled mode example.
References RtcPsuSecondsPolledExample().
| int RtcPsuSecondsPolledExample | ( | UINTPTR | BaseAddress | ) |
This function does a minimal Seconds test on the XRtcPsu device in polled mode.
This function checks the new second reporting feature of the RTC.
| BaseAddress | contains the base address of the device |
References XRtcPsu_Config::BaseAddr, XRtcPsu_CfgInitialize(), XRtcPsu_IsSecondsEventGenerated(), XRtcPsu_LookupConfig(), and XRtcPsu_SelfTest().
Referenced by main().