| Electronic Components Datasheet Search |
|
DSPIC33FJ06GS201TE/MM Datasheet(PDF) 196 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC33FJ06GS201TE/MM Datasheet(HTML) 196 Page - Microchip Technology |
|
196 / 346 page ![]() dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04 DS70318D-page 194 Preliminary © 2009 Microchip Technology Inc. 14.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 14-1 lists the different bit settings for the Output Compare modes. Figure 14-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 14-1: OUTPUT COMPARE MODES FIGURE 14-2: OUTPUT COMPARE OPERATION Note: Refer to Section 13. “Output Compare” in the “dsPIC33F Family Reference Man- ual” (DS7029) for OCxR and OCxRS reg- ister 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 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |