How works global signal interrupt ? | Cypress Semiconductor
How works global signal interrupt ?
Hi at all,
I'm working on PSoC5LP and I'm facing with a problem; I'm trying to get an interrupt from a global signal, setted on CTW:
This is my very simple main:
uint8_t ctw_int_flag = 0u;
/* Uncomment this line to enable global interrupts. */
if(ctw_int_flag == 1u)
ctw_int_flag = 0;
and in the interrupt routine:
/* Place your Interrupt code here. */
/* `#START GSCTW_int_Interrupt` */
ctw_int_flag = 1u;
/* `#END` */
Even if it's all very simple, the interrupt doesn't raising and I really do not know why...please, colud anyone help me ?