參數(shù)資料
型號: MC68HC05E5DW
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
封裝: SOIC-28
文件頁數(shù): 87/140頁
文件大?。?/td> 847K
代理商: MC68HC05E5DW
NON-DISCLOSURE
AGREEMENT
REQUIRED
Input/Output (I/O) Ports
General Release Specification
MC68HC05E5 Rev. 1.0
50
Input/Output (I/O) Ports
MOTOROLA
7.4 Port B
Port B is an 8-bit bidirectional port which does share some of its pins with
other subsystems. The address of the port B data register is $0001 and
the DDR is at address $0005. Reset does not affect the data registers,
but clears the data direction registers, thereby returning the ports to
inputs. Writing a one to a DDR bit sets the corresponding port bit to
port B behavior while either module is enabled.
7.5 Port C
Port C is a 4-bit bidirectional port which does not share any of its pins
with other subsystems. The port C data register is at $0002 and the DDR
is at $0006. Reset does not affect the data registers, but clears the data
direction registers, thereby returning the ports to inputs. Writing a one to
a DDR bit sets the corresponding port bit to output mode.
7.6 Input/Output Programming
Ports A, B, and C may be programmed as inputs or outputs under
software control. The direction of the pins is determined by the state of
the corresponding bit in the port DDR with each port having an
associated DDR. Any port A, port B, or port C 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.
At power-on or reset, all DDRs are cleared, which configures all port A,
B, and C pins as inputs. The data direction registers are capable of being
written to or read from by the processor. During the programmed output
state, a read of the data register actually reads the value of the output
data latch and not the I/O pin. See Table 7-1 and Figure 7-1.
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
..
.
相關PDF資料
PDF描述
MC68HC05J1ACP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC68HSC05J1ADW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO20
MC68HC05J1AP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC68HCL05J1ADW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO20
MC68HC05J3CP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
相關代理商/技術參數(shù)
參數(shù)描述
MC68HC05E5P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05E6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6CFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit