Struct msp430g2553::usci_a0_uart_mode::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub uca0abctl: UCA0ABCTL,
pub uca0irtctl: UCA0IRTCTL,
pub uca0irrctl: UCA0IRRCTL,
pub uca0ctl0: UCA0CTL0,
pub uca0ctl1: UCA0CTL1,
pub uca0br0: UCA0BR0,
pub uca0br1: UCA0BR1,
pub uca0mctl: UCA0MCTL,
pub uca0stat: UCA0STAT,
pub uca0rxbuf: UCA0RXBUF,
pub uca0txbuf: UCA0TXBUF,
/* private fields */
}
Expand description
Register block
Fields
uca0abctl: UCA0ABCTL
0x01 - USCI A0 LIN Control
uca0irtctl: UCA0IRTCTL
0x02 - USCI A0 IrDA Transmit Control
uca0irrctl: UCA0IRRCTL
0x03 - USCI A0 IrDA Receive Control
uca0ctl0: UCA0CTL0
0x04 - USCI A0 Control Register 0
uca0ctl1: UCA0CTL1
0x05 - USCI A0 Control Register 1
uca0br0: UCA0BR0
0x06 - USCI A0 Baud Rate 0
uca0br1: UCA0BR1
0x07 - USCI A0 Baud Rate 1
uca0mctl: UCA0MCTL
0x08 - USCI A0 Modulation Control
uca0stat: UCA0STAT
0x09 - USCI A0 Status Register
uca0rxbuf: UCA0RXBUF
0x0a - USCI A0 Receive Buffer
uca0txbuf: UCA0TXBUF
0x0b - 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