參數(shù)資料
型號: C05M68HC05M
廠商: Motorola, Inc.
英文描述: HCMOS Microcontroller Unit
中文描述: HCMOS微控制器
文件頁數(shù): 74/130頁
文件大?。?/td> 1541K
代理商: C05M68HC05M
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)
相關(guān)PDF資料
PDF描述
C08M68HC08M HCMOS Microcontroller Unit
C1-12 14 pin DIP, 5.0 Volt, HCMOS/TTL, Clock Oscillator
C10013SK Flat panel sensor High reliability, high sensitivity
C10082CA Mini-spectrometer TM series
C10082CAH Mini-spectrometer TM series High sensitivity type (integrated with back-thinned type CCD image sensor)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
C05N 制造商:POWERBOX 制造商全稱:Powerbox 功能描述:1 WATTS 100-8KV SINGLE OUTPUT DC/DC INDUSTRIAL
C05P-110D 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述:
C05P-120A 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述:
C05P-12D 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述:
C05P-240A 制造商:M.E.C. TIMERS 功能描述: 制造商:M.E.C. Timers 功能描述: