Struct msp430f5529::usci_b0_i2c_mode::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ucb0ctl1: Reg<UCB0CTL1_SPEC>,
pub ucb0ctl0: Reg<UCB0CTL0_SPEC>,
pub ucb0br0: Reg<UCB0BR0_SPEC>,
pub ucb0br1: Reg<UCB0BR1_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>,
pub ucb0ie: Reg<UCB0IE_SPEC>,
pub ucb0ifg: Reg<UCB0IFG_SPEC>,
pub ucb0iv: Reg<UCB0IV_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ucb0ctl1: Reg<UCB0CTL1_SPEC>
0x00 - USCI B0 Control Register 1
ucb0ctl0: Reg<UCB0CTL0_SPEC>
0x01 - USCI B0 Control Register 0
ucb0br0: Reg<UCB0BR0_SPEC>
0x06 - USCI B0 Baud Rate 0
ucb0br1: Reg<UCB0BR1_SPEC>
0x07 - USCI B0 Baud Rate 1
ucb0stat: Reg<UCB0STAT_SPEC>
0x0a - USCI B0 Status Register
ucb0rxbuf: Reg<UCB0RXBUF_SPEC>
0x0c - USCI B0 Receive Buffer
ucb0txbuf: Reg<UCB0TXBUF_SPEC>
0x0e - USCI B0 Transmit Buffer
ucb0i2coa: Reg<UCB0I2COA_SPEC>
0x10 - USCI B0 I2C Own Address
ucb0i2csa: Reg<UCB0I2CSA_SPEC>
0x12 - USCI B0 I2C Slave Address
ucb0ie: Reg<UCB0IE_SPEC>
0x1c - USCI B0 Interrupt Enable Register
ucb0ifg: Reg<UCB0IFG_SPEC>
0x1d - USCI B0 Interrupt Flags Register
ucb0iv: Reg<UCB0IV_SPEC>
0x1e - USCI B0 Interrupt Vector Register