10.7.7 interrupt Commands
c17 int
(interrupt)
Operation
Simulates the generation of an interrupt.
When an interrupt number is specified by this command, the specified interrupt is generated at next program
startup.
Format
c17 int [ No Level ]
No:
Interrupt number (decimal, hexadecimal, or symbol)
Level:
Interrupt priority level (decimal, hexadecimal, or symbol)
Conditions: 0 ≤ No ≤ 0x1f, 0 ≤ Level ≤ 7
Usage example
n Example 1
(gdb) c17 int
If no parameters are specified, an NMI is generated.
n Example 2
(gdb) c17 int 3 6
Any maskable interrupt number and its priority level can be set.
Notes
• The c17 int command can only be used in simulator mode.
• Make sure the interrupt number is specified from 0 to 31. If this range is exceeded, an error is assumed.
• Make sure the interrupt priority level is specified from 0 to 7. If this range is exceeded, an error is assumed.
• TTBR is effective even in simulator mode.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
[SIM]
10
Debugger
10-91
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers