DynaGATE 10-12 User manual Rev. 0-14
11 How to access interfaces under Linux
11.15 RTC
The DynaGATE 10-12 exposes the RTC as follows:
l
RTC:
/dev/rtc1
/dev/rtc1
offers three read-only timestamp registers:
Timestamp register
What it contains
sys/class/rtc/rtc1/device/timestamp1
Reserved data
sys/class/rtc/rtc1/device/timestamp2
The timestamp that the system last lost power (only if a successful
initialization has been achieved)
sys/class/rtc/rtc1/device/timestamp3
The timestamp that the system last has been powered
(only if a successful initialization has been achieved)
To read a timestamp (for example: timestamp2), enter the following command:
cat /sys/class/rtc/rtc1/device/timestamp2
75 / 94
Summary of Contents for DynaGate 10-12 Series
Page 10: ...This page has been intentionally left blank...
Page 12: ...This page has been intentionally left blank...
Page 14: ...This page has been intentionally left blank...
Page 16: ...This page has been intentionally left blank...
Page 22: ...This page has been intentionally left blank...
Page 28: ...This page has been intentionally left blank...
Page 60: ...This page has been intentionally left blank...
Page 62: ...This page has been intentionally left blank...
Page 82: ...This page has been intentionally left blank...
Page 88: ...This page has been intentionally left blank...
Page 90: ...This page has been intentionally left blank...
Page 92: ...This page has been intentionally left blank...
Page 93: ...DynaGATE 10 12 User manual Rev 0 14 Notes NOTES 93 94...