User manual

TMCM-1180 and PD86-1180 TMCL Firmware V4.42 Manual (Rev. 1.08 / 2012-NOV-20) 102
www.trinamic.com
7.4 Bank 3
Bank 3 contains interrupt parameters. Some interrupts need configuration (e.g. the timer interval of a timer
interrupt). This can be done using the SGP commands with parameter bank 3 (SGP <type>, 3, <value>). The
priority of an interrupt depends on its number. Interrupts with a lower number have a higher priority.
The following table shows all interrupt parameters that can be set.
Meaning of the letters in column Access:
R = readable (GGP)
W = writeable (SGP)
E = automatically restored from EEPROM after reset or power-on.
Number
Global parameter
Description
Range
Access
0
Timer 0 period (ms)
Time between two interrupts (ms)
32 bit unsigned [ms]
RWE
1
Timer 1 period (ms)
Time between two interrupts (ms)
32 bit unsigned [ms]
RWE
2
Timer 2 period (ms)
Time between two interrupts (ms)
32 bit unsigned [ms]
RWE
39
Input 0 edge type
0=off, 1=low-high, 2=high-low, 3=both
0… 3
RWE
40
Input 1 edge type
0=off, 1=low-high, 2=high-low, 3=both
0… 3
RWE