Interrupções no C18

Olá pessoal. Gostaria de saber se existe alguma biblioteca para configuração das interrupções no C18, algo como a biblioteca timers.h, para que não seja preciso trabalhar diretamente com bits.
Fórum sobre desenvolvimento de sistemas embarcados: Hardware e Software, Tecnologias: Eletrônica digital e analógica, Microcontroladoras, Microprocessadores, Sistemas *NIX (Linux, BSD), Software embarcado Baremetal. Sem fins lucrativos.
http://www.asm51.com.br/phpbb/
#pragma code int=0x08
void int(void)
{
_asm GOTO ISR_alta _endasm
}
#pragma code
#pragma interrupt ISR_alta
void ISR_alta(void)
{
//corpo da função
}
#pragma code inter = 0x08
#pragma interruptlow inter
void inter()
{
//corpo da função
}
2.9.2.3 INTERRUPT VECTORS
MPLAB C18 does not automatically place an ISR at the interrupt vector. Commonly, a
GOTO instruction is placed at the interrupt vector for transferring control to the ISR
proper. For example:
#include <p18cxxx.h>
void low_isr(void);
void high_isr(void);
/*
* For PIC18 devices the low interrupt vector is found at
* 00000018h. The following code will branch to the
* low_interrupt_service_routine function to handle
* interrupts that occur at the low vector.
*/
#pragma code low_vector=0x18
void interrupt_at_low_vector(void)
{
_asm GOTO low_isr _endasm
}
#pragma code /* return to the default code section */
#pragma interruptlow low_isr
void low_isr (void)
{
/* ... */
}
/*
* For PIC18 devices the high interrupt vector is found at
* 00000008h. The following code will branch to the
* high_interrupt_service_routine function to handle
* interrupts that occur at the high vector.
*/
#pragma code high_vector=0x08
void interrupt_at_high_vector(void)
{
_asm GOTO high_isr _endasm
}
#pragma code /* return to the default code section */
#pragma interrupt high_isr
void high_isr (void)
{
/* ... */
}
For a complete example, see Chapter 5. “Examples”