-
Notifications
You must be signed in to change notification settings - Fork 21
doc: lib: add bm_buttons documentation #422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
242bb56
to
424e74a
Compare
You can find the documentation preview for this PR here. |
424e74a
to
eadc3f0
Compare
8893adc
to
b204d0b
Compare
doc/nrf-bm/libraries/buttons.rst
Outdated
To handle debouncing, a timer is started in the GPIOTE event handler. | ||
The button will only be reported as pushed to the application if the corresponding pin is still active when the timer expires. | ||
|
||
The button handling library uses the ``bm_timer`` module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking this can be removed. It is mentioned above that the library uses a timer, and the bm_timer module is mentioned in the dependencies section.
|
||
This library uses the following |BMshort| libraries: | ||
|
||
* Timer - :kconfig:option:`CONFIG_BM_TIMER` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When more of the library documentation is merged, this section (and this section in other modules) could be updated with links.
b204d0b
to
f5071e8
Compare
f5071e8
to
f8c3f6d
Compare
Add documentation for bm_buttons library. Signed-off-by: Eivind Jølsgard <[email protected]>
f8c3f6d
to
c0d647e
Compare
Add documentation for bm_buttons library.