hi,
i am configure PIN Interrupt in lpc55s16 (level sensitive or active level triggering) using below the registers:
Intr_No=0;
PINT->ISEL = (1<< LOW_LEVEL);
PINT->SIENR = 1UL << (uint32_t)Intr_No;
PINT->SIENF= 1UL << (uint32_t)Intr_No;
i want to configuration for using level sensitive active low, and active high
已解决! 转到解答。
It seems you don't understand what "pin level interrupt" means in this context.
This term relates to the logic levels "H" and "L", which are defined and fixed by hardware and supply voltage. You cannot detect other voltage levels that way.
If this is your objective use an ADC, or specific external custom hardware.
In the SDK example pin interrupt level triggering interrurpt is worked but sometimes doesnt worked. controller not detect varying voltage,
using 3.3 v controller is detect the interrupt in level triggering same LOW&HIGH.
as the same 1.2 v controller is not detected only sometimes i got interrupt.
interrupt detect voltage for controller is 0.8v but why? this not happened continue interrupt signal.
It seems you don't understand what "pin level interrupt" means in this context.
This term relates to the logic levels "H" and "L", which are defined and fixed by hardware and supply voltage. You cannot detect other voltage levels that way.
If this is your objective use an ADC, or specific external custom hardware.