NEC PD75402A User Manual page 88

4-bit single-chip microcomputer
Table of Contents

Advertisement

Remarks
1.
The operating mode can be selected according to the setting of CSIE and CSIM3.
CSIE
0
1
1
2.
The P10/SCK pin status depends on the setting of CSIE and CSIM0 as shown below.
CSIE
0
0
1
1
3.
The following procedure should be used to clear CSIE during a serial transfer.
Clear the interrupt enable flag to set the interrupt disabled state.
Clear CSIE.
Clear the interrupt request flag.
Example
1.
This example selects f
serial transfer, and selects the mode in which serial transfers are performed in the SBI mode with
the SB0 pin as the serial data bus.
MOV
MOV
2.
To enable serial transfers in accordance with the contents of CSIM.
SET1
CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS
CSIM3
Operation-halted mode
0
3-wire serial I/O mode
1
SBI mode
CSIM1
P10/SCK Pin Status
0
Input port
1
High-level output
0
Serial clock input (high impedance)
1
Serial clock output (high-level output)
4
/2
as the serial clock, generates an IRQCSI serial interrupt at the end of each
XX
XA, #10001010B
CSIM, XA
; CSIM
CSIE
Operating Mode
10001010B
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd75p402

Table of Contents