6 Software
User Manual 42/374
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
ysysd_get_ignition_status (see
"ysysd_get_ignition_status" on page
154)
The TAF library function returns the ignition status.
Low Level Hardware Access
This user space interface allows the
user to switch On or switch Off the
self-preservation.