Functions | |
const u8 * | ca_code (u8 prn) |
s8 | get_chip (u8 *code, u32 chip_num) |
Pesudo-random numbers (PRNs) used in the Direct-Sequence Spread Spectrum modulation of GNSS signals.
Returns the C/A code PRN corresponding to a given PRN number. The 1023 chip PRN is packed one chip per bit into an array of 128 8-bit words. The final 1024th bit is zero for all PRNs.
prn | PRN number. |
prn
, packed one bit per chip.