| Electronic Components Datasheet Search |
|
MCP19124 Datasheet(PDF) 154 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP19124 Datasheet(HTML) 154 Page - Microchip Technology |
|
154 / 236 page ![]() MCP19124/5 DS20005619A-page 154 2016 Microchip Technology Inc. FIGURE 27-2: SIMPLIFIED PWM BLOCK DIAGRAM A PWM output (Figure 27-3) has a time base (period) and a time that the output stays high (duty cycle). The frequency of the PWM is the inverse of the period (1/period). FIGURE 27-3: PWM OUTPUT 27.1.3 PWM PERIOD The PWM period is specified by writing to the PR2 register. The PWM period can be calculated using the following equation. EQUATION 27-2: When TMR2 is equal to PR2, the following two events occur on the next increment cycle: • TMR2 is cleared • The PWM duty cycle is latched from PWMRL into PWMRH Note 1: TIMER 2 should be clocked by FOSC EN_ SS R SQ Q OSC SYSTEM CLOCK LATCH DATA LATCH DATA RESET TIMER 8 8 8 8 Comparator Comparator Comparator 8 8 8 8 PWMPHL PWMRL WDM_ RESET PWMPHH (SLAVE) PWMRH (SLAVE) TMR2 (Note 1) PR2 CLKPIN_IN (1) Period Duty Cycle TMR2 = PR2 + 1 TMR2 = PWMRH TMR2 = PR2 + 1 PWM PERIOD PR2 1 + T OSC T2 PRESCALE VALUE = |
|
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 |