English
Language : 

HMS87C13042A Datasheet, PDF (39/88 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C130XA/120XA/110XA
PORT RBFUNC.4~0
Description
RB4/
PWM0/
COMP0
0
RB4 (Normal I/O Port)
1
PWM0 Output /
Timer1 Compare Output
RB3/INT1
0
RB3 (Normal I/O Port)
1
External Interrupt Input 1
0
RB2 (Normal I/O Port)
RB2/INT0
1
External Interrupt Input 0
RB1/BUZ
0
RB1 (Normal I/O Port)
1
Buzzer Output
RB0/AN0/
AVREF
01
RB0 (Normal I/O Port)/
AN0 (ANSEL0=1)
12
External Analog Reference
Voltage
1. When ANSEL0 = “0”, this port is defined for normal I/O port
(RB0).
When ANSEL0 = “1” and ADS2~0 = “000”, this port can be
used Analog Input Port (AN0).
2. When this bit set to “1”, this port defined for AVREF, so it can
not be used Analog Input Port AN0 and Normal I/O Port
RB0.
9.3 RC and RCIO registers
RC is a 2-bit bidirectional I/O port (address C4H). Each
pin can be set individually as input and output through the
RCIO register (address C5H).
RC Data Register
ADDRESS : C4H
RESET VALUE : Undefined
RC
-
--
-
-
- RC1 RC0
RC Direction Register
RCIO
-
-
-
ADDRESS : C5H
RESET VALUE : ------00
-
-
-
INPUT / OUTPUT DATA
DIRECTION SELECT
0 : INPUT PORT
1 : OUTPUT PORT
Figure 9-4 Registers of Port RC
36
Apr. 2001 ver 1.0