參數(shù)資料
型號: 68HC705BD7
廠商: Motorola, Inc.
英文描述: 8-Bit Microcontroller Units (MCU).(8位微控制器)
中文描述: 8位微控制器單元(MCU)。(8位微控制器)
文件頁數(shù): 44/85頁
文件大?。?/td> 302K
代理商: 68HC705BD7
MOTOROLA
Page 34
SECTION 7: INPUT/OUTPUT PORTS
GENERAL RELEASE SPECIFICATION
MC68HC05BD7 Rev. 2.0
Figure 7-1: Port I/O Circuitry
shares its pin with the CLAMP output. See
SECTION 10
for the description of CLAMP
signal. It becomes the CLAMP output when the CLAMP bit in SPIOCR register is set. PD3
is a +12V open-drain I/O pin which shares its pin with the SOG input. Also see
SECTION
10
for the description of SOG input. It is configured as SOG input when the SOG bit in
SPIOCR register is set. The Port D data register is at $03 and the data direction register
(DDR) is at $07. Reset does not affect the data register, yet clears the data direction
register, thereby returning the ports to inputs. Writing a one to a DDR bit sets the
corresponding port bit to output mode.
7.5
Input/Output Programming
Bidirectional port lines may be programmed as an input or an output 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 port has an associated DDR. Any I/O port pin is configured
as an output if its corresponding DDR bit is set. A pin is configured as an input if its
corresponding DDR bit is cleared.
During Reset, all DDRs are cleared, which configure all port 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. See
Figure 7-1
and .
I/O
PIN
Read Data
Write Data
Data
Register Bit
Internal HC05
Data Bus
Reset
(RST)
Read/Write DDR
Data Direction
Register Bit
OUTPUT
相關(guān)PDF資料
PDF描述
68HC05J5A 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC705J5A 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HRC05J5A 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HRC705J5A 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC05K0 8-Bit Microcontroller Units (MCU).(8位微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
68HC705C5 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION(General Release)
68HC705C8 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:PROGRAMMING REFRERENCE GUIDE
68HC705C8ACP 制造商: 功能描述: 制造商:Motorola Inc 功能描述: 制造商:undefined 功能描述:
68HC705CJ4FB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
68HC705CJ4P 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller