- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Tags:
- deep sleep
- interrupt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
boonst,
I appreciate for your answer, but it did not work.
The result is same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.