Pin Interrupt Enable/Disable Confusion
Hello, at the moment i study the LPC11U1x manual(Cortex-M0) and i found some very confusing thing, in the GPIO interrupt registers to enable a rising edge or level interrupt i can set a bit in IENR or delete a bit to disable the interrupt. but the CIENR disables a interrupt by deleting the corresponding bit in IENR and again there is SIENR that only set the corresponding bit in IENR
ISEL Pin Interrupt Mode register: Selects if edge or level sensitive
IENR Pin Interrupt Enable: Enables rising edge/level interrupt
0 = Disable rising edge or level interrupt.
1 = Enable rising edge or level interrupt
SIENR Set Pin Interrupt Enable
0 = No operation.
1 = Enable rising edge or level interrupt.
CIENR Clear Pin Interrupt Enable
0 = No operation.
1 = Disable rising edge or level interrupt.
IST Pin Interrupt Status register
1 = (edge-sensitive): clear rising- and falling-edge detection for this pin.
So if i have a rising edge interrupt i can set him over IENR or SIENR
if i wont to disable the interrupt i can do that by IENR or CIENR or IST
so IST my make sense but why CIENR and SIENR
is this for compatibility with other cortex`s?. did i understood it right?
sarwar shaib commented
You can enable or disable the necessary PIN for pairing when projecting to this PC in Windows 10 by following these steps. Tap the Windows and I keys together to start the Windows Settings application and then choose the System settings. Here choose the option that says Projecting to this PC and alter the “Require PIN for pairing” to Never. This will disable the PIN feature when connecting. In the end, two options are for enabling the PIN for pairing. In case you choose the First Time option, it will ask for a PIN for the first time, and then it will not ask for it again. In case you select the Always option, then it will always ask for a PIN when connecting. Find more methods to fix the issue by tapping https://appuals.com/enable-or-disable-require-pin-for-pairing-when-projecting-to-this-pc-in-windows-10/ .