參數資料
型號: MC68HC11A8BMFN2
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC52
封裝: PLASTIC, LCC-52
文件頁數: 135/158頁
文件大?。?/td> 1003K
代理商: MC68HC11A8BMFN2
MOTOROLA
PROGRAMMABLE TIMER, RTI, AND PULSE ACCUMULATOR
MC68HC11A8
8-8
TECHNICAL DATA
8
PAIF — Pulse Accumulator Input Edge Interrupt Flag
This bit is set when an active edge is detected on the PAI input pin. This bit is cleared
by a write to the TFLG2 register with bit 4 set.
Bits 3-0 — Not Implemented
These bits always read zero.
8.2 Real-Time Interrupt
The real-time interrupt feature on the MCU is configured and controlled by using two
bits (RTR1 and RTR0) in the PACTL register to select one of four interrupt rates. The
RTII bit in the TMSK2 register enables the interrupt capability. Every timeout causes
the RTIF bit in TFLG2 to be set, and if RTII is set, an interrupt request is generated.
After reset, one entire real time interrupt period elapses before the RTIF flag is set for
the first time.
8.3 Pulse Accumulator
The pulse accumulator is an 8-bit read/write counter which can operate in either of two
modes (external event counting or gated time accumulation) depending on the state
of the PAMOD control bit in the PACTL register. In the event counting mode, the 8-bit
counter is clocked to increasing values by an external pin. The maximum clocking rate
for the external event counting mode is E clock divided by two. In the gated time ac-
cumulation mode, a free-running E clock/64 signal drives the 8-bit counter, but only
while the external PAI input pin is enabled.
The pulse accumulator uses port A bit 7 as its PAI input, but this pin also shares func-
tion as a general purpose l/O pin and as a timer output compare pin. Normally port A
bit 7 would be configured as an input when being used for the pulse accumulator. Note
that even when port A bit 7 is configured for output, this pin still drives the input to the
pulse accumulator.
8.3.1 Pulse Accumulator Control Register (PACTL)
Four bits in this register are used to control an 8-bit pulse accumulator system and two
other bits are used to select the rate for the real time interrupt system.
DDRA7 — Data Direction for Port A Bit 7
0 = Input only
1 = Output
PAEN — Pulse Accumulator System Enable
0 = Pulse accumulator off
1 = Pulse accumulator on
7
654321
0
$1026
DDRA7
PAEN
PAMOD
PEDGE
0
RTR1
RTR0
PACTL
RESET
00000000
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描述
MC68HC11A8BVFN2 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC52
MC68HC11D0CFB 8-BIT, MICROCONTROLLER, PQFP44
MC68HC11D0CP2 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP40
MC68HC11D0CP2 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDIP40
MC68HC11D0CP 8-BIT, MICROCONTROLLER, PDIP40
相關代理商/技術參數
參數描述
MC68HC11A8BMP2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS Single-Chip Microcontroller
MC68HC11A8BVP2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS Single-Chip Microcontroller
MC68HC11A8FN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:8-Bit Microcontrollers
MC68HC11A8FN1 制造商:Motorola Inc 功能描述:
MC68HC11A8MCFN2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS Single-Chip Microcontroller