Skip to content

Conversation

eivindj-nordic
Copy link
Contributor

Add documentation for bm_buttons library.

@eivindj-nordic eivindj-nordic self-assigned this Oct 9, 2025
@eivindj-nordic eivindj-nordic requested review from a team as code owners October 9, 2025 10:31
@github-actions github-actions bot added changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval. labels Oct 9, 2025
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

You can find the documentation preview for this PR here.

@eivindj-nordic eivindj-nordic force-pushed the doc_buttons branch 2 times, most recently from 8893adc to b204d0b Compare October 14, 2025 07:44
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.
Copy link
Contributor

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`
Copy link
Contributor

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.

Add documentation for bm_buttons library.

Signed-off-by: Eivind Jølsgard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants