參數(shù)資料
型號: MC68HC05SB7
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
封裝: MO-150, SSOP-28
文件頁數(shù): 119/170頁
文件大?。?/td> 2161K
代理商: MC68HC05SB7
GENERAL RELEASE SPECIFICATION
August 27, 1998
MOTOROLA
INPUT/OUTPUT PORTS
MC68HC05SB7
7-2
REV 2.1
7.1.1 Port Data Registers
Each port I/O pin has a corresponding bit in the Port Data Register. When a port I/
O pin is programmed as an output the state of the corresponding data register bit
determines the state of the output pin. All port I/O pins can sink a current of 5mA
when programmed as outputs. When a port pin is programmed as an input, any
read of the Port Data Register will return the logic state of the corresponding I/O
pin.
7.1.2 Port Data Direction Registers
Each port I/O pin may be programmed as an input by clearing the corresponding
bit in the DDR, or programmed as an output by setting the corresponding bit in the
DDR.
NOTE
A “glitch” can be generated on an I/O pin when changing it from an input to an
output unless the data register is rst preconditioned to the desired state before
changing the corresponding DDR bit from a “0” to a “1”. Therefore, write data to
the I/O Port Data Register before writing a “1” to the corresponding Data Direction
Register.
7.2
PORT A
Port A is an 8-bit bidirectional port with pins shared with the PWM outputs and
SM-Bus serial I/Os. The Port A Data Register is at address $0000 and the Data
Direction Register is at address $0004.
7.3
PORT B
Port B is a 7-bit birdirectional port with pins shared with A/D converter inputs, cur-
rent detect outputs, and the 16-bit timer TCAP input. The Port B Data Register is
at address $0001 and the Data Direction Register is at address $0005.
When selected by mask option, port pins PB2 and PB3 becomes OSC1 and
OSC2 respectively.
7.4
PORT C
Port C is a 4-bit bidirectional port. The Port C Data Register is at address $0002
and the Data Direction Register is at address $0006.
相關(guān)PDF資料
PDF描述
MC68HC705SB7 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05SU3AB 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP42
MC68HC05T2P 8-BIT, MROM, MICROCONTROLLER, PDIP40
MC68HC08AS32CFN 8-BIT, EEPROM, 8.4 MHz, MICROCONTROLLER, PQCC52
MC68HC08AS32VFN 8-BIT, EEPROM, 8.4 MHz, MICROCONTROLLER, PQCC52
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05SC24 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Secure 8-bit microcomputer with EEPROM
MC68HC05SR3 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller Units
MC68HC05SU3A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Fully static chip design featuring the industry standard 8-bit M68HC05 core
MC68HC05T16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05V12 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontreller Unit