參數(shù)資料
型號(hào): GMS81C5016-XXXQ
英文描述: MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
中文描述: 單片機(jī)| 8位|的CMOS | QFP封裝| 44PIN |塑料
文件頁(yè)數(shù): 38/93頁(yè)
文件大?。?/td> 853K
代理商: GMS81C5016-XXXQ
GMS81C1404/GMS81C1408
36
June. 2001 Ver 1.2
10.2 RB and RBIO registers
RB is a 5-bit bidirectional I/O port (address C2
H
). Each
pin can be set individually as input and output through the
RBIO register (address C3
H
). In addition, Port RB is mul-
tiplexed with various special features. The control register
RBFUNC (address CB
H
) controls to select alternate func-
tion. After reset, this value is “0”, port may be used as gen-
eral I/O ports. To select alternate function such as External
interrupt or Timer compare output, write “1” to the corre-
sponding bit of RBFUNC.
Figure 10-3 Registers of Port RB
Regardless of the direction register RBIO, RBFUNC is se-
lected to use as alternate functions, port pin can be used as
a corresponding alternate features.
RB5
RB4 RB3 RB2 RB1 RB0
INPUT / OUTPUT DATA
0 : INPUT PORT
1 : OUTPUT PORT
DIRECTION SELECT
RB Data Register
RB
ADDRESS : C2H
RESET VALUE : Undefined
RB Direction Register
RBIO
ADDRESS : C3H
RESET VALUE : 00000000
AVREFS
RB Function Selection Register
RBFUNC
ADDRESS : CBH
RESET VALUE : 00000000
BUZO
INT0I
INT1I
PWM0O
0 : RB0 when ANSEL0 = 0
AN0 when ANSEL0 = 1
1 : AVref
0 : RB1
1 : BUZ Output
0 : RB4
1 : PWM0 Output or
Compare Output
0 : RB2
1 : INT0
0 : RB3
1 : INT1
PUP0
Pull-up Selection Register
PUPSEL
ADDRESS : CCH
RESET VALUE : ----0000
-
PUP1
-
-
-
0 : No Pull-up
1 : With Pull-up
0 : No Pull-up
1 : With Pull-up
IED0L
Interrupt Edge Selection Register
IEDS
ADDRESS : E6H
RESET VALUE : 00000000
IED0H
IED1L
IED1H
External Interrupt Edge Select
INT0
INT1
00 : Normal I/O port
01 : Falling (1-to-0 transition)
10 : Rising (0-to-1 transition)
11 : Both (Rising & Falling)
RB2 / INT0 Pull-up
RB3 / INT1 Pull-up
RB6
RB7
PWM1O
TMR2OV
EC1I
IED2L
IED2H
IED3L
IED3H
INT2
INT3
0 : RB5
1 : PWM1 Output or
Compare Output
0 : RB6
1 : EC1
0 : RB7
1 : TMR2OV
PUP2
PUP3
相關(guān)PDF資料
PDF描述
GMS81C5016-XXXQT MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
GMS81C5016-XXXSK MICROCONTROLLER|8-BIT|CMOS|DIP|28PIN|PLASTIC
GMS81C5024-XXX MICROCONTROLLER|8-BIT|CMOS|DIP|40PIN|PLASTIC
GMS81C5024-XXXD MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
GMS81C5024-XXXDT MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81C5016-XXXQT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
GMS81C5016-XXXSK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|DIP|28PIN|PLASTIC
GMS81C5024 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE CHIP MICROCONTROLLERS
GMS81C5024-XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|DIP|40PIN|PLASTIC
GMS81C5024-XXXD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC