[][src]Struct atsamd21e18a::port::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub dir0: DIR,
    pub dirclr0: DIRCLR,
    pub dirset0: DIRSET,
    pub dirtgl0: DIRTGL,
    pub out0: OUT,
    pub outclr0: OUTCLR,
    pub outset0: OUTSET,
    pub outtgl0: OUTTGL,
    pub in0: IN,
    pub ctrl0: CTRL,
    pub wrconfig0: WRCONFIG,
    pub pmux0_: [PMUX0_; 16],
    pub pincfg0_: [PINCFG0_; 32],
    // some fields omitted
}

Register block

Fields

dir0: DIR

0x00 - Data Direction

dirclr0: DIRCLR

0x04 - Data Direction Clear

dirset0: DIRSET

0x08 - Data Direction Set

dirtgl0: DIRTGL

0x0c - Data Direction Toggle

out0: OUT

0x10 - Data Output Value

outclr0: OUTCLR

0x14 - Data Output Value Clear

outset0: OUTSET

0x18 - Data Output Value Set

outtgl0: OUTTGL

0x1c - Data Output Value Toggle

in0: IN

0x20 - Data Input Value

ctrl0: CTRL

0x24 - Control

wrconfig0: WRCONFIG

0x28 - Write Configuration

pmux0_: [PMUX0_; 16]

0x30 - Peripheral Multiplexing n - Group 0

pincfg0_: [PINCFG0_; 32]

0x40 - Pin Configuration n - Group 0

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.