USB-BDI
|
This file contains different interrupt service routines and the their initialization. More...
Go to the source code of this file.
Defines | |
#define | LJMP_OPCODE 0x02 |
EZ-USB jump instruction. | |
Functions | |
void | hook_sv (unsigned char vector_number, unsigned short addr) |
Hook standard interrupt vector. | |
void | hook_uv (unsigned char vector_number, unsigned short addr) |
Hook usb interrupt vector. | |
void | hook_fgv (unsigned char vector_number, unsigned short addr) |
Hook fifo/gpif interrupt vector. | |
void | setup_autovectors (void) |
One time call to enable autovectoring for both USB and FIFO/GPIF. | |
Variables | |
__xdata unsigned char | _standard_interrupt_vector [] |
__xdata unsigned char | _usb_autovector [] |
__xdata unsigned char | _fifo_gpif_autovector [] |
This file contains different interrupt service routines and the their initialization.
Definition in file isr.c.
#define LJMP_OPCODE 0x02 |
void hook_fgv | ( | unsigned char | vector_number, |
unsigned short | addr | ||
) |
Hook fifo/gpif interrupt vector.
vector_number is from the FGV_<foo> list. addr is the address of the interrupt service routine.
vector_number | vector_number is from the SV_<foo> list in the header file. |
addr | is the address of the interrupt service routine. |
void hook_sv | ( | unsigned char | vector_number, |
unsigned short | addr | ||
) |
Hook standard interrupt vector.
vector_number is from the SV_<foo> list. addr is the address of the interrupt service routine.
vector_number | vector_number is from the SV_<foo> list in the header file. |
addr | is the address of the interrupt service routine. |
void hook_uv | ( | unsigned char | vector_number, |
unsigned short | addr | ||
) |
void setup_autovectors | ( | void | ) |
__xdata unsigned char _fifo_gpif_autovector[] |
fifo gpif autovector
__xdata unsigned char _standard_interrupt_vector[] |
standard interrupt vector
__xdata unsigned char _usb_autovector[] |
usb autovector