| Electronic Components Datasheet Search |
|
EM6812F2TP24B Datasheet(PDF) 59 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6812F2TP24B Datasheet(HTML) 59 Page - EM Microelectronic - MARIN SA |
|
59 / 81 page ![]() R EM6812 Copyright © 2005, EM Microelectronic-Marin SA 59 www.emmicroelectronic.com 13.2.8 Interrupts Each timer has 2 selectable interrupt sources: • IrqTimer1 (zero detect or compare match) • IrqTimer2 (zero detect or compare match) • IrqTimer3 (zero detect or compare match) • IrqTimer4 (zero detect or compare match) Table 50. Timer interrupts selection EnPWM X TimEq X Interrupt 0 0 Irq timer on ‘Zero detect’ 0 1 No timer Irq generated 1 0 Irq timer on ‘Zero detect’ 1 1 Irq timer on ‘Compare match’ All these interrupt are in priority level 2 mapped in register RegInt20[3:0]. The source is individually selectable and each interrupt may be masked in register RegMsk20[3:0]. The TimEq selection is only valid when the corresponding EnPWMX bit is set. In PWM mode the interruption can be generated when the timer reaches the value 0 or when it reaches the comparison value with TimEqX in RegTimXCfg. If needing both interrupts, the user may change the IRQ source after each event. Another solution consists of routing a PWM from port B output onto a port A input and configure this input as IRQ input (slave timer interrupt). If configured as 16-bit timer, only the master timer (1 or 3) will generate interrupts. Figure 36. Interrupts generation in PWM mode. Table 51. Timer interrupts mapping Interrupt source Priority IntCtrl connection IrqTimer1 2 Int2[0] IrqTimer2 2 Int2[1] IrqTimer3 2 Int2[2] IrqTimer4 2 Int2[3] ClkIn SwStart TimXLoad TimXComp XX XX 03 02 PWM TimXStatus XX 03 02 01 00 03 02 01 00 X 03 02 01 00 03 02 01 TimEq IrqTim |
|
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 |