| 数据搜索系统,热门电子元器件搜索 |
|
HC705JB2GRS/H 数据表(PDF) 65 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC705JB2GRS/H 数据表(HTML) 65 Page - NXP Semiconductors |
|
65 / 128 page ![]() August 28, 1998 GENERAL RELEASE SPECIFICATION PROGRAMMABLE TIMER REV 1.1 9-7 Software can use the output compare register to measure time periods, to generate timing delays, or to generate a pulse of specific duration or a pulse train of specific frequency and duty cycle. 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 TSR will clear the output compare flag bit (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: BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 OCRH R OCRH7 OCRH6 OCRH5 OCRH4 OCRH3 OCRH2 OCRH1 OCRH0 $0016 W reset: UUUUUUUU OCRL R OCRL7 OCRL6 OCRL5 OCRL4 OCRL3 OCRL2 OCRL1 OCRL0 $0017 W reset: UUUUUUUU U = UNAFFECTED BY RESET Figure 9-9. Output Compare Registers (OCRH, OCRL) OCRH ($0016) 16-BIT COUNTER ÷ 4 INTERNAL (fOSC ÷ 2) TIMER CONTROL REG. TIMER REQUEST OUTPUT COMPARE RESET CLOCK INTERRUPT OCRL ($0017) TIMER STATUS REG. $0012 $0013 INTERNAL ($FFFC) DATA R/W OCRH R/W OCRL BUS 16-BIT COMPARATOR (OCF) Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |