Skip to content

drivers/ioexpander: add enable & disable macro for gpio SETDEBOUNCE and SETMASK#17813

Merged
acassis merged 1 commit intoapache:masterfrom
chenzihan0416:gpio
Jan 13, 2026
Merged

drivers/ioexpander: add enable & disable macro for gpio SETDEBOUNCE and SETMASK#17813
acassis merged 1 commit intoapache:masterfrom
chenzihan0416:gpio

Conversation

@chenzihan0416
Copy link
Copy Markdown
Contributor

Summary

IOEXPANDER_DEBOUNCE_DISABLE (0): Disable debounce filtering
IOEXPANDER_DEBOUNCE_ENABLE (1): Enable debounce filtering
IOEXPANDER_MASK_DISABLE (0): Unmask the interrupter
IOEXPANDER_MASK_ENABLE (1): Mask the interrupter

Impact

NULL

Testing

NULL

@github-actions github-actions Bot added Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small labels Jan 9, 2026
michallenc
michallenc previously approved these changes Jan 9, 2026
xiaoxiang781216
xiaoxiang781216 previously approved these changes Jan 9, 2026
acassis
acassis previously requested changes Jan 9, 2026
Copy link
Copy Markdown
Contributor

@acassis acassis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chenzihan0416 could you please expand (no pun intended :-D ) the IOExpander section of our Documentation: https://nuttx.apache.org/docs/latest/components/drivers/special/ioexpander.html ? Please include these options and the existing options.

@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium labels Jan 13, 2026
@chenzihan0416
Copy link
Copy Markdown
Contributor Author

@acassis done, please review again, thanks : )

@xiaoxiang781216
Copy link
Copy Markdown
Contributor

@chenzihan0416 please fix the build error:

Warning, treated as error:
/home/runner/work/nuttx/nuttx/Documentation/components/drivers/special/ioexpander.rst:75:Inline emphasis start-string without end-string.
make: *** [Makefile:48: html] Error 2

…nd SETMASK

IOEXPANDER_DEBOUNCE_DISABLE (0): Disable debounce filtering
IOEXPANDER_DEBOUNCE_ENABLE (1): Enable debounce filtering
IOEXPANDER_MASK_DISABLE (0): Unmask the interrupter
IOEXPANDER_MASK_ENABLE (1): Mask the interrupter

Signed-off-by: chenzihan1 <chenzihan1@xiaomi.com>
@acassis acassis merged commit 513673c into apache:master Jan 13, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Area: Drivers Drivers issues Size: M The size of the change in this PR is medium Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants