12 #ifndef __LIBCHIP_RTC_h 13 #define __LIBCHIP_RTC_h 24 typedef uint32_t (*getRegister_f)(uintptr_t port, uint8_t reg);
25 typedef void (*setRegister_f)(uintptr_t port, uint8_t reg, uint32_t value);
28 void (*deviceInitialize)(
int minor);
62 const char *sDeviceName;
65 bool (*deviceProbe)(
int minor);
67 uintptr_t ulCtrlPort1;
69 getRegister_f getRegister;
70 setRegister_f setRegister;
74 extern size_t RTC_Count;
77 extern bool rtc_probe(
int minor );
Data structure to manage and manipulate calendar time.
Definition: types.h:141