Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
41
of
174
SCET_GET_GP_TRIGGER_LEVEL_IOCTL
Returns the currently configured level of the all GP triggers
as a bit field:
Bit 0 is trigger 0,
Bit N is trigger N,
Bit 7 is trigger 7.
Bit value 0 = trigger activates on 0 to 1 transition (rising edge)
Bit value 1 = trigger activates on 1 to 0 transition (falling
edge).
(0 is default).
SCET_SET_GP_TRIGGER_ENABLE_IOCTL
Input bit field selects which GP trigger(s) to enable:
Bit 0 is trigger 0,
Bit N is trigger N,
Bit 7 is trigger 7.
All triggers are disabled by default (0)
SCET_GET_GP_TRIGGER_ENABLE_IOCTL
Returns which GP triggers that are enabled.
Bit 0 is trigger 0,
Bit N is trigger N,
Bit 7 is trigger 7.
SCET_GET_GP_TRIGGER_COUNTER_IOCTL
Input value selects which GP trigger SCET counter sample to
read [0,7].
Returns 24 bits of the SCET counter sampled when the GP
trigger became active.
Bit 23:16 contains lower 8 bits of second
Bit 15:0 contains subseconds