rf4463 0.1.0

A simple, no-std library for interfacing with the SI4463 transceiver IC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Tracks the state of our instance, *not* the state of the radio.
#[derive(Debug)]
pub enum InternalState<const PACKET_LEN: usize> {
    Idle,
    Rx {
        data: [u8; PACKET_LEN],
        i: usize,
        received: bool,
        rssi: Option<f64>,
    },
    Tx {
        data: [u8; PACKET_LEN],
        i: usize,
    },
}