參數(shù)資料
型號: MC68HC05P18CP
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
封裝: PLASTIC, DIP-28
文件頁數(shù): 107/144頁
文件大?。?/td> 1348K
代理商: MC68HC05P18CP
Input/Output (I/O) Ports
Port B
MC68HC(8)05P18 — Rev. 2.0
Advance Information
MOTOROLA
Input/Output (I/O) Ports
65
7.4 Port B
Port B is a 3-bit bidirectional port which can share pins PB5–PB7 with
the serial input/output port (SIOP) communications subsystem. The port
B data register is located at address $0001 and its data direction register
(DDR) is located at address $0005. Reset does not affect the data
registers, but clears the DDRs, thereby setting all of the port pins to input
mode. Writing a logic 1 to a DDR bit sets the corresponding port pin to
output mode (see Figure 7-2).
Port B may be used for general I/O applications when the SIOP
subsystem is disabled. The SPE bit in register SPCR is used to
enable/disable the SIOP subsystem. When the SIOP subsystem is
enabled, port B registers are still accessible to software. Writing to either
of the port B registers while a data transfer is under way could corrupt
discussion of the SIOP subsystem.
Figure 7-2. Port B I/O Circuitry
DATA
REGISTER BIT
DATA DIRECTION
REGISTER BIT
READ $0001
WRITE $0001
READ $0005
I/O
PIN
OUTPUT
INTERNAL
HC05
DATA BUS
RESET
(RST)
WRITE $0005
相關PDF資料
PDF描述
MC68HC05P18MP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HC05P18MDW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05P1AP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HCL05P1ADW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05P2CFN 8-BIT, MROM, MICROCONTROLLER, PQCC32
相關代理商/技術參數(shù)
參數(shù)描述
MC68HC05P1A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05P1ADW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05P1AP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05P1CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05P1CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit