![]() |
rtcpsu
Xilinx SDK Drivers API Documentation
|
This file contains an example using the XRtcPsu driver.
This function updates the current time.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 kvn 05/12/15 First Release 1.6 tjs 09/17/18 Fixed compilation warnings
Functions | |
int | RtcPsuSetTimeExample (u16 DeviceId) |
This function does a minimal set time test on the XRtcPsu device. More... | |
int | main (void) |
Main function to call the Rtc Set time example. More... | |
int main | ( | void | ) |
Main function to call the Rtc Set time example.
None |
References RtcPsuSetTimeExample().
int RtcPsuSetTimeExample | ( | u16 | DeviceId | ) |
This function does a minimal set time test on the XRtcPsu device.
This function updates the current time to a specified time.
DeviceId | is the unique device id from hardware build. |
References XRtcPsu_LookupConfig().
Referenced by main().