Function standby
Source pub const fn standby(clock: Standby) -> Frame
Expand description
Parks the radio.
§Arguments
clock - which clock to park on.
§Returns
The command.
§Examples
use pamoja_radios::sx1302::sx1261::{standby, Standby, OP_SET_STANDBY};
let frame = standby(Standby::Rc);
assert_eq!(frame.opcode(), OP_SET_STANDBY);
assert_eq!(frame.payload(), &[0x00]);