Struct msp430g2553::usci_a0_spi_mode::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub uca0ctl0: UCA0CTL0,
pub uca0ctl1: UCA0CTL1,
pub uca0br0: UCA0BR0,
pub uca0br1: UCA0BR1,
pub uca0stat: UCA0STAT,
pub uca0rxbuf: UCA0RXBUF,
pub uca0txbuf: UCA0TXBUF,
/* private fields */
}
Expand description
Register block
Fields
uca0ctl0: UCA0CTL0
0x00 - USCI A0 Control Register 0
uca0ctl1: UCA0CTL1
0x01 - USCI A0 Control Register 1
uca0br0: UCA0BR0
0x02 - USCI A0 Baud Rate 0
uca0br1: UCA0BR1
0x03 - USCI A0 Baud Rate 1
uca0stat: UCA0STAT
0x05 - USCI A0 Status Register
uca0rxbuf: UCA0RXBUF
0x06 - USCI A0 Receive Buffer
uca0txbuf: UCA0TXBUF
0x07 - USCI A0 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