參數(shù)資料
型號: MC68HC05J1AVP
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Microcontrollers
中文描述: 微控制器
文件頁數(shù): 69/128頁
文件大小: 1620K
代理商: MC68HC05J1AVP
Parallel Input/Output (I/O)
Port B
MC68HC05J1A — Rev. 3.0
Technical Data
MOTOROLA
Parallel Input/Output (I/O)
For More Information On This Product,
Go to: www.freescale.com
69
7.5.3 Pulldown Register B
All port B pins have mask-optional, programmable pulldown devices that
typically sink 100
μ
A. Clearing any of the PDIB5–PDIB0 bits in pulldown
register B (PDRB) turns on the pulldown devices. See
Figure 7-7
.
Pulldown register B can turn on a port B pulldown device only when the
port B pin is an input. Reset clears bits PDIB5–PDIB0, turning on the port
B pulldown devices.
PDIB5–PDIB0 — Pulldown Inhibit Bits
Writing logic 0s to these write-only bits turns on the port B pulldown
devices. Reading pulldown register B returns undefined data.
1 = Corresponding port B pin pulldown device turned off
0 = Corresponding port B pin pulldown device turned on
Bits 7 and 6 — Not used
NOTE:
Avoid a floating port B input by clearing its pulldown register bit before
changing its DDRB bit from logic 1 to logic 0.
Do not use read-modify-write instructions on pulldown register B.
Figure 7-8
shows the port B I/O logic.
Reading a port B output actually reads the value of the data latch and
not the voltage on the pin itself. When a port B pin is programmed as an
input, reading the port bit reads the voltage level on the pin. The data
latch can always be written, regardless of the state of its DDR bit.
Table 7-2
summarizes the operation of the port B pins.
Address:
$0011
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Write:
PDIB5
PDIB4
PDIB3
PDIB2
PDIB1
PDIB0
Reset:
0
0
0
0
0
0
= Unimplemented
Figure 7-7. Pulldown Register B (PDRB)
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
MSC7116 Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
MSC7116VF1000 Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
MC9S12XEA1284 Reference Manual Covers MC9S12XE Family
MC9S12XEA256 Reference Manual Covers MC9S12XE Family
MC9S12XEG1284 Reference Manual Covers MC9S12XE Family
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05J3 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
MC68HC05J3CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
MC68HC05J3CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
MC68HC05J3DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
MC68HC05J3P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit