Struct atsamd11c::port::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 13 fields
pub dir0: Reg<DIR_SPEC>,
pub dirclr0: Reg<DIRCLR_SPEC>,
pub dirset0: Reg<DIRSET_SPEC>,
pub dirtgl0: Reg<DIRTGL_SPEC>,
pub out0: Reg<OUT_SPEC>,
pub outclr0: Reg<OUTCLR_SPEC>,
pub outset0: Reg<OUTSET_SPEC>,
pub outtgl0: Reg<OUTTGL_SPEC>,
pub in0: Reg<IN_SPEC>,
pub ctrl0: Reg<CTRL_SPEC>,
pub wrconfig0: Reg<WRCONFIG_SPEC>,
pub pmux0_: [Reg<PMUX0__SPEC>; 16],
pub pincfg0_: [Reg<PINCFG0__SPEC>; 32],
/* private fields */
}Expand description
Register block
Fields
dir0: Reg<DIR_SPEC>0x00 - Data Direction
dirclr0: Reg<DIRCLR_SPEC>0x04 - Data Direction Clear
dirset0: Reg<DIRSET_SPEC>0x08 - Data Direction Set
dirtgl0: Reg<DIRTGL_SPEC>0x0c - Data Direction Toggle
out0: Reg<OUT_SPEC>0x10 - Data Output Value
outclr0: Reg<OUTCLR_SPEC>0x14 - Data Output Value Clear
outset0: Reg<OUTSET_SPEC>0x18 - Data Output Value Set
outtgl0: Reg<OUTTGL_SPEC>0x1c - Data Output Value Toggle
in0: Reg<IN_SPEC>0x20 - Data Input Value
ctrl0: Reg<CTRL_SPEC>0x24 - Control
wrconfig0: Reg<WRCONFIG_SPEC>0x28 - Write Configuration
pmux0_: [Reg<PMUX0__SPEC>; 16]0x30..0x40 - Peripheral Multiplexing n - Group 0
pincfg0_: [Reg<PINCFG0__SPEC>; 32]0x40..0x60 - Pin Configuration n - Group 0
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more