Struct ccsds_tm_rand_state_t¶
ClassList > ccsds_tm_rand_state_t
A generator part-way through a run. More...
#include <ccsds_tm.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | reg |
| unsigned | stages |
| uint32_t | taps |
Detailed Description¶
Exposed because a consumer that is already walking the data — the frame decoder packs bits to octets and derandomises in the same pass — cannot hand a mutable run to ccsds_tm_randomise, and must not hold a sequence the size of the data either. Stepping the generator alongside costs one word and works for any period; the alternative was a table indexed modulo the period, which is 128 KB at 10.4.1's and is longer than any CADU.
Public Attributes Documentation¶
variable reg¶
variable stages¶
variable taps¶
The documentation for this class was generated from the following file native/inc/ccsds_tm/ccsds_tm.h