asrock70
Full Member level 4
Can someone explain the code in C ++ for gcc
Meaning I understand, instead of the default interrupt handler ADC1_COMP_IRQHandler calls its own function void AdcIrq::Irq (void) .
What I probably don't understand the most is "_ZN6AdcIrq3IrqEv"
Second question.
How is the same thing written in C MDKARM or c IAR (not support __attribute__ ) ?
Thanks for explaining.
Code:
extern "C" void ADC1_COMP_IRQHandler (void) __attribute__((alias("_ZN6AdcIrq3IrqEv")));
Meaning I understand, instead of the default interrupt handler ADC1_COMP_IRQHandler calls its own function void AdcIrq::Irq (void) .
What I probably don't understand the most is "_ZN6AdcIrq3IrqEv"
Second question.
How is the same thing written in C MDKARM or c IAR (not support __attribute__ ) ?
Thanks for explaining.