222
User’s Manual U11969EJ3V0UM00
CHAPTER 8 SERIAL INTERFACE FUNCTION
8.3.3 Control registers
(1) Clocked serial interface mode register 0 to 3 (CSIM0 to CSIM3)
These registers specify the basic operation mode of CSIn.
They can be read/written in 8- or 1-bit units (note, however, that bit 5 can only be read).
Bit Position
Bit Name
Function
7
CTXEn
CSI Transmit Enable
Enables or disables transmission.
0 : Disables transmission
1 : Enables transmission
When CTXEn = “0”, both SOn and SIn pins go into high-impedance state.
6
CRXEn
CSI Receive Enable
Disables or enables reception.
0 : Disables reception
1 : Enables reception
If serial clock is received when both transmission is enabled (CTXEn = 1) and reception is
disabled, “0” is input to shift register.
If this bit is set to reception disabled status (CRXEn = 0) during receive operation, the
contents of the SIOn register become undefined.
5
CSOTn
CSI Status of Transmission
Indicates that transfer operation is in progress.
Set (1)
: Transmission enable and start timing (writing to SIO0 register)
Clear (0) : Transmission cleared and end timing (INTCSI occurs)
This bit is used to check whether writing to serial I/O shift register (SIO) is permitted or not.
Serial data transfer is started by enabling transmission (CTXEn = 1).
2
MODn
Mode
Specifies operation mode.
0 : MSB first
1 : LSB first
Remark
n = 0 to 3
Address
FFFFF088H
7
CTXE0
CSIM0
6
CRXE0
5
CSOT0
4
0
3
0
2
MOD0
1
CLS01
0
CLS00
After reset
00H
Address
FFFFF098H
After reset
00H
Address
FFFFF0A8H
After reset
00H
Address
FFFFF0B8H
After reset
00H
CTXE1
CSIM1
CRXE1
CSOT1
0
0
MOD1
CLS11
CLS10
CTXE2
CSIM2
CRXE2
CSOT2
0
0
MOD2
CLS21
CLS20
CTXE3
CSIM3
CRXE3
CSOT3
0
0
MOD3
CLS31
CLS30
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...