209
ABOV Semiconductor Co., Ltd.
11.12.24 Register Description for USIn
USInBD (USIn Baud- Rate Generation Register: For UART and SPI mode): E3H/F3H, n = 0, 1
Initial value: FFH
The value in this register is used to generate internal baud rate in asynchronous
mode or to generate SCKn clock in SPI mode. To prevent malfunction, do not write
‘0’ in asynchronous mode and do not write ‘0’ or ‘1’ in SPI mode.
NOTE)
1. In common with USInSAR register, USInBD register is used for
slave address register when the USIn I2C mode.
USInDR (USIn Data Register: For UART, SPI, and I2C mode): E5H/F5H, n = 0, 1
Initial value: 00H
The USIn transmit buffer and receive buffer share the same I/O address with this
DATA register. The transmit data buffer is the destination for data written to the
USInDR register. Reading the USInDR register returns the contents of the receive
buffer.
Write to this register only when the DREn flag is set. In SPI master mode, the SCK
clock is generated when data are written to this register.