参数资料
型号: MC68HC05C8ACB
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP42
封装: SHRINK, PLASTIC, DIP-42
文件页数: 104/156页
文件大小: 755K
代理商: MC68HC05C8ACB
Input/Output (I/O) Ports
Port D
MC68HC05C8A Rev. 3.0
General Release Specification
MOTOROLA
Input/Output (I/O) Ports
51
NON-DISCLOSURE
AGREEMENT
REQUIRED
7.6 Port D
Port D is a 7-bit fixed input port. Four of its pins are shared with the SPI
subsystem, two more are shared with the SCI subsystem. Reset does
not affect the data registers. During reset, all seven bits become valid
input ports because all special function output drivers associated with
the SCI, timer, and SPI subsystems are disabled.
7.7 Input/Output Programming
I/O port pins 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 data direction register (DDR). Each I/O port
has an associated DDR. Any I/O port 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 I/O pins
as inputs. The data direction registers are capable of being written to or
read 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. For further information, refer to Table 7-1 and Figure 7-2.
Table 7-1. I/O Pin Functions
R/W*
DDR
I/O Pin Function
00
The I/O pin is in input mode. Data is written into the output
data latch.
0
1
Data is written into the output data latch and output to the I/O pin.
1
0
The state of the I/O pin is read.
1
The I/O pin is in an output mode. The output data latch is read.
*R/W is an internal signal.
相关PDF资料
PDF描述
MC68HC16Z3MFC20 16-BIT, MROM, MICROCONTROLLER, PQFP132
MC68HC705C4FN 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQCC44
MC68HC05D9FN 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC44
M37705M2A001SP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PDIP64
M37700SFP 16-BIT, 8 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
MC68HC05C8ACFN 制造商:Motorola Inc 功能描述:MicroController, 8-Bit, 44 Pin, Plastic, PLCC
MC68HC05C9 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:TECHNICAL DATA
MC68HC05C9A 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers