pub struct RegisterBlock {
pub cr: CR,
pub sr: SR,
pub tr: TR,
pub rxdata: RXDATA,
pub txdata: TXDATA,
pub if_: IF,
pub ie: IE,
pub mcr: MCR,
pub clk: CLK,
pub scr: SCR,
pub saddr: SADDR,
/* private fields */
}Expand description
Register block
Fields§
§cr: CR0x00 - CR register
sr: SR0x04 - SR register
tr: TR0x08 - TR register
rxdata: RXDATA0x0c - RXDATA register
txdata: TXDATA0x10 - TXDATA register
if_: IF0x14 - IF register
ie: IE0x18 - IE register
mcr: MCR0x20 - MCR register
clk: CLK0x24 - CLK register
scr: SCR0x30 - SCR register
saddr: SADDR0x34 - SADDR register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more