Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 Slide 30 Slide 31 Slide 32 Slide 33 Slide 34 Slide 35 Slide 36 Slide 37 Product List
Core-Slide22

This training will look now at interrupt processing on the RX. Interrupts are used in embedded systems to react to time-sensitive events, and the RX provides a number of ways to optimize response to interrupts. Here’s how the RX handles a normal interrupt. Once the interrupt fires, the CPU automatically resolves the interrupt source and selects the correct vector, pushes the Program Status Word and Program Counter on the stack, modifies the PSW to reflect the current interrupt state and then starts execution of the user’s Interrupt Service Routine, or ISR. This hardware automated portion of this process takes typically 7 clock cycles, at which point the program is in the ISR.

PTM Published on: 2012-05-15