11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

int main(void){…ctl_set_isr(11,11, CTL_ISR_TRIGGER_FIXED, isr, 0);}ctl_unmask_isr(11);…The isr function is triggered from interrupt vector 11 and will run at priority 11. Whenthe function is run it enables interrupts which will allow higher priority interrupts totrigger whilst it is executing.234 Chapter 25 Programmable interrupt handling

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!