pub const fn agc_mailbox_read(mailbox: u8) -> RegisterExpand description
One of the four mailboxes the microcontroller answers through.
These count downward as well, and sit above the ones the host writes.
§Arguments
mailbox- which of the four, from zero. Higher is clamped to three.
§Returns
The register.
§Examples
use pamoja_radios::sx1302::register::{agc_mailbox_read, agc_mailbox_write};
// A setting is written to one mailbox and read back from another.
assert!(agc_mailbox_read(0).address > agc_mailbox_write(0).address);
assert!(agc_mailbox_read(0).read_only);