參數(shù)資料
型號(hào): MC68HSC05C9A
廠商: Motorola, Inc.
元件分類: 8位微控制器
英文描述: 8-Bit Microcontroller(8位微控制器)
中文描述: 8位微控制器(8位微控制器)
文件頁數(shù): 66/160頁
文件大?。?/td> 783K
代理商: MC68HSC05C9A
L
G
R
Capture/Compare Timer
General Release Specification
MC68HC05C9A
Rev. 4.0
66
Capture/Compare Timer
MOTOROLA
8.4.6 Output Compare Registers (OCRH and OCRL)
When the value of the 16-bit counter matches the value in the output
compare registers, the planned TCMP pin action takes place. Writing to
OCRH before writing to OCRL inhibits timer compares until OCRL is
written. Reading or writing to OCRL after the timer status register clears
the output compare flag (OCF).
Figure 8-7. Output Compare Registers (OCRH and OCRL)
To prevent OCF from being set between the time it is read and the time
the output compare registers are updated, use this procedure:
1.
Disable interrupts by setting the I bit in the condition code register.
2.
Write to OCRH. Compares are now inhibited until OCRL is written.
3.
Clear bit OCF by reading timer status register (TSR).
4.
Enable the output compare function by writing to OCRL.
5.
Enable interrupts by clearing the I bit in the condition code
register.
OCRH
$0016
Bit 7
6
5
4
3
2
1
Bit 0
Write:
BIT15
BIT14
BIT13
BIT12
BIT11
BIT10
BIT9
BIT8
Read:
Unaffected by Reset
OCRL
$0017
Bit 7
6
5
4
3
2
1
Bit 0
Write:
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
Read:
Unaffected by Reset
相關(guān)PDF資料
PDF描述
MC68HC05F2 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05F6 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05K3 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC805K3 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05L16 80-Pin Microcontroller Unit (MCU) With Highly Sophisticated On-Chip Peripheral Functions(80腳、8位帶高級(jí)外圍電路功能的微控制器單元)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HSC705C8ACFB 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 304 BYTES RAM - Bulk
MC68HSC705C8ACP 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68HSC705C8ACS 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACDW 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACP 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 64 BYTES RAM - Bulk