參數(shù)資料
型號: MC68HC08GP8ACFB
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, PQFP44
封裝: PLASTIC, QFP-44
文件頁數(shù): 31/126頁
文件大?。?/td> 4243K
代理商: MC68HC08GP8ACFB
Input/Output Ports (PORTS)
Data Sheet
MC68HC08GP8A
126
Input/Output Ports (PORTS)
MOTOROLA
When bit DDRCx is a logic 1, reading address $0002 reads the PTCx data latch.
When bit DDRCx is a logic 0, reading address $0002 reads the voltage level on the
pin. The data latch can always be written, regardless of the state of its data
direction bit. Table 12-4 summarizes the operation of the port C pins.
12.4.3 Port C Input Pullup Enable Register
The port C input pullup enable register (PTCPUE) contains a software configurable
pullup device for each of the seven port C pins. Each bit is individually configurable
and requires that the data direction register, DDRC, bit be configured as an input.
Each pullup is automatically and dynamically disabled when a port bit’s DDRC is
configured for output mode.
PTCPUE6–PTCPUE0 — Port C Input Pullup Enable Bits
These writable bits are software programmable to enable pullup devices on an
input port bit.
1 = Corresponding port C pin configured to have internal pullup
0 = Corresponding port C pin internal pullup disconnected
12.5 Port D
Port D is an 8-bit special-function port that shares four of its pins with the serial
peripheral interface (SPI) module and four of its pins with two timer interface (TIM1
and TIM2) modules. Port D also has software configurable pullup devices if
configured as an input port.
Table 12-4. Port C Pin Functions
PTCPUE Bit
DDRC Bit
PTC Bit
I/O Pin Mode
Accesses to DDRC
Accesses to PTC
Read/Write
Read
Write
10
X(1)
Input, VDD
(4)
DDRC6–DDRC0
Pin
PTC6–PTC0(3)
00
X
Input, Hi-Z(2)
DDRC6–DDRC0
Pin
PTC6–PTC0(3)
X
1
X
Output
DDRC6–DDRC0
PTC6–PTC0
1. X = Don’t care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
4. I/O pin pulled up to VDD by internal pullup device.
Address:
$000E
Bit 7
6
5
432
1
Bit 0
Read:
0
PTCPUE6
PTCPUE5
PTCPUE4
PTCPUE3
PTCPUE2
PTCPUE1
PTCPUE0
Write:
Reset:
0
000
00
= Unimplemented
Figure 12-12. Port C Input Pullup Enable Register (PTCPUE)
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描述
MC68HC08JB1DWE 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PDSO20
MC68HC08JB1DW 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PDSO20
MC68HC08KH12AIPB 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP52
MC68HC08KL8FB 8-BIT, OTPROM, 1.5 MHz, MICROCONTROLLER, PQFP52
MC68HC08KL8B 8-BIT, OTPROM, 1.5 MHz, MICROCONTROLLER, PDIP42
相關代理商/技術參數(shù)
參數(shù)描述
MC68HC08GR16A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08GR32A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08GR32ACFA 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08GR32ACFJ 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08GR32ACFU 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers