#[repr(C)]
pub struct RegisterBlock { pub ucb0ctl0: UCB0CTL0, pub ucb0ctl1: UCB0CTL1, pub ucb0br0: UCB0BR0, pub ucb0br1: UCB0BR1, pub ucb0stat: UCB0STAT, pub ucb0rxbuf: UCB0RXBUF, pub ucb0txbuf: UCB0TXBUF, /* 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

ucb0stat: UCB0STAT

0x05 - USCI B0 Status Register

ucb0rxbuf: UCB0RXBUF

0x06 - USCI B0 Receive Buffer

ucb0txbuf: UCB0TXBUF

0x07 - USCI B0 Transmit Buffer

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.