參數(shù)資料
型號: MC68HC08LT8
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Microcontrollers
中文描述: 微控制器
文件頁數(shù): 98/156頁
文件大小: 1030K
代理商: MC68HC08LT8
Input/Output (I/O) Ports
MC68HC08LT8 Data Sheet, Rev. 1
98
Freescale Semiconductor
9.3 Port B
Port B is an 6-bit special function port that shares four of its port pins with the two timers (TIM1 and TIM2)
and two of its ports pins with the liquid crystal display (LCD) driver module. Port pin, PTB2, is also shared
with the external clock input of the programmable periodic interrupt (PPI) module.
NOTE
PTB6–PTB7 pins are not available on 44-pin package.
9.3.1 Port B Data Register (PTB)
The port B data register contains a data latch for each of the eight port B pins.
PTB[7:6, 3:0] — Port B Data Bits
These read/write bits are software programmable. Data direction of each port B pin is under the control
of the corresponding bit in data direction register B. Reset has no effect on port B data.
T1CH[1:0] — Timer 1 Channel I/O Bits
The T1CH1 and T1CH0 pins are the TIM1 input capture/output compare pins. The edge/level select
bits, ELSxB:ELSxA, determine whether the PTB2/T1CH0 and PTB3/T1CH1 pins are timer channel I/O
pins or general-purpose I/O pins. See
Chapter 6 Timer Interface Module (TIM)
.
T2CH[1:0] — Timer 2 Channel I/O Bits
The T2CH1 and T2CH0 pins are the TIM2 input capture/output compare pins. The edge/level select
bits, ELSxB:ELSxA, determine whether the PTB0/T2CH0 and PTB1/T2CH1 pins are timer channel I/O
pins or general-purpose I/O pins. See
Chapter 6 Timer Interface Module (TIM)
.
PPIECK — External Clock Source Input for PPI
The PPIECK pin is the external clock input to the PPI module. It is selected by setting the bits
PPI1CLKS[1:0] = 01 in the port B high current drive control register. See
7.6 PPI1 Status and Control
Register (PPI1SCR)
.
FP[2:1] — LCD Driver Frontplanes 2–1
FP[2:1] are pins used for the frontplane output of the LCD driver module. The enable bit, LCDE, in the
LCDCR register determine whether the PTB7/FP2–PTB6/FP1 pins are LCD frontplane driver pins or
general-purpose I/O pins. See
Chapter 8 Liquid Crystal Display (LCD) Driver
.
Address: $0001
Bit 7
6
5
4
3
2
1
Bit 0
Read:
PTB7
PTB6
0
0
PTB3
PTB2
PTB1
PTB0
Write:
Reset:
Unaffected by reset
Alternative Functions:
FP2
FP1
T1CH1
T1CH0
T2CH1
T2CH0
PPIECK
Additional Functions:
High current sink
Figure 9-5. Port B Data Register (PTB)
相關(guān)PDF資料
PDF描述
MC68HC08SR12 M68HC08 Microcontrollers
MC68HC11E0 HC11 Microcontrollers
MC68HC11K0 HCMOS Microcontroller Unit
MC68HC11KMNPEVS Microcontrollers
MC68HC705C8AC Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC08LT8CFGE 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08MR4 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:In-Circuit Simulator
MC68HC08P4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC08QT1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08QT2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers