参数资料
型号: MC68HC05K0VDW
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDSO16
封装: SOIC-16
文件页数: 125/154页
文件大小: 1585K
代理商: MC68HC05K0VDW
Technical Data
MC68HC05K0 MC68HC05K1 — Rev. 2.0
Parallel Input/Output (I/O)
Technical Data
7.4.2 Data Direction Register B
The contents of data direction register B (DDRB) determine whether
each port B pin is an input or an output (see Figure 7-6). Writing a logic 1
to a DDRB bit enables the output buffer for the associated port B pin; a
logic 0 disables the output buffer. A reset initializes all DDRB bits to
logic 0, configuring all port B pins as inputs. Setting a DDRB bit to a
logic 1 turns off the pulldown device for that pin.
DDRB1 and DDRB0 — Data Direction Bits 1 and 0
These read/write bits control port B data direction.
1 = Corresponding port B pin configured as output
0 = Corresponding port B pin configured as input
Bit 7–2 — Not used
Bits 7–2 always read as logic 0s. Writes to these bits have no effect.
NOTE:
Avoid glitches on port B pins by writing to the port B data register before
changing DDRB bits from logic 0 to logic 1.
Address:
$0005
Bit 7
654321
Bit 0
Read:
000000
DDRB1
DDRB0
Write:
Reset:
00000000
= Unimplemented
Figure 7-6. Data Direction Register B (DDRB)
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描述
MC68HRC705SJ7CP 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC9S08GB32ACFU 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
MC9S08GT32ACFB 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP44
M306H5MC-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP116
MC68HC705MC4CDW 8-BIT, OTPROM, 3 MHz, MICROCONTROLLER, PDSO28
相关代理商/技术参数
参数描述
MC68HC05K1 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1CDW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1CP 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1DW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1P 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit