mirror of https://github.com/ARMmbed/mbed-os.git
[NUC472/M453] Add comment in gpio_irq_init()
parent
46cb684a32
commit
ea7a0fdf74
|
|
@ -88,6 +88,7 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
|
|||
obj->irq_id = id;
|
||||
|
||||
GPIO_T *gpio_base = NU_PORT_BASE(port_index);
|
||||
// NOTE: In InterruptIn constructor, gpio_irq_init() is called with gpio_init_in() which is responsible for multi-function pin setting.
|
||||
//gpio_set(pin);
|
||||
|
||||
{
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
|
|||
obj->irq_id = id;
|
||||
|
||||
GPIO_T *gpio_base = NU_PORT_BASE(port_index);
|
||||
// NOTE: In InterruptIn constructor, gpio_irq_init() is called with gpio_init_in() which is responsible for multi-function pin setting.
|
||||
//gpio_set(pin);
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue