| 数据搜索系统,热门电子元器件搜索 |
|
70592C 数据表(PDF) 158 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
70592C 数据表(HTML) 158 Page - Microchip Technology |
|
158 / 314 page ![]() PIC24HJXXXGPX06A/X08A/X10A DS70592C-page 158 © 2011 Microchip Technology Inc. 15.1 Output Compare Modes Configure the Output Compare modes by setting the appropriate Output Compare Mode (OCM<2:0>) bits in the Output Compare Control (OCxCON<2:0>) register. Table 15-1 lists the different bit settings for the Output Compare modes. Figure 15-2 illustrates the output compare operation for various modes. The user application must disable the associated timer when writing to the Output Compare Control registers to avoid malfunctions. TABLE 15-1: OUTPUT COMPARE MODES FIGURE 15-2: OUTPUT COMPARE OPERATION Note: See Section 13. “Output Compare” (DS70209) in the “dsPIC33F/PIC24H Family Reference Manual” for OCxR and OCxRS register restrictions. OCM<2:0> Mode OCx Pin Initial State OCx Interrupt Generation 000 Module Disabled Controlled by GPIO register — 001 Active-Low One-Shot 0 OCx rising edge 010 Active-High One-Shot 1 OCx falling edge 011 Toggle Current output is maintained OCx rising and falling edge 100 Delayed One-Shot 0 OCx falling edge 101 Continuous Pulse 0 OCx falling edge 110 PWM without Fault Protection ‘0’, if OCxR is zero ‘1’, if OCxR is non-zero No interrupt 111 PWM with Fault Protection ‘0’, if OCxR is zero ‘1’, if OCxR is non-zero OCFA falling edge for OC1 to OC4 OCxRS TMRy OCxR Timer is Reset on Period Match Continuous Pulse (OCM = 101) PWM (OCM = 110 or 111) Active-Low One-Shot (OCM = 001) Active-High One-Shot (OCM = 010) Toggle (OCM = 011) Delayed One-Shot (OCM = 100) Output Compare Mode Enabled |
|
链接网址 |
| 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 |