1#ifndef DS1375_I2C_RTC_H
2#define DS1375_I2C_RTC_H
53#include <libchip/rtc.h>
63rtc_ds1375_device_probe(
int minor );
66rtc_ds1375_get_register( uintptr_t port, uint8_t reg );
69rtc_ds1375_set_register( uintptr_t port, uint8_t reg, uint32_t value );
83#define DS1375_RTC_TBL_ENTRY(i2cname) \
85 sDeviceName: "/dev/rtc", \
86 deviceType: RTC_CUSTOM, \
87 pDeviceFns: &rtc_ds1375_fns, \
88 deviceProbe: rtc_ds1375_device_probe, \
89 ulCtrlPort1: (uintptr_t)(i2cname), \
91 getRegister: rtc_ds1375_get_register, \
92 setRegister: rtc_ds1375_set_register, \
This header file defines the RTEMS Classic API.