參數(shù)資料
型號: MC68HSC05J1A
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Microcontrollers
中文描述: 微控制器
文件頁數(shù): 69/128頁
文件大小: 1620K
代理商: MC68HSC05J1A
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描述
MC68SZ328 i.MX Integrated Portable System Processor
MC72000 Integrated Bluetooth Radio
MC7445ARX1000LF RISC Microprocessor Hardware Specifications
MC7445ARX1000LG RISC Microprocessor Hardware Specifications
MC7447A PowerPC microprocessor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HSC705C8ACFB 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 304 BYTES RAM - Bulk
MC68HSC705C8ACP 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68HSC705C8ACS 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACDW 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACP 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 64 BYTES RAM - Bulk