Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
43
of
174
If the PPS threshold is configured to 65535 (max value) all incoming PPS are deemed
acceptable. Lost events will not be detected at all.
5.4.5.3. Event callback via message queue
The SCET driver exposes message queues for event messaging from the driver to the
application. A single subscriber is allowed for each queue.
‘S’, ‘P’, ‘P’, ‘S’ handles PPS related messages with a prefix of:
SCET_INTERRUPT_STATUS_*
Table 5-2 Driver message queue message types
Event name
Description
PPS_ARRIVED
An external PPS signal has arrived
PPS_LOST
The external PPS signal is lost
PPS_FOUND
The external PPS signal was found
‘S’, ‘G’, ‘T’, ‘n’ handles messages sent from the general purpose trigger n, with the number n
ranging from 0 to up to the maximum defined for the particular SoC configuration.
Table 5-3 General purpose trigger n message queue
Event name
Description
TRIGGERn
Trigger n was triggered
5.4.5.4. RTEMS application example
In order to use the SCET driver in the RTEMS environment, the following code structure is
suggested for use: