[an error occurred while processing this directive]
|
Эта функция в кейле не компилится, может из-за нее?
// IRQ exception handler. Calls the interrupt handlers.
__irq __arm void irq_handler(void)
{
void (*interrupt_function)();
unsigned int vector;
vector = VICVectAddr; // Получить адрес вектора прерывания
interrupt_function = (void(*)())vector; // преобразовать в функцию
(*interrupt_function)(); // Вызвать функцию векторного прерывания
VICVectAddr = 0; // Очистить вектор прерывания в VIC.
}
E-mail: info@telesys.ru