Serial Operating Mode Register 0 Format - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 17 SERIAL INTERFACE CHANNEL 0 ( PD78058FY SUBSERIES)
Figure 17-4. Serial Operating Mode Register 0 Format
Symbol
7
6
5
CSIM0 CSIE0 COI
WUP
R/W
CSIM01
CSIM00
0
Input Clock to SCK0/SCL pin from off-chip
1
0
8-bit timer register 2 (TM2) output
1
1
Clock specified with bits 0 to 3 of timer clock select register 3 (TCL3)
R/W
CSIM
CSIM
CSIM
PM25 P25 PM26 P26 PM27 P27
04
03
02
Note 3
Note 3
0
0
1
1
Note 4 Note 4
0
1
1
1
0
R/W
WUP
0
Interrupt request signal generation with each serial transfer in any mode
Interrupt request signal generation when the address received after detecting start condition
1
(when CMDD = 1) matches the slave address register (SVA) data in I
R
COI
0
Slave address register (SVA) not equal to serial I/O shift register (SIO0) 0 data
1
Slave address register (SVA) equal to serial I/O shift register (SIO0) 0 data
R/W
CSIE0
0
Operation stopped
1
Operation enabled
Notes 1. Bit 6 (COI) is a read-only bit.
2
2. I
C bus mode, the clock frequency becomes 1/16 of that output from TO2.
3. Can be used as P25 (CMOS input/output) when used only for transmission.
4. Can be used freely as port function.
5. To use the wake-up function (WUP = 1), set the bit 5 (SIC) of the interrupt timing specify register
(SINT) to 1. Do not execute an instruction that writes the serial I/O shift register 0 (SIO0) while
WUP = 1.
6. When CSIE0 = 0, COI becomes 0.
Remark
PMXX : Port Mode Register
PXX
348
4
3
2
1
CSIM04 CSIM03 CSIM02 CSIM01 CSIM00
Serial Interface Channel 0 Clock Selection
Note2
Operation
Mode
3-wire serial
0
0
0
1
l/O mode
2-wire serial
0
0
0
1
l/O mode
or
2
I
C Bus Mode
Note 4 Note 4
0
0
1
Wake-up Function Control
Slave Address Comparison Result Flag
Serial Interface Channel 0 Operation Control
: don't care
: Port Output Latch
0
Address
After Reset
FF60H
00H
SI0/SB0/SDA0/
Start Bit
P25 Pin Function
MSB
SI0
Note 3
(Input)
LSB
MSB
P25 (CMOS
(N-ch open-drain
input/output)
SB0/SDA0
(N-ch open-drain
input/output)
Note 5
2
C bus mode
Note 6
R/W
R/W
Note 1
SO0/SB1/SDA1/
SCK0/SCL/P27
P26 Pin Function
Pin Function
SO0
SCK0 (CMOS
(CMOS output)
input/output)
SB1/SDA1
SCK0/SCL
(N-ch open-
input/output)
drain input/
output)
P26 (CMOS
input/output)

Advertisement

Table of Contents
loading

Table of Contents