pub const fn start_delay_bytes(delay: u16) -> [u8; 2]Expand description
Splits a start delay into the two bytes the chip takes.
§Arguments
delay- whatstart_delayworked out.
§Returns
The bytes, most significant first, which is the order this one register takes them in. It is the opposite of the trigger, which is easy to get backwards.
§Examples
use pamoja_radios::sx1302::tx::start_delay_bytes;
assert_eq!(start_delay_bytes(0x1234), [0x12, 0x34]);