12.14 How The Rtc Is Exposed - Eurotech ReliaGATE 10-12-6 Series User Manual

Iot edge gateway ti am335x, lte cat 1
Table of Contents

Advertisement

ReliaGATE 10-12 User manual Rev. 2-1

12.14 How the RTC is exposed

The ReliaGATE 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)
12 How to manage interfaces in Linux
87 / 118

Advertisement

Table of Contents
loading

This manual is also suitable for:

Regate-10-12-65gRegate-10-12-66gRegate-10-12-67gDynagate 10-12-6 series

Table of Contents