pub const fn stop() -> ((u8, [u8; 3]), (u8, [u8; 0]))Expand description
Builds the two commands that end a carrier check.
§Returns
The register write that releases the radio, then the command that parks it. Both go out in this order, and the second takes no payload.
§Examples
use pamoja_radios::sx1302::lbt::{stop, OP_SET_FS, OP_WRITE_REGISTER};
let ((release_op, release), (park_op, park)) = stop();
assert_eq!(release_op, OP_WRITE_REGISTER);
assert_eq!(release, [0x08, 0x9b, 0x00], "clear the register that holds the check");
assert_eq!(park_op, OP_SET_FS);
assert!(park.is_empty());