Struct atsam4lc2b_pac::parc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub cfg: CFG,
pub cr: CR,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub sr: SR,
pub icr: ICR,
pub rhr: RHR,
pub version: VERSION,
}
Expand description
Register block
Fields§
§cfg: CFG
0x00 - Configuration Register
cr: CR
0x04 - Control Register
ier: IER
0x08 - Interrupt Enable Register
idr: IDR
0x0c - Interrupt Disable Register
imr: IMR
0x10 - Interrupt Mask Register
sr: SR
0x14 - Status Register
icr: ICR
0x18 - Interrupt Status Clear Register
rhr: RHR
0x1c - Receive Holding Register
version: VERSION
0x20 - Version Register
Auto Trait Implementations§
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