參數(shù)資料
型號: MC68HC05J1ACDW
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO20
封裝: SOIC-20
文件頁數(shù): 95/128頁
文件大?。?/td> 1279K
代理商: MC68HC05J1ACDW
Parallel Input/Output (I/O)
Port B
MC68HC05J1A — Rev. 3.0
Technical Data
MOTOROLA
Parallel Input/Output (I/O)
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
54321
Bit 0
Read:
Write:
PDIB5
PDIB4
PDIB3
PDIB2
PDIB1
PDIB0
Reset:
000000
= Unimplemented
Figure 7-7. Pulldown Register B (PDRB)
相關(guān)PDF資料
PDF描述
MC68HCL11KA3FN3 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PQCC68
MC68HCL11KA1FU1 8-BIT, EEPROM, 1 MHz, MICROCONTROLLER, PQFP64
MC68HCL11KA3FN1 8-BIT, MROM, 1 MHz, MICROCONTROLLER, PQCC68
MC68HCL11KA1FN3 8-BIT, EEPROM, 3 MHz, MICROCONTROLLER, PQCC68
MC68HCL11KA4FN1 8-BIT, MROM, 1 MHz, MICROCONTROLLER, PQCC68
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05J1ACP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1ADW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1AP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1AVDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05J1AVP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers