RTEMS 6.1-rc5
Loading...
Searching...
No Matches
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.
 

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
}
}

Table to describes the rtc device.