Electronic Components Datasheet Search |
|
AN1712 Datasheet(PDF) 9 Page - STMicroelectronics |
|
AN1712 Datasheet(HTML) 9 Page - STMicroelectronics |
9 / 14 page 9/14 GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART Figure 4. PWMART timer initialization 3.3 PWMART INTERRUPT SERVICE ROUTINE This is the interrupt service routine for the PWMART interrupt. Every time an overflow occurs, an interrupt is generated (because overflow interrupt is enabled). The PWMART duty cycle is changed after every “COUNTER” number of overflow cycles. The duty cycle can vary from ~99% to ~1% depending on the sinewave sample values. AR_TIMER_Init Start the PWM timer counter, force counter reload is ON & overflow interrupt is enabled Enable PWM0 and con- figure the polarity return Set the frequency of PWMART by initializing the ARTARR Initialize the duty cycle of sinewave to 50% |
Similar Part No. - AN1712 |
|
Similar Description - AN1712 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |