107 testrtctick, 107testrtctick, Testrtctick – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 195: Motload commands

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

195

3.1.107 testRtcTick

Name

testRtcTick—verifies the functionality of the Real Time Clock (RTC). This test does not check
clock accuracy. This test application destroys the value in the SECONDS register. The test
proceeds as follows: (1) Check the RTC STOP bit, and if set, turn on the RTC CLOCK and
initializes to default values. (2) Verify the SECONDS register is being updated. If this register is
not updating, return a failure. (3) Set the SECONDS register to zero and delay the test
application for a few seconds. When the test application wakes up, read the SECONDS register
and verify the value has changed. (4) If the RTC STOP bit was originally set, restore the STOP bit,
which disables the RTC.

Synopsis

testRtcTick [-d]

Parameters

-d Ps: Device Name (Default = /dev/rtc)

Example

The following example indicates a typical display when using the testRtcTick command.

MOTLoad> testRtcTick

See Also

testRtcAlarm

,

testRtcRollOver

,

testRtcReset

Advertising