User Manual

Table Of Contents
PD-1160 TMCL
Firmware Manual Firmware Version V1.42 | Document Revision V1.06 2018-JAN-09
22 / 113
In the example above, the interrupt numbers are being used directly. To make the program better readable
use the provided include le Interrupts.inc. This le denes symbolic constants for all interrupt numbers
which can be used in all interrupt commands. The beginning of the program above then looks as follows:
#include Interrupts .inc
2
VECT TI_TIMER0 , Timer0Irq
SGP TI_TIMER0 , 3, 1000
4
EI TI_TIMER0
EI TI_GLOBAL
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com