RTEMS: bsps/powerpc/qoriq/rtc/rtc-config.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Variables
rtc-config.c File Reference
Board Support Packages » PowerPC » NXP QorIQ

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.

## 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
}
}
NULL
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77

Table to describes the rtc device.