Struct msp430g2553::usci_b0_spi_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 ucb0stat: Reg<UCB0STAT_SPEC>,
pub ucb0rxbuf: Reg<UCB0RXBUF_SPEC>,
pub ucb0txbuf: Reg<UCB0TXBUF_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
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