rtcpsu: XRtcPsu Struct Reference

| rtcpsu Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

- Data Structures
- Data Fields

Data Fields
XRtcPsu Struct Reference
Rtcpsu_v1_8

The XRtcPsu driver instance data. More...

## Data Fields
XRtcPsu_Config | RtcConfig
| Device configuration. More...
u32 | IsReady
| Device is initialized and ready. More...
void * | CallBackRef
| Callback reference for event handler. 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

void* XRtcPsu::CallBackRef

Callback reference for event handler.

Referenced by XRtcPsu_InterruptHandler(), and XRtcPsu_SetHandler().

u32 XRtcPsu::IsReady

Device is initialized and ready.

Referenced by XRtcPsu_InterruptHandler(), XRtcPsu_SelfTest(), XRtcPsu_SetAlarm(), and XRtcPsu_SetHandler().

XRtcPsu_Config XRtcPsu::RtcConfig

Device configuration.

Referenced by XRtcPsu_ClearInterruptMask(), XRtcPsu_GetCurrentTime(), XRtcPsu_InterruptHandler(), XRtcPsu_IsAlarmEventGenerated(), XRtcPsu_IsSecondsEventGenerated(), XRtcPsu_SelfTest(), XRtcPsu_SetAlarm(), XRtcPsu_SetInterruptMask(), and XRtcPsu_SetTime().