[][src]Struct atsamd51g19a::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 evctrl0: EVCTRL,
    pub pmux0_: [PMUX0_; 16],
    pub pincfg0_: [PINCFG0_; 32],
    pub dir1: DIR,
    pub dirclr1: DIRCLR,
    pub dirset1: DIRSET,
    pub dirtgl1: DIRTGL,
    pub out1: OUT,
    pub outclr1: OUTCLR,
    pub outset1: OUTSET,
    pub outtgl1: OUTTGL,
    pub in1: IN,
    pub ctrl1: CTRL,
    pub wrconfig1: WRCONFIG,
    pub evctrl1: EVCTRL,
    pub pmux1_: [PMUX1_; 16],
    pub pincfg1_: [PINCFG1_; 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

evctrl0: EVCTRL

0x2c - Event Input Control

pmux0_: [PMUX0_; 16]

0x30 - Peripheral Multiplexing - Group 0

pincfg0_: [PINCFG0_; 32]

0x40 - Pin Configuration - Group 0

dir1: DIR

0x80 - Data Direction

dirclr1: DIRCLR

0x84 - Data Direction Clear

dirset1: DIRSET

0x88 - Data Direction Set

dirtgl1: DIRTGL

0x8c - Data Direction Toggle

out1: OUT

0x90 - Data Output Value

outclr1: OUTCLR

0x94 - Data Output Value Clear

outset1: OUTSET

0x98 - Data Output Value Set

outtgl1: OUTTGL

0x9c - Data Output Value Toggle

in1: IN

0xa0 - Data Input Value

ctrl1: CTRL

0xa4 - Control

wrconfig1: WRCONFIG

0xa8 - Write Configuration

evctrl1: EVCTRL

0xac - Event Input Control

pmux1_: [PMUX1_; 16]

0xb0 - Peripheral Multiplexing - Group 1

pincfg1_: [PINCFG1_; 32]

0xc0 - Pin Configuration - Group 1

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self