pub const fn target(chain: Chain) -> u8Expand description
Which front end a chain talks to.
§Arguments
chain- the chain the front end is on.
§Returns
The target byte every frame to that front end starts with.
§Examples
use pamoja_radios::sx1302::sx1250::target;
use pamoja_radios::sx1302::tx::Chain;
assert_eq!(target(Chain::A), 0x01);
assert_eq!(target(Chain::B), 0x02);