[][src]Struct circuit_playground_express::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], 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 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

pmux0_: [PMUX0_; 16]

0x30 - Peripheral Multiplexing n - Group 0

pincfg0_: [PINCFG0_; 32]

0x40 - Pin Configuration n - 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

pmux1_: [PMUX1_; 16]

0xb0 - Peripheral Multiplexing n - Group 1

pincfg1_: [PINCFG1_; 32]

0xc0 - Pin Configuration n - Group 1

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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