RTEMS 6.1-rc1
Macros | Variables

RTC configuration. More...

#include <libchip/rtc.h>
#include <bsp/lpc24xx.h>
#include <bsp/io.h>

Macros

#define LPC24XX_RTC_NUMBER   1
 

Variables

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

Detailed Description

RTC configuration.

Variable Documentation

◆ lpc24xx_rtc_ops

const rtc_fns lpc24xx_rtc_ops
Initial value:
= {
.deviceInitialize = lpc24xx_rtc_initialize,
.deviceGetTime = lpc24xx_rtc_get_time,
.deviceSetTime = lpc24xx_rtc_set_time
}

◆ RTC_Table

rtc_tbl RTC_Table[LPC24XX_RTC_NUMBER]
Initial value:
= {
{
.sDeviceName = "/dev/rtc",
.deviceType = RTC_CUSTOM,
.pDeviceFns = &lpc24xx_rtc_ops,
.deviceProbe = lpc24xx_rtc_probe,
.pDeviceParams = NULL,
.ulCtrlPort1 = 0,
.ulDataPort = 0,
.getRegister = NULL,
.setRegister = NULL
}
}
#define NULL
Requests a GPIO pin group configuration.
Definition: xil_types.h:54

Table to describes the rtc device.