EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #42 background imageLoading...
Page #42 background image
6 Software
User Manual 42/374
Path
Input
information
Output
information
Description
system is shut down
How to set parameters for wakeup:
The parameters are set over the interface rc.conf:
Example for set wakeup parameters
# Set wakeup parameter to etc/init.d/rc.conf
export RTC_WAKEUP="after_sec"
# Time in seconds if RTC_WAKEUP="after_sec"
# In combination with "after_sec" RTC_WAKEUP_TIME holds the value in seconds.
# In combination with "tomorrow_at" RTC_WAKEUP_TIME hold the value in hhmmss.
export RTC_WAKEUP_TIME=10
# Run time in seconds after shutdown (ignition off).
# Set the default value here or wakeup-reason depending on:
# Ignition wakeup time in second, default is 0.
export SD_RUN_TIME_IGN=0
# RTC wakeup time in seconds, default is 20s.
export SD_RUN_TIME_RTC=20
# Shutdown run time path includes the time in seconds.
export SD_RUN_TIME_FILE="/tmp/sdruntime"
6.3.1 Ignition
The state of the ignition can be retrieved over the function of the system daemon.
Precondition:
The system daemon (see "System daemon" on page 88) must be already started. Per default the system
daemon is already started.
Library function for ignition
Function
Brief description
ysysd_get_ignition_status (see
"ysysd_get_ignition_status" on page
154)
The TAF library function returns the ignition status.
Low Level Hardware Access
Path
Input
information
Output
information
Description
/proc/stw_shutdown/shalt
p1
-
This user space interface allows the
user to switch On or switch Off the
self-preservation.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish