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

#[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

0x00 - Port 1 Input

0x01 - Port 1 Output

0x02 - Port 1 Direction

0x03 - Port 1 Interrupt Flag

0x04 - Port 1 Interrupt Edge Select

0x05 - Port 1 Interrupt Enable

0x06 - Port 1 Selection

0x07 - Port 1 Resistor Enable

0x08 - Port 2 Input

0x09 - Port 2 Output

0x0a - Port 2 Direction

0x0b - Port 2 Interrupt Flag

0x0c - Port 2 Interrupt Edge Select

0x0d - Port 2 Interrupt Enable

0x0e - Port 2 Selection

0x0f - Port 2 Resistor Enable

0x21 - Port 1 Selection 2

0x22 - Port 2 Selection 2

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock