[][src]Struct msp430fr4133::port_1_2::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub p1in: P1IN,
    pub p2in: P2IN,
    pub p1out: P1OUT,
    pub p2out: P2OUT,
    pub p1dir: P1DIR,
    pub p2dir: P2DIR,
    pub p1ren: P1REN,
    pub p2ren: P2REN,
    pub p1sel0: P1SEL0,
    pub p2sel0: P2SEL0,
    pub p1iv: P1IV,
    pub p1ies: P1IES,
    pub p2ies: P2IES,
    pub p1ie: P1IE,
    pub p2ie: P2IE,
    pub p1ifg: P1IFG,
    pub p2ifg: P2IFG,
    pub p2iv: P2IV,
    // some fields omitted
}

Register block

Fields

p1in: P1IN

0x00 - Port 1 Input

p2in: P2IN

0x01 - Port 2 Input

p1out: P1OUT

0x02 - Port 1 Output

p2out: P2OUT

0x03 - Port 2 Output

p1dir: P1DIR

0x04 - Port 1 Direction

p2dir: P2DIR

0x05 - Port 2 Direction

p1ren: P1REN

0x06 - Port 1 Resistor Enable

p2ren: P2REN

0x07 - Port 2 Resistor Enable

p1sel0: P1SEL0

0x0a - Port 1 Selection 0

p2sel0: P2SEL0

0x0b - Port 2 Selection 0

p1iv: P1IV

0x0e - Port 1 Interrupt Vector Word

p1ies: P1IES

0x18 - Port 1 Interrupt Edge Select

p2ies: P2IES

0x19 - Port 2 Interrupt Edge Select

p1ie: P1IE

0x1a - Port 1 Interrupt Enable

p2ie: P2IE

0x1b - Port 2 Interrupt Enable

p1ifg: P1IFG

0x1c - Port 1 Interrupt Flag

p2ifg: P2IFG

0x1d - Port 2 Interrupt Flag

p2iv: P2IV

0x1e - Port 2 Interrupt Vector Word

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.