參數資料
型號: MC68HC08QY2CDW
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
封裝: 1.27 MM PITCH, PLASTIC, MS-013AA, SOIC-16
文件頁數: 5/178頁
文件大?。?/td> 2311K
代理商: MC68HC08QY2CDW
Input/Output Ports (PORTS)
MC68HC08QY/QT Family Data Sheet, Rev. 1
102
Freescale Semiconductor
12.4.3 Port B Input Pullup Enable Register
The port B input pullup enable register (PTBPUE) contains a software configurable pullup device for each
of the eight port B pins. Each bit is individually configurable and requires the corresponding data direction
register, DDRBx, be configured as input. Each pullup device is automatically and dynamically disabled
when its corresponding DDRBx bit is configured as output.
PTBPUE[7:0] — Port B Input Pullup Enable Bits
These read/write bits are software programmable to enable pullup devices on port B pins
1 = Corresponding port B pin configured to have internal pull if its DDRB bit is set to 0
0 = Pullup device is disconnected on the corresponding port B pin regardless of the state of its
DDRB bit.
12.4.4 Port B Summary Table
Table 12-2 summarizes the operation of the port A pins when used as a general-purpose input/output
pins.
Bit 7
6543
21
Bit 0
Read:
PTBPUE7
PTBPUE6
PTBPUE5
PTBPUE4
PTBPUE3
PTBPUE2
PTBPUE0
Write:
Reset:
00000
000
Figure 12-8. Port B Input Pullup Enable Register (PTBPUE)
Table 12-2. Port B Pin Functions
DDRB
Bit
PTB
Bit
I/O Pin
Mode
Accesses to DDRB
Accesses to PTB
Read/Write
Read
Write
0
X(1)
1. X = don’t care
Input, Hi-Z(2)
2. Hi-Z = high impedance
DDRB7–DDRB0
Pin
PTB7–PTB0(3)
3. Writing affects data register, but does not affect the input.
1
X
Output
DDRB7–DDRB0
Pin
PTB7–PTB0
相關PDF資料
PDF描述
MC68HC08QY2VDT 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
MC68HC08QY1VDWE 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
MC68HC08QT4VDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QY4CDTE 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
MC68HC08QT1MDWE 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
相關代理商/技術參數
參數描述
MC68HC08QY4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08SR12 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08TV24CFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08XL36 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08XL36CB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit