Sck0/Scl/P27 Pin Output Manipulation - NEC 78014Y Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

16.4.8 SCK0/SCL/P27 pin output manipulation

The SCK0/SCL/P27 pin incorporates an output latch. Therefore, in addition to normal serial clock output, static
output from this pin is also possible by controlling the output latch with an instruction.
Manipulating the output latch through the software for the P27 pin, the value of serial clock can be selected by
software. (SI0/SB0/SDA0 and SO0/SB1/SDA1 pins are controlled with bit 0 (RELT) or bit 1 (CMDT) of SBIC.)
The SCK0/SCL/P27 pin output should be manipulated as described below.
(1) In the 3-wire serial I/O mode and the 2-wire serial I/O mode
Output level of SCK0/SCL/P27 pin is manipulated by the P27 output latch.
<1> Set serial operating mode register 0 (CSIM0) (SCK0 pin is set in the output mode and serial operation is
enabled). While serial transfer is suspended, SCK0 is set to 1.
<2> Manipulate the content of the P27 output latch by executing the bit manipulation instruction.
SCK0/SCL/P27
www.DataSheet4U.com
406
CHAPTER 16 SERIAL INTERFACE CHANNEL 0 ( µ PD78014Y Subseries)
Figure 16-50. SCK0/SCL/P27 Pin Configuration
CSIE0 = 1
and
CSIM01, CSIM00 are 1, 0 or 1, 1 respectively
P27
To internal circuit
output
latch
Manipulated by the
bit manipulation instruction
SCK0 (1 while transfer is suspended)
From serial clock
control circuit

Advertisement

Table of Contents
loading

Table of Contents