Implementations for interrupt mechanisms for Time Test 27.
More...
Go to the source code of this file.
|
#define | SIS_USE_SYNCHRONOUS_TRAP 0 |
|
#define | TEST_INTERRUPT_SOURCE LEON_INTERRUPT_EXTERNAL_1 |
|
#define | TEST_VECTOR LEON_TRAP_TYPE( TEST_INTERRUPT_SOURCE ) |
|
#define | TEST_INTERRUPT_SOURCE2 LEON_INTERRUPT_EXTERNAL_1+1 |
|
#define | TEST_VECTOR2 LEON_TRAP_TYPE( TEST_INTERRUPT_SOURCE2 ) |
|
#define | MUST_WAIT_FOR_INTERRUPT 1 |
|
#define | Install_tm27_vector(handler) |
|
#define | Cause_tm27_intr() |
|
#define | Clear_tm27_intr() LEON_Clear_interrupt( TEST_INTERRUPT_SOURCE ) |
|
#define | Lower_tm27_intr() /* empty */ |
|
Implementations for interrupt mechanisms for Time Test 27.
Definition in file tm27.h.
◆ Cause_tm27_intr
#define Cause_tm27_intr |
( |
| ) |
|
Value:do { \
LEON_Force_interrupt( TEST_INTERRUPT_SOURCE+(Interrupt_nest>>1)); \
nop(); \
nop(); \
nop(); \
} while (0)
Definition at line 69 of file tm27.h.
◆ Install_tm27_vector
#define Install_tm27_vector |
( |
|
handler | ) |
|
Value:set_vector( (handler), TEST_VECTOR, 1 ); \
set_vector( (handler), TEST_VECTOR2, 1 );
Definition at line 65 of file tm27.h.