參數(shù)資料
型號: GMS81C5016-XXXDT
英文描述: MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
中文描述: 單片機| 8位|的CMOS |??苵 28腳|塑料
文件頁數(shù): 41/93頁
文件大小: 853K
代理商: GMS81C5016-XXXDT
GMS81C1404/GMS81C1408
June. 2001 Ver 1.2
39
10.4 RD and RDIO registers
RD is a 3-bit bidirectional I/O port (address C6
H
). Each
pin can be set individually as input and output through the
RDIO register (address C7
H
).
Figure 10-5 Registers of Port RD
In addition, Port RD is multiplexed with external interrupt
input function. The control register RDFUNC (address
CD
H
) controls to select alternate function. After reset, this
value is “0”, port may be used as general I/O ports. To se-
lect alternate function, write “1” to the corresponding bit of
RDFUNC.
Regardless of the direction register RDIO, RDFUNC is se-
lected to use as external interrupt input function, port pin
can be used as a interrupt input feature.
RD2 RD1 RD0
INPUT / OUTPUT DATA
0 : INPUT PORT
1 : OUTPUT PORT
DIRECTION SELECT
RD Data Register
RD
ADDRESS : C6H
RESET VALUE : Undefined
RD Direction Register
RDIO
ADDRESS : C7H
RESET VALUE : -----000
INT2I
RD Function Selection Register
RDFUNC
ADDRESS : CDH
RESET VALUE : 00000000
INT3I
0 : RD0
1 : INT2
0 : RD1
1 : INT3
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)
1 1: Both (Rising & Falling)
RD0 / INT2 Pull-up
RD1 / INT3 Pull-up
IED2L
IED2H
IED3L
IED3H
INT2
INT3
PUP2
PUP3
相關(guān)PDF資料
PDF描述
GMS81C5016-XXXPL MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
GMS81C5016-XXXPLT MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
GMS81C5016-XXXQ MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
GMS81C5016-XXXQT MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
GMS81C5016-XXXSK MICROCONTROLLER|8-BIT|CMOS|DIP|28PIN|PLASTIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81C5016-XXXPL 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
GMS81C5016-XXXPLT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
GMS81C5016-XXXQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
GMS81C5016-XXXQT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
GMS81C5016-XXXSK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|DIP|28PIN|PLASTIC