[an error occurred while processing this directive]
|
__C_task void _tfun(void)
{
....
....
}
#pragma vector=...
__interrupt void ifun(void)
{
asm("rcall _tfun);
}
или чуть-чуть быстрее
__C_task void _tfun(void)
{
....
....
asm("reti");
}
#pragma vector=...
__interrupt void ifun(void)
{
asm("rjmp _tfun);
}
E-mail: info@telesys.ru