NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
211
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
USI_CNTRL
0XFFF8.6200
R/W
Control and Status Register
0x0000.0004
USI_DIVIDER
0xFFF8.6204
R/W
Clock Divider Register
0x0000.0000
USI_SSR
0xFFF8.6208
R/W
Slave Select Register
0x0000.0000
Reserved
0xFFF8.620C N/A
Reserved
N/A
USI_Rx0
0xFFF8.6210
R
Data Receive Register 0
0x0000.0000
USI_Rx1
0xFFF8.6214
R
Data Receive Register 1
0x0000.0000
USI_Rx2
0xFFF8.6218
R
Data Receive Register 2
0x0000.0000
USI_Rx3
0xFFF8.621C
R
Data Receive Register 3
0x0000.0000
USI_Tx0
0xFFF8.6210
W
Data Transmit Register 0
0x0000.0000
USI_Tx1
0xFFF8.6214
W
Data Transmit Register 1
0x0000.0000
USI_Tx2
0xFFF8.6218
W
Data Transmit Register 2
0x0000.0000
USI_Tx3
0xFFF8.621C
W
Data Transmit Register 3
0x0000.0000
NOTE 1: When software programs CNTRL, the GO_BUSY bit should be written last.
18.4 Functional Description
18.4.1 Active
Universal Serial Interface
To activate the USI, please follow the steps below:
1. Set the
TX_BIT_LEN
bit of
USI_CNTRL
register to set the transmit bit length
2. Set the
TX_NUM
bit of
USI_CNTRL
register to set the transfer numbers
3. Set the
GO_BUSY
bit of
USI_CNTRL
register to activate Universal Serial Interface
4. Polling
GO_BUSY
bit of
USI_CNTRL
register until it was cleared, or waiting
IF
interrupt of
USI_CNTRL
register
18.4.2
Initialize Universal Serial Interface
To initial the Universal Serial Interface, please follow the steps below:
1. Set
USI_DIVIDER
register to generate the serial clock on output clock