CHAPTER 12 SERIAL INTERFACE FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
333
CSIEn
CSIn operation is disabled (SOn = low level, SCKn = high level)
CSIn operation is enabled
CSIEn
0
1
CSIn operation enable/disable specification
CSIMn
TRMDn
0
DIRn
0
0
0
CSOTn
After reset:
00H R/W
Address:
CSIM0: FFFFFD00H, CSIM1: FFFFFD10H, CSIM2: FFFFFD20H
CSIM3: FFFFFD30H, CSIM4
Note
: FFFFFD40H
•
If CSIEn is set to 0, the CSIn unit can be reset asynchronously.
•
If CSIEn = 0, the CSIn unit is in a reset state. Therefore, to operate CSIn, CSIEn
must be set to 1.
•
If the CSIEn bit is changed from 1 to 0, all registers of the CSIn unit are initialized.
To set CSIEn to 1 again, the registers of the CSIn unit must be set again.
Reception-only mode
Transmission/reception mode
TRMDn
0
1
Transmission mode specification
•
If TRMDn = 0, reception-only transfers are performed. In addition, the SOn pin
output is fixed at low level. Data reception is started by reading the SIOn register.
If TRMDn = 1, transmission/reception is started by writing data to the SOTBn
register.
•
The TRMDn bit can be overwritten only when CSOTn = 0.
MSB first
LSB first
DIRn
0
1
Transfer direction mode (MSB/LSB specification)
•
The DIRn bit can be overwritten only when CSOTn = 0.
Idle status
Transfer execution status
CSOTn
0
1
This is a transfer status display flag.
•
This flag is used to judge whether writing to the shift register (SIOn) is enabled or
not when starting serial data transmission in transmission/reception mode
(TRMDn = 1)
•
The CSOTn bit is reset when the CSIE bit is cleared (0).
<7>
<0>
<6>
Note
CSIM4: V850ES/SA3 only
Caution
Be sure to set bits 5 and 3 to 1 to 0.
Remark
n = 0 to 3 (V850ES/SA2)
n = 0 to 4 (V850ES/SA3)
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...