Struct msp430fr6972::port_5_6::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show fields pub p5in: Reg<P5IN_SPEC>, pub p6in: Reg<P6IN_SPEC>, pub p5out: Reg<P5OUT_SPEC>, pub p6out: Reg<P6OUT_SPEC>, pub p5dir: Reg<P5DIR_SPEC>, pub p6dir: Reg<P6DIR_SPEC>, pub p5ren: Reg<P5REN_SPEC>, pub p6ren: Reg<P6REN_SPEC>, pub p5sel0: Reg<P5SEL0_SPEC>, pub p6sel0: Reg<P6SEL0_SPEC>, pub p5sel1: Reg<P5SEL1_SPEC>, pub p6sel1: Reg<P6SEL1_SPEC>, pub p5selc: Reg<P5SELC_SPEC>, pub p6selc: Reg<P6SELC_SPEC>, // some fields omitted
}

Register block

Fields

p5in: Reg<P5IN_SPEC>

0x00 - Port 5 Input

p6in: Reg<P6IN_SPEC>

0x01 - Port 6 Input

p5out: Reg<P5OUT_SPEC>

0x02 - Port 5 Output

p6out: Reg<P6OUT_SPEC>

0x03 - Port 6 Output

p5dir: Reg<P5DIR_SPEC>

0x04 - Port 5 Direction

p6dir: Reg<P6DIR_SPEC>

0x05 - Port 6 Direction

p5ren: Reg<P5REN_SPEC>

0x06 - Port 5 Resistor Enable

p6ren: Reg<P6REN_SPEC>

0x07 - Port 6 Resistor Enable

p5sel0: Reg<P5SEL0_SPEC>

0x0a - Port 5 Selection 0

p6sel0: Reg<P6SEL0_SPEC>

0x0b - Port 6 Selection 0

p5sel1: Reg<P5SEL1_SPEC>

0x0c - Port 5 Selection 1

p6sel1: Reg<P6SEL1_SPEC>

0x0d - Port 6 Selection 1

p5selc: Reg<P5SELC_SPEC>

0x16 - Port 5 Complement Selection

p6selc: Reg<P6SELC_SPEC>

0x17 - Port 6 Complement Selection

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.