1.6.13.21 1.7.14.21 1.10.11.21 1.11.11.21 1.12.11.21 1.13.10.21 1.14.10.21 1.15.10.21 1.16.8.21 1.17.8.21 1.18.9.21 1.19.8.21 1.20.8.11 1.21.9.11 1.22.13.21 1.23.12.21 1.24.9.21 GPIO_PinInterruptDisable Function
C
The prototype of this function varies based on device family. Refer to the generated header file for the actual prototype to be used.
void GPIO_PinInterruptDisable(CN_PIN cnPin)
void GPIO_PinInterruptDisable(GPIO_PIN pin)
Summary
Disables CN interrupt on selected pin.
Description
This function disables CN interrupt on selected pin.
Precondition
Corresponding pin must be configured in interrupt mode in MHC Pin Manager.
Parameters
Param | Description |
---|---|
cnPin | One or multiple CN pins ORed from the enum CN_PIN |
pin | One of the IO pins from the enum GPIO_PIN |
Returns
None.
Example
Example of this function varies based on device family. Refer to the one which is applicable for the device being used.
// Disable CN interrupt for CN8 and CN10 pins
GPIO_PinInterruptDisable(CN8_PIN | CN10_PIN);
// Disables CN interrupt for RB3 pin
GPIO_PinInterruptDisable(GPIO_PIN_RB3);
Remarks
None.