RTEMS  5.1
Macros | Variables
rtc-config.c File Reference

RTC configuration. More...

#include <libchip/rtc.h>

Macros

#define RTC_COUNT   1
 

Variables

const rtc_fns qoriq_rtc_ops
 
size_t RTC_Count = RTC_COUNT
 
rtc_tbl RTC_Table [RTC_COUNT]
 Table to describes the rtc device. More...
 

Detailed Description

RTC configuration.

Variable Documentation

◆ qoriq_rtc_ops

const rtc_fns qoriq_rtc_ops
Initial value:
= {
.deviceInitialize = qoriq_rtc_initialize,
.deviceGetTime = qoriq_rtc_get_time,
.deviceSetTime = qoriq_rtc_set_time
}

◆ RTC_Table

rtc_tbl RTC_Table[RTC_COUNT]
Initial value:
= {
{
.sDeviceName = "/dev/rtc",
.deviceType = RTC_CUSTOM,
.pDeviceFns = &qoriq_rtc_ops,
.deviceProbe = qoriq_rtc_probe,
.pDeviceParams = NULL,
.ulCtrlPort1 = 0,
.ulDataPort = 0,
.getRegister = NULL,
.setRegister = NULL
}
}
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77

Table to describes the rtc device.