SW1 in Tag board can not be disabled for interrupt source.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

In SDK2.1.1, I tested hello-sensor.

I substituted GPIO_PIN_BUTTON, and GPIO_SETTINGS_BUTTOn in hello_sensor_gpio_cfg with -1 and 0.

and I inserted bleprofile_PrepareHidoff() at the end of hello_sensor_create();

When I push SW1, I expected it did not wake up, but it did.

I inserted gpio_configure(0/16, 0%16, GPIO_INTERRUPT_DISABLE,0);

but the result was same.

What should I do to  disable GPIO_P0 as interrupt source?

0 Likes
1 Solution

can you access include/drivers/gpiodriver.h? gpio_p0 to p15 is called Port0. There are options to set them to high impedance which also mean disabled.

View solution in original post

3 Replies