Struct msp430fr6972::usci_b0_i2c_mode::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show fields pub ucb0ctl1: Reg<UCB0CTL1_SPEC>, pub ucb0ctl0: Reg<UCB0CTL0_SPEC>, pub ucb0ctlw1: Reg<UCB0CTLW1_SPEC>, pub ucb0br0: Reg<UCB0BR0_SPEC>, pub ucb0br1: Reg<UCB0BR1_SPEC>, pub ucb0stat_i2c: Reg<UCB0STAT_I2C_SPEC>, pub ucb0bcnt_i2c: Reg<UCB0BCNT_I2C_SPEC>, pub ucb0tbcnt: Reg<UCB0TBCNT_SPEC>, pub ucb0rxbuf: Reg<UCB0RXBUF_SPEC>, pub ucb0txbuf: Reg<UCB0TXBUF_SPEC>, pub ucb0i2coa0: Reg<UCB0I2COA0_SPEC>, pub ucb0i2coa1: Reg<UCB0I2COA1_SPEC>, pub ucb0i2coa2: Reg<UCB0I2COA2_SPEC>, pub ucb0i2coa3: Reg<UCB0I2COA3_SPEC>, pub ucb0addrx: Reg<UCB0ADDRX_SPEC>, pub ucb0addmask: Reg<UCB0ADDMASK_SPEC>, pub ucb0i2csa: Reg<UCB0I2CSA_SPEC>, pub ucb0iv: Reg<UCB0IV_SPEC>, // some fields omitted
}

Register block

Fields

ucb0ctl1: Reg<UCB0CTL1_SPEC>

0x00 - USCI B0 Control Register 1

ucb0ctl0: Reg<UCB0CTL0_SPEC>

0x01 - USCI B0 Control Register 0

ucb0ctlw1: Reg<UCB0CTLW1_SPEC>

0x02 - USCI B0 Control Word Register 1

ucb0br0: Reg<UCB0BR0_SPEC>

0x06 - USCI B0 Baud Rate 0

ucb0br1: Reg<UCB0BR1_SPEC>

0x07 - USCI B0 Baud Rate 1

ucb0stat_i2c: Reg<UCB0STAT_I2C_SPEC>

0x08 - USCI B0 Status Register

ucb0bcnt_i2c: Reg<UCB0BCNT_I2C_SPEC>

0x09 - USCI B0 Byte Counter Register

ucb0tbcnt: Reg<UCB0TBCNT_SPEC>

0x0a - USCI B0 Byte Counter Threshold Register

ucb0rxbuf: Reg<UCB0RXBUF_SPEC>

0x0c - USCI B0 Receive Buffer

ucb0txbuf: Reg<UCB0TXBUF_SPEC>

0x0e - USCI B0 Transmit Buffer

ucb0i2coa0: Reg<UCB0I2COA0_SPEC>

0x14 - USCI B0 I2C Own Address 0

ucb0i2coa1: Reg<UCB0I2COA1_SPEC>

0x16 - USCI B0 I2C Own Address 1

ucb0i2coa2: Reg<UCB0I2COA2_SPEC>

0x18 - USCI B0 I2C Own Address 2

ucb0i2coa3: Reg<UCB0I2COA3_SPEC>

0x1a - USCI B0 I2C Own Address 3

ucb0addrx: Reg<UCB0ADDRX_SPEC>

0x1c - USCI B0 Received Address Register

ucb0addmask: Reg<UCB0ADDMASK_SPEC>

0x1e - USCI B0 Address Mask Register

ucb0i2csa: Reg<UCB0I2CSA_SPEC>

0x20 - USCI B0 I2C Slave Address

ucb0iv: Reg<UCB0IV_SPEC>

0x2e - USCI B0 Interrupt Vector Register

Implementations

impl RegisterBlock[src]

pub fn ucb0ie_i2c(&self) -> &Reg<UCB0IE_I2C_SPEC>[src]

0x2a - USCI B0 Interrupt Enable Register

pub fn ucb0ie(&self) -> &Reg<UCB0IE_SPEC>[src]

0x2a - USCI B0 Interrupt Enable Register

pub fn ucb0ifg_i2c(&self) -> &Reg<UCB0IFG_I2C_SPEC>[src]

0x2c - USCI B0 Interrupt Flags Register

pub fn ucb0ifg(&self) -> &Reg<UCB0IFG_SPEC>[src]

0x2c - USCI B0 Interrupt Flags Register

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.