mn_random_lfsr.cpp File Reference
Macros | |
#define | NM_THREAD_CONFIG_RANDOM_LFSR_PM32 0xB4BCD35C |
#define | NM_THREAD_CONFIG_RANDOM_LFSR_PM31 0x7A5BC2E3 |
#define | MN_RANDOM_LFSR_SHIF(LFSR, POLYMASK) ( ((LFSR & 1) != 0U) ? ( (LFSR >>= 1) ^ POLYMASK) : (LFSR >>= 1) ) |
Macro Definition Documentation
◆ MN_RANDOM_LFSR_SHIF
#define MN_RANDOM_LFSR_SHIF | ( | LFSR, | |
POLYMASK | |||
) | ( ((LFSR & 1) != 0U) ? ( (LFSR >>= 1) ^ POLYMASK) : (LFSR >>= 1) ) |
◆ NM_THREAD_CONFIG_RANDOM_LFSR_PM31
#define NM_THREAD_CONFIG_RANDOM_LFSR_PM31 0x7A5BC2E3 |
◆ NM_THREAD_CONFIG_RANDOM_LFSR_PM32
#define NM_THREAD_CONFIG_RANDOM_LFSR_PM32 0xB4BCD35C |