I need to use external interupt on PB14 on SAM4E16EA.
I defined handler for it in main.c
uint32_t status_01 = REG_PIOB_ISR;
work to do :)
and acommented (deleted) its weak definition in startup_sam4e.c
//void PIOB_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
I did port setings and enabled interupt:
PIOB->PIO_IER = 0x4000;
But it always ends in Dummy Handler and it never did my handler.