Struct msp430g2553::usci_b0_i2c_mode::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ucb0ctl0: Reg<UCB0CTL0_SPEC>,
pub ucb0ctl1: Reg<UCB0CTL1_SPEC>,
pub ucb0br0: Reg<UCB0BR0_SPEC>,
pub ucb0br1: Reg<UCB0BR1_SPEC>,
pub ucb0i2cie: Reg<UCB0I2CIE_SPEC>,
pub ucb0stat: Reg<UCB0STAT_SPEC>,
pub ucb0rxbuf: Reg<UCB0RXBUF_SPEC>,
pub ucb0txbuf: Reg<UCB0TXBUF_SPEC>,
pub ucb0i2coa: Reg<UCB0I2COA_SPEC>,
pub ucb0i2csa: Reg<UCB0I2CSA_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ucb0ctl0: Reg<UCB0CTL0_SPEC>
0x00 - USCI B0 Control Register 0
ucb0ctl1: Reg<UCB0CTL1_SPEC>
0x01 - USCI B0 Control Register 1
ucb0br0: Reg<UCB0BR0_SPEC>
0x02 - USCI B0 Baud Rate 0
ucb0br1: Reg<UCB0BR1_SPEC>
0x03 - USCI B0 Baud Rate 1
ucb0i2cie: Reg<UCB0I2CIE_SPEC>
0x04 - USCI B0 I2C Interrupt Enable Register
ucb0stat: Reg<UCB0STAT_SPEC>
0x05 - USCI B0 Status Register
ucb0rxbuf: Reg<UCB0RXBUF_SPEC>
0x06 - USCI B0 Receive Buffer
ucb0txbuf: Reg<UCB0TXBUF_SPEC>
0x07 - USCI B0 Transmit Buffer
ucb0i2coa: Reg<UCB0I2COA_SPEC>
0xb0 - USCI B0 I2C Own Address
ucb0i2csa: Reg<UCB0I2CSA_SPEC>
0xb2 - USCI B0 I2C Slave Address