#[repr(C)]
pub struct RegisterBlock { pub ucb0ctl0: UCB0CTL0, pub ucb0ctl1: UCB0CTL1, pub ucb0br0: UCB0BR0, pub ucb0br1: UCB0BR1, pub ucb0i2cie: UCB0I2CIE, pub ucb0stat: UCB0STAT, pub ucb0rxbuf: UCB0RXBUF, pub ucb0txbuf: UCB0TXBUF, pub ucb0i2coa: UCB0I2COA, pub ucb0i2csa: UCB0I2CSA, /* private fields */ }
Expand description

Register block

Fields

ucb0ctl0: UCB0CTL0

0x00 - USCI B0 Control Register 0

ucb0ctl1: UCB0CTL1

0x01 - USCI B0 Control Register 1

ucb0br0: UCB0BR0

0x02 - USCI B0 Baud Rate 0

ucb0br1: UCB0BR1

0x03 - USCI B0 Baud Rate 1

ucb0i2cie: UCB0I2CIE

0x04 - USCI B0 I2C Interrupt Enable Register

ucb0stat: UCB0STAT

0x05 - USCI B0 Status Register

ucb0rxbuf: UCB0RXBUF

0x06 - USCI B0 Receive Buffer

ucb0txbuf: UCB0TXBUF

0x07 - USCI B0 Transmit Buffer

ucb0i2coa: UCB0I2COA

0xb0 - USCI B0 I2C Own Address

ucb0i2csa: UCB0I2CSA

0xb2 - USCI B0 I2C Slave Address

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.