參數(shù)資料
型號: MC68HC05V7CFU
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP64
封裝: QFP-64
文件頁數(shù): 144/170頁
文件大?。?/td> 980K
代理商: MC68HC05V7CFU
SECTION 9: PARALLEL I/O
MOTOROLA
Page 61
MC68HC05V7 Specification Rev. 1.0
SECTION 9
PARALLEL I/O
In the Single-Chip Mode there are 28 bidirectional I/O lines arranged as three 8-bit I/O ports
(Ports A, B and C) and one 4-bit I/O port (Port F), and 16 input only lines arranged as two
8-bit ports (Ports D and E). The individual bits in the I/O ports are programmable as either
inputs or outputs under software control by the data direction registers (DDRs). The Port A
and Port C pins also have the additional properties of acting as additional IRQ interrupt
input sources.
9.1
PORT A AND PORT C
Port A and Port C are 8-bit bidirectional ports which share all of their pins with the IRQ
interrupt system as shown in Figure 9-1. Each pin is controlled by the corresponding bits in
a data direction register and a data register. The Port A Data Register is located at address
$0000.The Port C Data Register is located at address $0002. The Port A Data Direction
Register (DDRA) is located at address $0004. The Port C Data Direction Register (DDRC)
is located at address $0006. Reset clears DDRA and DDRC. The Data Registers are
unaffected by reset.
Figure 9-1:
Port A and Port C I/O Circuitry
9.1.1
PORT A/C DATA REGISTERS
Each Port A/C I/O pin has a corresponding bit in the Port A/C Data Register. When a Port
A/C pin is programmed as an output the state of the corresponding data register bit
determines the state of the output pin. When a Port A/C pin is programmed as an input, any
to IRQ interrupt system
Port A/C Bits 0 thru 7
Read $0000/02
Write $0000/02
Read $0004/06
Data
Register Bit
I/O
Pin
Output
Internal HC05
Data Bus
Reset
(RST)
Write $0004/06
Data Direction
Register Bit
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相關(guān)PDF資料
PDF描述
MC68HC05X16FU 8-BIT, MROM, MICROCONTROLLER, PQFP64
MC68HC705X32FU 8-BIT, OTPROM, MICROCONTROLLER, PQFP64
MC68HC05X16MFU 8-BIT, MROM, MICROCONTROLLER, PQFP64
MC68HC05X32FU 8-BIT, MROM, MICROCONTROLLER, PQFP64
MC68HC705X32CFU4 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05X16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
MC68HC05X32 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
MC68HC05X4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05X4CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05X4DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit