Struct msp430g2553::usci_b0_spi_mode::RegisterBlock
source · [−]#[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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more