Real Time Clock Status
Reads the present Real Time Clock status of the clock system.
Block ID
Real Time Clock Status
Library
motohawk_datetime_lib/Real Time Clock Blocks
Description
The Clock Integrity Flag is set whenever the RTC oscillator stopped. The flag will remain set until cleared during next time write cycle which could be done using Real Time Clock Set block. When the oscillator is not running, then the Clock integrity flag cannot be cleared. This method can be used to monitor the oscillator. The oscillator may be stopped, for example, by grounding one of the oscillator pins or when backup power source voltage drops below minimum acceptable level. At power-on, the Clock Integrity flag flag is always set.
This block requires Real Time Clock Definition to be in the same model. It is possible to have more than one Real Time Clock Status blocks in the application if desired.
The m-script motohawk_rtc_status_enum returns a cell array of names corresponding to the status which can be used as an enumeration string in a MotoHawk probe block
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Reference Name | Alpha-numeric text, single-quote enclosed | Reference to the Name of the Real Time Clock Definition block |