Repository navigation
Docs/i2s clarify - #22944
Merged
Merged
Docs/i2s clarify#22944
Conversation
Addresses apache#11081. Document struct i2s_dev_s, struct i2s_ops_s, I2S_* macros, async transfers, i2schar_register(), and I2SIOC_* ioctl commands from include/nuttx/audio/i2s.h. Signed-off-by: watersRand <bramwelbarack89@gmail.com>
Rename the second I2S_RXCHANNELS comment block to I2S_TXCHANNELS and correct 'data with' to 'data width'. Comment-only change. Signed-off-by: watersRand <bramwelbarack89@gmail.com>
|
acassis
approved these changes
Dec 5, 2026
xiaoxiang781216
approved these changes
Dec 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses #11081.
Documentation/os/drivers/character/i2s.rstfrom a stub reference intostructured reStructuredText documentation covering the I2S driver model
(
struct i2s_dev_sandstruct i2s_ops_s),I2S_*access macros,asynchronous transfer behavior,
i2schar_register()character test driver,I2SIOC_*ioctlcommands, and hardware/driver caveats based oninclude/nuttx/audio/i2s.h.include/nuttx/audio/i2s.h.Impact
ioctlcommands, macros, and thei2schartest driver.documentation under
Documentation/.Documentation/os/drivers/character/i2s.rst(tracked under issue Documentation: blank pages in documentation #11081).
Testing
Host machine: Fedora Linux (
x86_64), buildingDocumentation/withSphinx (
make html/sphinx-autobuild).Boards / targets: Documentation and header comment changes (no target
board runtime change).
Verification & logs:
make -C Documentation htmlwith zero warnings or errors after fixing heading overline/underline lengths.
i2s.htmloutput in the browser to check section layout,code blocks, and readability.
include/nuttx/audio/i2s.hwith./tools/nxstyle.Sample Sphinx build check: