Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Interrupt Service Routines for port 0, port 1, port 2, port 3 and port 4 in encore II, boot, .asm, .tpl

Interrupt Service Routines for port 0, port 1, port 2, port 3 and port 4 in encore II, boot, .asm, .tpl

Anonymous
Not applicable
Question: Which file contains the Interrupt Service Routines for port 0, port 1, port 2, port 3 and port4 in encore II?

 

Answer:

The boot.tpl file located in the root directory of your encoreII project contains a basic template which will contain the Interrupt Service Routines of the GPIO Port interrupts for port 0, port 1, port 2, port 3 and port 4. But, it is recommended that boot.tpl should not be changed, hence any changes required in the ISR's should be made in the boot.asm and not in boot.tpl.

There is a part in the ISR (enclosed in banners) which is especially reserved for any user defined code. Any required changes should be made between those banners only.

0 Likes
253 Views
Contributors