rtcpsu
Vitis Drivers API Documentation
XRtcPsu Struct Reference

The XRtcPsu driver instance data. More...

Data Fields

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

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().