253
CHAPTER 15 SERIAL INTERFACE (SIO30)
Preliminary User’s Manual U13420EJ2V0UM00
15.3 Register to Control Serial Interface (SIO30)
The serial interface (SIO30) uses the following type of register to control functions.
• Serial operation mode register 30 (CSIM30)
(1) Serial operation mode register 30 (CSIM30)
This register is used to enable or disable SIO30’s serial clock, operation modes, and specific operations.
CSIM30 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets CSIM30 to 00H.
Caution
In 2-wire serial I/O mode, set the port mode register (PMXX) as follows. In each case, set the output
latch to 0.
• During serial clock output (master transmission or master reception)
Set P74 (SCK30) to output mode (PM74 = 0)
• During serial clock input (slave transmission or slave reception)
Set P74 to input mode (PM74 = 1)
• During transmit mode
Set P75 (SDIO30) to output mode (PM75 = 0)
• During receive mode
Set P75 (SDIO30) to input mode (PM75 = 1)
Figure 15-2. Format of Serial Operation Mode Register 30 (CSIM30)
Address: FFB0H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
CSIM30
CSIE30
0
0
0
0
MODE0
SCL301
SCL300
CSIE30
Enable/disable specification for SIO30
Shift register operation
Serial counter
Port
0
Operation stop
Clear
Port function
Note
1
Operation enable
Count operation enable
Serial function
MODE0
Transfer operation modes and flags
Operation mode
Transfer start trigger
0
Transmit mode
Write to SIO30
1
Receive mode
Read from SIO30
SCL301
SCL300
Clock selection
0
0
External clock input to SCK30
0
1
f
X
/2
5
(262 kHz)
1
0
f
X
/2
6
(131 kHz)
1
1
f
X
/2
7
(65.5 kHz)
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...