RTC configuration.
More...
#include <libchip/rtc.h>
#include <bsp/lpc24xx.h>
#include <bsp/io.h>
|
#define | LPC24XX_RTC_NUMBER 1 |
|
◆ 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,
.ulCtrlPort1 = 0,
.ulDataPort = 0,
}
}
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77
Table to describes the rtc device.