|
ptt-fhss
Bare-metal PTT firmware for nRF52840 with FHSS
|
FHSS channel sequencer implementation. More...
Functions | |
| void | fhss_init (void) |
| Reset the slot counter to zero. | |
| uint8_t | fhss_next_channel (void) |
| Return the next channel in the hopping sequence and advance the slot. | |
| void | fhss_sync_tick (void) |
| Advance the slot counter by one (receiver side, no packet received). | |
| void | fhss_set_slot (uint32_t s) |
| Force the slot counter to a specific value for RX synchronisation. | |
| uint32_t | fhss_get_slot (void) |
| Return the current slot counter value. | |
Variables | |
| static const uint8_t | shared_key [16] |
| static uint32_t | slot |
FHSS channel sequencer implementation.
| uint32_t fhss_get_slot | ( | void | ) |
Return the current slot counter value.
| void fhss_init | ( | void | ) |
Reset the slot counter to zero.
| uint8_t fhss_next_channel | ( | void | ) |
Return the next channel in the hopping sequence and advance the slot.
| void fhss_set_slot | ( | uint32_t | s | ) |
Force the slot counter to a specific value for RX synchronisation.
| s | New slot value. |
| void fhss_sync_tick | ( | void | ) |
Advance the slot counter by one (receiver side, no packet received).
|
static |
|
static |