參數(shù)資料
型號: MC68HC05SR3
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller Units
中文描述: 高密度互補(bǔ)金屬氧化物半導(dǎo)體(HCMOS)微控制器單元
文件頁數(shù): 20/96頁
文件大小: 3045K
代理商: MC68HC05SR3
MC68HC05SR3
Freescale
3-1
INPUT/OUTPUT PORTS
3
INPUT/OUTPUT PORTS
The MC68HC05SR3 has 32 bidirectional I/O lines, arranged as four 8-bit I/O ports (Port A, B, C,
and D). The individual bits in these ports are programmable as either inputs or outputs under
software control by the Data Direction Registers (DDRs). All port pins each has an associated
20K
pull-up resistor, which can be connected/disconnected under software control. Also, each
port pin is capable of sinking and driving a maximum current of 10mA (e.g. direct drive for LEDs).
Port A can also be configured for keyboard interrupts.
3.1
Parallel Ports
Port A, B, C, and D are 8-bit bidirectional ports. Each Port pin is controlled by the corresponding
bits in a Data Direction Register and a Data Register as shown in Figure 3-1. The functions of the
I/O pins are summarized in Table 3-1.
3.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 drive a current of 10mA 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. The locations of the Data Registers for Port A, B, C, and D are at
$00, $01, $02, and $03 respectively. The Port Data Registers are unaffected by reset.
Table 3-1 I/O Pin Functions
R/W
DDR
I/O Pin Function
0
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.
TPG
25
05SR3.Book Page 1 Thursday, August 4, 2005 1:08 PM
相關(guān)PDF資料
PDF描述
MC68HC08MR4VFI 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, PQFP32
MC68HC08TV24CFB 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP52
MC68HC705RC17DW 8-BIT, OTPROM, 2.097 MHz, MICROCONTROLLER, PDSO28
MC68HC705RC17P 8-BIT, OTPROM, 2.097 MHz, MICROCONTROLLER, PDIP28
MC74AC112DR2 AC SERIES, DUAL NEGATIVE EDGE TRIGGERED J-K FLIP-FLOP, COMPLEMENTARY OUTPUT, PDSO16
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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
MC68HC05V12CFN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05X16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit