Struct msp430g2553::usci_b0_i2c_mode::RegisterBlock
source · [−]#[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
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