Embed target support uses timer and interrupt resources. The following table shows the resources used by the supported targets:
Target |
Timer |
Interrupt |
Arduino |
1: Used by Uno and Mega 2: Used by Leonardo Main loop is scheduled using the 16-bit timer and not changeable by user |
N/A |
AMD64 |
Main loop is scheduled using Linux timer provided by the OS and not changeable by user |
N/A |
STMicroelectronics STM32 |
SYSTICK (24-bit down count) |
N/A |
Texas Instruments, Delfino, F280x, F2812, MSP430, Piccolo |
User selectable |
User selectable |
Texas Instruments LF2407 |
3 |
2 |
Embed handles interrupts for the main control rate timer, GPIO pins, DMA, CAN, PWM, QEP, CAP, UART, SCI (serial), I2C, SPI, ADC, watchdog, and power reset.
You can exchange data with Embed from the interrupt handler via the Extern Read and Extern Write blocks.
Note: The assembler code for the LF2407 vector tables is supplied in the INSTALL\CG\LIB directory so that you can add your own interrupt handlers.