pub const fn setup() -> [Frame; 3]Expand description
The commands that bring a parked radio up for carrier checks.
§Returns
Parking the radio, pointing its buffers somewhere, and trading a little current for a
lower noise floor. The radio is asked for its status between the first and the second,
and Status::parked has to hold before the rest are worth sending.
§Examples
use pamoja_radios::sx1302::sx1261::{setup, OP_SET_BUFFER_BASE_ADDRESS, OP_SET_STANDBY};
let frames = setup();
assert_eq!(frames[0].opcode(), OP_SET_STANDBY);
assert_eq!(frames[1].opcode(), OP_SET_BUFFER_BASE_ADDRESS);
assert_eq!(frames[1].payload(), &[0x80, 0x80]);
assert_eq!(frames[2].payload(), &[0x08, 0xac, 0xcb], "the sensitivity register");