11.18 Internal Temperature Sensor; 11.19 The Programmable Pushbutton; 11.20 Tpm - Eurotech DynaGate 10-12 Series User Manual

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

Advertisement

11 How to access interfaces under Linux

11.18 Internal temperature sensor

The DynaGATE 10-12 is provided with a sensor that measures the temperature inside the product.
To read the internal temperature, enter the following command:
cat /sys/class/hwmon/hwmon0/temp1_input

11.19 The Programmable pushbutton

The programmable pushbutton is sensed by a Linux daemon which executes a shell script every time the
button is either pushed or released. This script is located at /usr/bin/switch_script.sh and can be
customized according to the needs of the user.
To see the pushbutton status, enter the following command:
gpio_utility gpio74
The output is the following:
If the button is being pushed, then value = 0
l
If the button is not being pushed, then value = 1.
l

11.20 TPM

The DynaGATE 10-12 includes a TPM 2.0 hw module (Infineon SLB9670).
78 / 94
DynaGATE 10-12 User manual Rev. 0-14

Advertisement

Table of Contents
loading

Table of Contents