11.15 Rtc - Eurotech DynaGate 10-12 Series User Manual

Automobile iot edge gateway ti am335x, lte cat 1
Table of Contents

Advertisement

DynaGATE 10-12 User manual Rev. 0-14

11.15 RTC

The DynaGATE 10-12 exposes the RTC as follows:
RTC:
l
/dev/rtc1 offers three read-only timestamp registers:
Timestamp register
sys/class/rtc/rtc1/device/timestamp1
sys/class/rtc/rtc1/device/timestamp2
sys/class/rtc/rtc1/device/timestamp3
To read a timestamp (for example: timestamp2), enter the following command:
cat /sys/class/rtc/rtc1/device/timestamp2
/dev/rtc1
What it contains
Reserved data
The timestamp that the system last lost power (only if a successful
initialization has been achieved)
The timestamp that the system last has been powered
(only if a successful initialization has been achieved)
11 How to access interfaces under Linux
75 / 94

Advertisement

Table of Contents
loading

Table of Contents