參數(shù)資料
型號: 68HC05M68HC
廠商: Motorola, Inc.
英文描述: HCMOS Microcontroller Unit
中文描述: HCMOS微控制器
文件頁數(shù): 74/130頁
文件大?。?/td> 1541K
代理商: 68HC05M68HC
Capture/Compare Timer
Advance Information
MC68HC705P6A
Rev. 2.0
74
Capture/Compare Timer
MOTOROLA
8.4.6 Output Compare Registers
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).
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.
Address:
OCRH
$0016
Bit 7
6
5
4
3
2
1
Bit 0
Write:
OCRH7
OCRH6
OCRH5
OCRH4
OCRH3
OCRH2
OCRH1
OCRH0
Read:
Unaffected by reset
Address:
OCRL
$0017
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Unaffected by reset
Figure 8-7. Output Compare Registers (OCRH and OCRL)
相關PDF資料
PDF描述
68HC070KH12 8 BIT MICROCONTROLLER UNITS
68HC08KH12 8 BIT MICROCONTROLLER UNITS
68HC08M68HC HCMOS Microcontroller Unit
68HC11 Technical Data
68HC12 Advance Information
相關代理商/技術參數(shù)
參數(shù)描述
68HC05P4A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION (General Release)
68HC05P4A_1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION (General Release)
68HC05P5 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION(General Release)
68HC05P9A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION(General Release)
68HC05P9A_1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:SPECIFICATION(General Release)