English
Language : 

W742C813 Datasheet, PDF (35/56 Pages) Winbond – 4 BIT MICROCONTROLLER
W742E/C813
5.19 Input Ports RC
Port RC consists of pins RC.0 to RC.3. Each pin of port RC can be connected to a pull-high resistor,
which is controlled by the port mode 0 register (PM0). When the PEF, HEF, and IEF corresponding to
the RC port are set, a signal change at the specified pins of port RC will execute the hold mode
release or interrupt subroutine. Port status register 0 (PSR0) records the status of signal changes on
the pins of port RC. PSR0 can be read out and cleared by the MOVA R, PSR0, and CLR PSR0
instructions. In addition, the falling edge signal on the pin of port RC specified by the instruction MOV
SEF, #I will cause the device to exit the stop mode. Refer to Figure 5-14 and the instruction table for
more details.
PM0.2
RC.0
PM0.2
RC.1
PM0.2
RC.2
PM0.2
RC.3
DATA BUS
Signal
change
detector
PEF.0
Signal
change
detector
PEF.1
Signal
change
detector
PEF.2
Signal
change
detector
PEF.3
D
PSR0.0
Q
ck R
D
Q
ck R
PSR0.1
D
Q
ck R
PSR0.2
D
Q
ck R
PSR0.3
DQ
ck R
EVF.2
HEF.2
IEF.2
HCF.2
INT 2
CLR EVF, #I
Reset
Falling
Edge
detector
Falling
Edge
detector
Falling
Edge
detector
Falling
Edge
detector
SEF.0
SEF.1
SEF.2
SEF.3
Reset
MOV PEF, #I
CLR PSR0
To Wake Up Stop Mode
Figure 5-14 Architecture of Input Ports RC
- 35 -
Publication Release Date: December 2000
Revision A1