參數(shù)資料
型號: 68HC05PL4
廠商: Motorola, Inc.
英文描述: 8-Bit Microcontroller Units (MCU).(8位微控制器)
中文描述: 8位微控制器單元(MCU)。(8位微控制器)
文件頁數(shù): 57/98頁
文件大小: 1019K
代理商: 68HC05PL4
April 30, 1998
GENERAL RELEASE SPECIFICATION
MC68HC05PL4
REV 2.0
16-BIT PROGRAMMABLE TIMER
MOTOROLA
9-7
The planned action on the TCMP depends on the value stored in the OLVL bit in
the TCR, and it occurs when the value of the 16-bit free-running timer counter
matches the value in the output compare registers shown in
Figure 9-3
. These
registers are read/write bits and are unaffected by reset.
Writing to the OCRH before writing to the OCRL inhibits timer compares until the
OCRL is written. Reading or writing to the OCRL after reading the TCR will clear
the output compare flag bit (OCF). The output compare OLVL state will be clocked
to its output latch regardless of the state of the OCF.
Figure 9-8. Timer Output Compare Block Diagram
To prevent OCF from being set between the time it is read and the time the output
compare registers are updated, use the following procedure:
1.
Disable interrupts by setting the I bit in the condition code register.
2.
Write to the OCRH. Compares are now inhibited until OCRL is written.
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
OCRH
$0016
R
W
OCRH7
OCRH6
OCRH5
OCRH4
OCRH3
OCRH2
OCRH1
OCRH0
reset:
U
U
U
U
U
U
U
U
OCRL
$0017
R
W
OCRL7
OCRL6
OCRL5
OCRL4
OCRL3
OCRL2
OCRL1
OCRL0
reset:
U
U
U
U
U
U
U
U
U = UNAFFECTED BY RESET
Figure 9-9. Output Compare Registers (OCRH, OCRL)
O
OCRH ($0016)
16-BIT COUNTER
÷
4
INTERNAL
CLOCK
(XTAL
÷
2)
TIMER CONTROL REG.
$0012
TIMER
INTERRUPT
REQUEST
OUTPUT COMPARE
(OCF)
RESET
OCRL ($0017)
O
TIMER STATUS REG.
$0013
INTERNAL
DATA
BUS
($FFFC)
R/W
OCRH
R/W
OCRL
O
EDGE
SELECT
DETECT
LOGIC
O
16-BIT COMPARATOR
TCMP
相關PDF資料
PDF描述
68HC05PL4B 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC705PL4 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC705PL4B 8-Bit Microcontroller Units (MCU).(8位微控制器)
68HC908JB8FS Freescale Semiconductor, Inc.
69190-405 50/100M SOT-23 CMOS RF LDO REGULATORS
相關代理商/技術參數(shù)
參數(shù)描述
68HC05PL4B 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Industry standard 8-bit M68HC05 CPU core
68HC05SB7 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION (General Release)
68HC05V12 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
68HC05X1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION (General Release)
68HC070KH12 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8 BIT MICROCONTROLLER UNITS