RTC device structure. More...
#include <rtc.h>
Data Fields | |
| void * | dcb |
| int(* | rtc_init )(NUTRTC *rtc) |
| int(* | rtc_gettime )(NUTRTC *rtc, struct _tm *) |
| int(* | rtc_settime )(NUTRTC *rtc, const struct _tm *) |
| int(* | rtc_getalarm )(NUTRTC *rtc, int idx, struct _tm *, int *) |
| int(* | rtc_setalarm )(NUTRTC *rtc, int idx, const struct _tm *, int) |
| int(* | rtc_getstatus )(NUTRTC *rtc, uint32_t *) |
| int(* | rtc_clrstatus )(NUTRTC *rtc, uint32_t) |
| HANDLE | alarm |
RTC device structure.
| void* _NUTRTC::dcb |
| int(* _NUTRTC::rtc_init)(NUTRTC *rtc) |
Referenced by NutRegisterRtc().
| int(* _NUTRTC::rtc_gettime)(NUTRTC *rtc, struct _tm *) |
Referenced by NutRtcGetTime().
| int(* _NUTRTC::rtc_settime)(NUTRTC *rtc, const struct _tm *) |
Referenced by NutRtcSetTime().
| int(* _NUTRTC::rtc_getalarm)(NUTRTC *rtc, int idx, struct _tm *, int *) |
Referenced by NutRtcGetAlarm().
| int(* _NUTRTC::rtc_setalarm)(NUTRTC *rtc, int idx, const struct _tm *, int) |
Referenced by NutRtcSetAlarm().
| int(* _NUTRTC::rtc_getstatus)(NUTRTC *rtc, uint32_t *) |
Referenced by NutRtcGetStatus().
| int(* _NUTRTC::rtc_clrstatus)(NUTRTC *rtc, uint32_t) |
Referenced by NutRtcClearStatus().