參數(shù)資料
型號(hào): HT48C70-1
廠商: Holtek Semiconductor Inc.
英文描述: I/O Type 8-Bit MCU
中文描述: I / O型8位微控制器
文件頁(yè)數(shù): 18/40頁(yè)
文件大?。?/td> 273K
代理商: HT48C70-1
HT48R70A-1/HT48C70-1
Rev. 1.60
18
June 9, 2004
Input/Output Ports
There are 56 bidirectional input/output lines in the
microcontroller, labeled from PA to PG, which are
mapped to the data memory of [12H], [14H], [16H],
[18H], [1AH], [1CH] and [1EH] respectively. All of these
I/O ports can be used for input and output operations.
For input operation, these ports are non-latching, that is,
the inputs must be ready at the T2 rising edge of
instruction MOV A,[m] (m=12H, 14H, 16H, 18H, 1AH,
1CH or 1EH). For output operation, all the data is
latched and remains unchanged until the output latch is
rewritten.
Each I/O line has its own control register (PAC, PBC,
PCC, PDC, PEC, PFC, PGC) to control the input/output
configuration. With this control register, CMOS output or
Schmitt trigger input with or without pull-high resistor
structures can be reconfigured dynamically (i.e.
on-the-fly) under software control. To function as an in-
put, the corresponding latch of the control register must
write 1 . The input source also depends on the control
register. If the control register bit is 1 , the input will
read the pad state. If the control register bit is 0 , the
contents of the latches will move to the internal bus. The
latter is possible in the read-modify-write instruction.
For output function, CMOS is the only configuration.
These control registers are mapped to locations 13H,
15H, 17H, 19H, 1BH, 1DH and 1FH.
Afterachipreset,theseinput/outputlinesremainathigh
levels or floating state (depending on the pull-high op-
tions). Each bit of these input/output latches can be set
or cleared by SET [m].i and CLR [m].i (m=12H, 14H,
16H, 18H, 1AH, 1CH or 1EH) instructions.
Some instructions first input data and then follow the
output operations. For example,
SET [m].i ,
CLR
[m].i , CPL [m] , CPLA [m] read the entire port states
into the CPU, execute the defined operations
(bit-operation), and then write the results back to the
latches or the accumulator.
Each line of port A has the capability of waking-up the
device.
There is a pull-high option available for all I/O lines (port
option). Once the pull-high option of an I/O line is se-
lected, the I/O line have pull-high resistor. Otherwise,
the pull-high resistor is absent. It should be noted that a
non-pull-high I/O line operating in input mode will cause
a floating state.
+
,
-
+
- ,
+
,
+
,
+
,
1
+
1 ,
&
+
& ,
+
,
!
( '
=
;
7
(
) 9
" (
(
!
F
F
) ( -
( -
!
'
(
) (
!
$
(
!
" (
) (
!
'
(
(
!
( -
F
F
Input/Output Ports
相關(guān)PDF資料
PDF描述
HT48R70A-1 I/O Type 8-Bit MCU
HT48C70 8-Bit Microcontroller Series
HT48CA0-2 Remote Type 8-Bit MCU
HT48RA0 Remote Type 8-Bit MCU
HT48RA0-2 Remote Type 8-Bit MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT48C75(40DIP-A0) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
HT48C75(40DIP-B0) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
HT48C75(64QFP-A0) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
HT48C75(64QFP-B0) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
HT48CA0 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-bit Microcontroller