peary::utils::LFSR
peary::utils::LFSR
Linear Feedback Shift Register (LFSR) class.
#include <peary/utils/lfsr.hpp>
Public Functions
| Name | |
|---|---|
| uint16_t | LUT13(uint16_t )Lookup Table for 5-bit XNOR LFSR counters. |
| uint16_t | LUT13_inverse(uint16_t )Inverse Lookup Table for 5-bit XNOR LFSR counters. |
| uint8_t | LUT8(uint8_t )Lookup Table for 8-bit XNOR LFSR counters. |
| uint8_t | LUT8_inverse(uint8_t )Inverse Lookup Table for 8-bit XNOR LFSR counters. |
| uint8_t | LUT5(uint8_t )Lookup Table for 13-bit XNOR LFSR counters. |
| uint8_t | LUT5_inverse(uint8_t )Inverse Lookup Table for 13-bit XNOR LFSR counters. |
Public Functions Documentation
function LUT13
static uint16_t LUT13(
uint16_t
)
Lookup Table for 5-bit XNOR LFSR counters.
Return: The corresponding 5-bit value from the lookup table
function LUT13_inverse
static uint16_t LUT13_inverse(
uint16_t
)
Inverse Lookup Table for 5-bit XNOR LFSR counters.
Return: The corresponding 5-bit value from the inverse lookup table
function LUT8
static uint8_t LUT8(
uint8_t
)
Lookup Table for 8-bit XNOR LFSR counters.
Return: The corresponding 8-bit value from the lookup table
function LUT8_inverse
static uint8_t LUT8_inverse(
uint8_t
)
Inverse Lookup Table for 8-bit XNOR LFSR counters.
Return: The corresponding 8-bit value from the inverse lookup table
function LUT5
static uint8_t LUT5(
uint8_t
)
Lookup Table for 13-bit XNOR LFSR counters.
Return: The corresponding 13-bit value from the lookup table
function LUT5_inverse
static uint8_t LUT5_inverse(
uint8_t
)
Inverse Lookup Table for 13-bit XNOR LFSR counters.
Return: The corresponding 13-bit value from the inverse lookup table
Updated on 2025-11-14 at 11:31:23 +0100