參數(shù)資料
型號(hào): MC68HC05JB3JP
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PDIP20
封裝: PLASTIC, DIP-20
文件頁數(shù): 91/148頁
文件大?。?/td> 1600K
代理商: MC68HC05JB3JP
November 5, 1998
GENERAL RELEASE SPECIFICATION
MC68HC05JB3
INPUT/OUTPUT PORTS
MOTOROLA
REV 1
7-1
SECTION 7
INPUT/OUTPUT PORTS
In normal operating mode there are 19 usable bidirectional I/O lines arranged as
one 8-bit I/O port (Port-A), one 7-bit I/O port (Port-B), and one 4-bit I/O port
(Port C). The individual bits in these ports are programmable as either inputs or
outputs under software control by the data direction registers (DDRs).
The eight port pins, PB4-PB7 and PC0-PC3, are only available on the 28-pin
version of the device.
Table 7-1 shows a summary of Port-A, Port-B, and Port-C functions.
7.1
PORT-A
Port-A is an 8-bit bi-directional port. The Port-A data register is at $0000 and the
data direction register (DDRA) is at $0004. Reset does not affect the data regis-
ters, but clears the data direction registers, thereby returning the port pins to
inputs. Writing a ‘1’ to a DDR bit sets the corresponding port bit to output mode.
All Port-A pins have programmable pull-down resistors. PA4 to PA7 each has 8mA
current sink capability.
The table below summarizes the pin congurations for Port-A.
Table 7-1. Summary of Port Pin Functions
Port Pins
Internal Resistor
Configuration
Current
Drive/Sink
Additional Features
PA0-PA3
Pull-down1
1.6mA sink
External Interrupt2
Optical Interface
PA4-PA7
8mA sink
PB0
1.6mA sink
shared with TCAP
PB1, PB2
Pull-up1
25mA sink,
open-drain
Slow Transition Output
PB4-PB7
Pull-down1
1.6mA sink
Pins available only
in 28-pin device
PC0
shared with OCMP
PC1-PC3
Notes:
1.
A pull-up/pull-down resistor is enabled by setting the corresponding register bit to “0” and the
port pull-up/down mask option is selected.
2.
Selected by mask option.
相關(guān)PDF資料
PDF描述
MC68HC05K3CSD 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDSO20
MC68HC05K3P 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP16
MC68HC05L25PB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP52
MC68HC05LJ5P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP16
MC68HC05M4CFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC52
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05JJ6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification Microcontrollers
MC68HC05JJ6CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification Microcontrollers
MC68HC05JJ6CDWE 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification Microcontrollers
MC68HC05JJ6CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification Microcontrollers
MC68HC05JJ6CPE 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification Microcontrollers