| Electronic Components Datasheet Search |
|
AN1712 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1712 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 14 page ![]() 10/14 GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART Figure 5. PWMART interrupt service routine ART_Interrupt Clears the overflow interrupt flag counter = counter+1 return Is counter >= COUNTER? no yes counter = 0 Upper half cycle of sinewave? Load the duty cycle register for up- per half cycle of sinewave. This is achieved by adding the current sam- ple value into AVERAGE_AMP. yes no Load the duty cycle register for lower half cycle of sinewave. This is achieved by subtracting the current sample value from AVERAGE_AMP. Index = Index+1 Is Index= no_of_samples_half? Index = 0 & change the po- larity of sinewave cycle yes no |
|
|
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 |