Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
| Functions | |
| int | gpio_irq_init (gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32_t id) | 
| Initialize the GPIO IRQ pin. | |
| void | gpio_irq_free (gpio_irq_t *obj) | 
| Release the GPIO IRQ PIN. | |
| void | gpio_irq_set (gpio_irq_t *obj, gpio_irq_event event, uint32_t enable) | 
| Enable/disable pin IRQ event. | |
| void | gpio_irq_enable (gpio_irq_t *obj) | 
| Enable GPIO IRQ. | |
| void | gpio_irq_disable (gpio_irq_t *obj) | 
| Disable GPIO IRQ. | |
Function Documentation
| void gpio_irq_disable | ( | gpio_irq_t * | obj ) | 
Disable GPIO IRQ.
This is target dependent, as it might disable the entire port or just a pin
- Parameters:
- 
  obj The GPIO object 
| void gpio_irq_enable | ( | gpio_irq_t * | obj ) | 
Enable GPIO IRQ.
This is target dependent, as it might enable the entire port or just a pin
- Parameters:
- 
  obj The GPIO object 
| void gpio_irq_free | ( | gpio_irq_t * | obj ) | 
Release the GPIO IRQ PIN.
- Parameters:
- 
  obj The gpio object 
| int gpio_irq_init | ( | gpio_irq_t * | obj, | 
| PinName | pin, | ||
| gpio_irq_handler | handler, | ||
| uint32_t | id | ||
| ) | 
Initialize the GPIO IRQ pin.
- Parameters:
- 
  obj The GPIO object to initialize pin The GPIO pin name handler The handler to be attached to GPIO IRQ id The object ID (id != 0, 0 is reserved) 
- Returns:
- -1 if pin is NC, 0 otherwise
| void gpio_irq_set | ( | gpio_irq_t * | obj, | 
| gpio_irq_event | event, | ||
| uint32_t | enable | ||
| ) | 
Enable/disable pin IRQ event.
- Parameters:
- 
  obj The GPIO object event The GPIO IRQ event enable The enable flag 
Generated on Sun Jul 17 2022 08:25:37 by
 1.7.2
 1.7.2