Function prbs23
Source pub const fn prbs23(x: u32) -> u32
Expand description
Steps the 23-bit pseudo-random sequence the parity matrix is drawn from, appendix A.1.
§Arguments
§Returns
The next one.
§Examples
use pamoja_lorawan::packages::fragment::prbs23;
assert_eq!(prbs23(1), 1 << 22, "a one shifts out and feeds back");