[][src]Struct msp430g2553::port_1_2::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub p1in: P1IN,
    pub p1out: P1OUT,
    pub p1dir: P1DIR,
    pub p1ifg: P1IFG,
    pub p1ies: P1IES,
    pub p1ie: P1IE,
    pub p1sel: P1SEL,
    pub p1ren: P1REN,
    pub p2in: P2IN,
    pub p2out: P2OUT,
    pub p2dir: P2DIR,
    pub p2ifg: P2IFG,
    pub p2ies: P2IES,
    pub p2ie: P2IE,
    pub p2sel: P2SEL,
    pub p2ren: P2REN,
    pub p1sel2: P1SEL2,
    pub p2sel2: P2SEL2,
    // some fields omitted
}

Register block

Fields

p1in: P1IN

0x00 - Port 1 Input

p1out: P1OUT

0x01 - Port 1 Output

p1dir: P1DIR

0x02 - Port 1 Direction

p1ifg: P1IFG

0x03 - Port 1 Interrupt Flag

p1ies: P1IES

0x04 - Port 1 Interrupt Edge Select

p1ie: P1IE

0x05 - Port 1 Interrupt Enable

p1sel: P1SEL

0x06 - Port 1 Selection

p1ren: P1REN

0x07 - Port 1 Resistor Enable

p2in: P2IN

0x08 - Port 2 Input

p2out: P2OUT

0x09 - Port 2 Output

p2dir: P2DIR

0x0a - Port 2 Direction

p2ifg: P2IFG

0x0b - Port 2 Interrupt Flag

p2ies: P2IES

0x0c - Port 2 Interrupt Edge Select

p2ie: P2IE

0x0d - Port 2 Interrupt Enable

p2sel: P2SEL

0x0e - Port 2 Selection

p2ren: P2REN

0x0f - Port 2 Resistor Enable

p1sel2: P1SEL2

0x21 - Port 1 Selection 2

p2sel2: P2SEL2

0x22 - Port 2 Selection 2

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, 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.