Skip to main content

arbiter_status

Function arbiter_status 

Source
pub const fn arbiter_status(register: u8) -> Register
Expand description

One of the sixteen registers the arbiter reports through.

§Arguments

  • register - which of the sixteen, from zero. Higher is clamped to fifteen.

§Returns

The register.

§Examples

use pamoja_radios::sx1302::register::arbiter_status;

// The first carries the firmware version the arbiter is running.
assert!(arbiter_status(0).read_only);
assert_eq!(arbiter_status(15).address - arbiter_status(0).address, 15);