Proc Interface
The proc interface is only used to read the RTC status.
You can run the following command to execute the read process:
cat /proc/driver/rtc
The following code block shows an example of using the interface.
# cat /proc/driver/rtc
rtc time : 00:06:19
rtc date : 2001-02-01
alrm_time : 00:00:10
alrm_date : 2001-02-01
alarm_IRQ : no
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1
max user IRQ frequency : 64
24hr : yes