pub unsafe extern "C" fn GPIO_disable_irq(
this_gpio: *mut gpio_instance_t,
port_id: gpio_id_t,
)Expand description
The GPIO_disable_irq() function is used to disable interrupts from being generated based on the state of the input specified as a parameter.
@param this_gpio The this_gpio parameter is a pointer to the gpio_instance_t structure holding all the data regarding the CoreGPIO instance controlled through this function call.
@param port_id The port_id parameter identifies the GPIO input that the call to GPIO_disable_irq() disables from generating interrupts. An enumeration item of the form GPIO_n, where n is the number of the GPIO port, is used to identify the GPIO port. For example, GPIO_0 identifies the first GPIO port and GPIO_31 the last one.
@return none.
@example The call to GPIO_disable_irq() below prevents GPIO 8 from generating interrupts. @code GPIO_disable_irq( &g_gpio, GPIO_8 ); @endcode