rtcpsu
Xilinx Vitis Drivers API Documentation
XRtcPsu Struct Reference

The XRtcPsu driver instance data. More...

Data Fields

XRtcPsu_Config RtcConfig
 Device configuration.
 
u32 IsReady
 Device is initialized and ready.
 
u32 PeriodicAlarmTime
 Alarm timer.
 
u8 IsPeriodicAlarm
 Alarm Interrupt Information.
 
u32 OscillatorFreq
 Device Oscillator Freq.
 
u32 CalibrationValue
 Device Calibration Value.
 
XRtcPsu_Handler Handler
 Handler Information.
 
void * CallBackRef
 
             Callback reference for

event handler

 
u32 TimeUpdated
 Time.
 
u32 CurrTimeUpdated
 Current Time.
 

Detailed Description

The XRtcPsu driver instance data.

The user is required to allocate a variable of this type for the RTC device in the system. A pointer to a variable of this type is then passed to the driver API functions.

Field Documentation

u32 XRtcPsu::CalibrationValue
void* XRtcPsu::CallBackRef

             Callback reference for

event handler

Referenced by XRtcPsu_InterruptHandler(), and XRtcPsu_SetHandler().

u32 XRtcPsu::CurrTimeUpdated
XRtcPsu_Handler XRtcPsu::Handler

Handler Information.

Referenced by XRtcPsu_CfgInitialize(), XRtcPsu_InterruptHandler(), and XRtcPsu_SetHandler().

u8 XRtcPsu::IsPeriodicAlarm

Alarm Interrupt Information.

Referenced by XRtcPsu_CfgInitialize(), XRtcPsu_InterruptHandler(), and XRtcPsu_SetAlarm().

u32 XRtcPsu::IsReady
u32 XRtcPsu::OscillatorFreq
u32 XRtcPsu::PeriodicAlarmTime

Alarm timer.

Referenced by XRtcPsu_InterruptHandler(), and XRtcPsu_SetAlarm().