Skip to main content

arbiter_config

Function arbiter_config 

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

One of the four registers the arbiter is configured through.

Unlike the mailboxes, these count upward.

§Arguments

  • register - which of the four, from zero. Higher is clamped to three.

§Returns

The register.

§Examples

use pamoja_radios::sx1302::register::arbiter_config;

assert_eq!(arbiter_config(1).address - arbiter_config(0).address, 1);