| поискавой системы для электроныых деталей |
|
DSPIC30F5015 датащи(PDF) 87 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC30F5015 датащи(HTML) 87 Page - Microchip Technology |
|
87 / 234 page ![]() © 2011 Microchip Technology Inc. DS70149E-page 87 dsPIC30F5015/5016 13.4.2 PWM PERIOD The PWM period is specified by writing to the PRx register. The PWM period can be calculated using Equation 13-1. EQUATION 13-1: PWM PERIOD PWM frequency is defined as 1/[PWM period]. When the selected TMRx is equal to its respective Period register, PRx, the following four events occur on the next increment cycle: • TMRx is cleared. • The OCx pin is set. - Exception 1: If PWM duty cycle is 0x0000, the OCx pin will remain low. - Exception 2: If duty cycle is greater than PRx, the pin will remain high. • The PWM duty cycle is latched from OCxRS into OCxR. • The corresponding timer interrupt flag is set. See Figure 13-1 for key PWM period comparisons. Timer3 is referred to in the figure for clarity. FIGURE 13-1: PWM OUTPUT TIMING PWM Period = [(PRx) + 1] • 4 • TOSC • (TMRx Prescale Value) Period Duty Cycle TMR3 = Duty Cycle (OCxR) TMR3 = Duty Cycle (OCxR) TMR3 = PR3 T3IF = 1 (Interrupt Flag) OCxR = OCxRS TMR3 = PR3 (Interrupt Flag) OCxR = OCxRS T3IF = 1 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |