Anonymous
Not applicable
Oct 27, 2014
01:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 27, 2014
01:09 AM
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
1 Solution
Oct 28, 2014
07:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 28, 2014
07:20 PM
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.
3 Replies