Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
134
of
174
7.12.4.11. TMTSControl
Configures the timestamping for transfer frames.
Table 7-48: TMTSControl data
Byte
Type
Description
0
UINT8
0x00
–
No timestamping (default)
0x01
–
Take a timestamp every time frame sent
0x02
–
Take a timestamp every 2
nd
time frame sent
…
0xFF
–
Take a timestamp every 255
th
time frame sent
RMAP reply status (if a reply is requested):
Table 7-49: TMTSControl status codes
Status code
Description
0
Success.
EINVAL
The driver for the TM device has not been initialized.
EIO
I/O error. The TM device cannot be accessed.
7.12.4.12. TMTSStatus
The latest timestamp of telemetry sent on virtual channel 0. Timestamping needs to be
enabled before timestamps can be read. See 7.12.4.11.
Table 7-50: TMTSStatus data
Byte
Type
Description
0
UINT32
Seconds counter sampled when the frame event triggered
4
UINT16
Subseconds counter sampled when the frame event triggered
RMAP reply status:
Table 7-51: TMTSStatus status codes
Status code
Description
0
Success.
EINVAL
Timestamping is not enabled. See 7.12.4.11
EIO
I/O error. The TM device cannot be accessed
7.12.4.13. TMSend
Sends telemetry to the TM path on virtual channel 0. The data must contain
at least one
telemetry PUS Packet.
Table 7-52: TMSend data
Byte
Type
Description
0 - nn
Array of UINT8 Data containing PUS packet(s).