Level triggered interrupts on STM32L series
I'm working with the STM32L152. I have a USB port which has a detect signal connected to an IO pin. When the USB plug is inserted or removed the detect pin changes state. On some occasions the signal is missed. Looking at the signal on the scope shows lots of bouncing (I'm surprised no one's looked at this before). Anyway, I'd like to make the interrupt level triggered instead of edge triggered, which will hopefully deal with the problem. I don't see anything in either the STM32 data sheets or the NVIC data sheet on how to change interrupt modes. Can anyone point me in the right direction? Thanks.
Lee