J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
219
• JLINK_CORESIGHT_AP_REG_BD1
• JLINK_CORESIGHT_AP_REG_BD2
• JLINK_CORESIGHT_AP_REG_BD3
• JLINK_CORESIGHT_AP_REG_ROM
• JLINK_CORESIGHT_AP_REG_IDR
5.11.4.3 Constants for global variable "MAIN_ActiveTIF"
• JLINK_TIF_JTAG
• JLINK_TIF_SWD
5.11.5 Script file language
The syntax of the J-Link script file language follows the conventions of the C-lan-
guage, but it does not support all expresisons and operators which are supported by
the C-language. In the following, the supported operators and expressions are listed.
5.11.5.1 Supported Operators
The following operators are supported by the J-Link script file language:
• Multiplicative operators: *, /, %
• Additive operators: +, -
• Bitwise shift operators: <<, >>)
• Relational operators: <, >, <=, >=
• Equality operators: ==, !=
• Bitwise operators: &, |, ^
• Logical operators: &&, ||
• Assignment operators: =, *=, /=, +=, -=, <<=, >>=, &=, ^=, |=
5.11.5.2 Supported type specifiers
The following type specifiers are supported by the J-Link script file language:
•void
•char
• int (32-bit)
• __int64
5.11.5.3 Supported type qualifiers
The following type qualifiers are supported by the J-Link script file language:
•const
•signed
•unsigned
5.11.5.4 Supported declarators
The following type qualifiers are supported by the J-Link script file language:
• Array declarators
5.11.5.5 Supported selection statements
The following selection statements are supported by the J-Link script file language:
•if-statements
• if-else-statements
5.11.5.6 Supported iteration statements
The following iteration statements are supported by the J-Link script file language:
•while
•do-while