Now we enter the heart.
I would like to learn how to configure the program to handle interrupts high/low(IPEN=1;GIEH=1;GIEL1).
for now use compatible mode (IPEN=0;GIE=1)
I know,according to the datasheet,which ISR_High is at memory address 0x08 and 0x18 to ISR_Low
how do I configure it to take advantage of these interrupt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
reading the product description does not seem so difficult.
if I understand it:
set IPEN GIEH GIEL
set where/which interrupts you must be enabled.
if these will be set high/low
in the program to determine the ISR_high and ISR_low
example:
void ISR_HIGH_xxx(void) interrupt 1 // address to 0x08.priorità high
void ISR_LOW_xxx(void) interrupt 2 // address to 0x18.priorità low
and then to look for what we are interested in these registers.
I do wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now we enter the heart.
I would like to learn how to configure the program to handle interrupts high/low(IPEN=1;GIEH=1;GIEL1).
for now use compatible mode (IPEN=0;GIE=1)
I know,according to the datasheet,which ISR_High is at memory address 0x08 and 0x18 to ISR_Low
how do I configure it to take advantage of these interrupt
reading the product description does not seem so difficult.
if I understand it:
set IPEN GIEH GIEL
set where/which interrupts you must be enabled.
if these will be set high/low
in the program to determine the ISR_high and ISR_low
example:
void ISR_HIGH_xxx(void) interrupt 1 // address to 0x08.priorità high
void ISR_LOW_xxx(void) interrupt 2 // address to 0x18.priorità low
and then to look for what we are interested in these registers.
I do wrong?