參數(shù)資料
型號: MC68HC05P1ADWR2
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
封裝: SOIC-28
文件頁數(shù): 82/124頁
文件大小: 623K
代理商: MC68HC05P1ADWR2
NON-DISCLOSURE
AGREEMENT
REQUIRED
Input/Output Ports
General Release Specification
MC68HC05P1A Rev. 3.0
60
Input/Output Ports
MOTOROLA
7.7 I/O Port Programming
Each pin on ports A through D (except pin 7 of port D) may be
programmed as an input or an output under software control as shown
is determined by the state of its corresponding bit in the associated port
data direction register (DDR). A pin is configured as an output if its
corresponding DDR bit is set to a logic 1. A pin is configured as an input
if its corresponding DDR bit is cleared to a logic 0.
Table 7-1. Port A I/O Pin Functions
DDRA
I/O Pin
Mode
Accesses to
DDRA @ $0004
Accesses to Data
Register @ $0000
IRQ
Source
Read/Write
Read
Write
0
Input, Hi-Z
DDRA0–DDRA7
I/O Pin
*
Enabled**
1
Output
DDRA0–DDRA7
PA0–PA7
Disabled
*Does not affect input, but stored to data register
**If enabled via mask option
Table 7-2. Port B I/O Pin Functions
DDRB
I/O Pin
Mode
Accesses to
DDRB @ $0005
Accesses to Data
Register @ $0001
Read/Write
Read
Write
0
Input, Hi-Z
DDRB5–DDRB7
I/O Pin
*
1
Output
DDRB0–DDRB7
PB5–PB7
*Does not affect input, but stored to data register
Table 7-3. Port C I/O Pin Functions
DDRC
I/O Pin
Mode
Accesses to
DDRC @ $0006
Accesses to Data
Register @ $0002
Read/Write
Read
Write
0
Input, Hi-Z
DDRC0–DDRA7
I/O Pin
*
1
Output
DDRC0–DDRA7
PC0–PC7
*Does not affect input, but stored to data register
相關(guān)PDF資料
PDF描述
MC68HSC05P1ADWR2 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO28
MC68HCL05P1ADWR2 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05P1P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HC05P3CDW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05P3P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05P1AP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05P1CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05P1CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05P1DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05P1P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit