This is an automated email from the ASF dual-hosted git repository. linguini pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 29e6d4f96e Documentation/drivers/analog/adc/ads1115: Add missing documentation for ioctl 29e6d4f96e is described below commit 29e6d4f96e9f5bdea46d6cfe98e4dc6edcfc6817 Author: T. L. <99093620+justapotato...@users.noreply.github.com> AuthorDate: Thu May 29 20:38:36 2025 -0400 Documentation/drivers/analog/adc/ads1115: Add missing documentation for ioctl This commit adds the missing documentation for the ioctl command ANIOC_ADS1115_READ_CHANNEL. Signed-off-by: Tony Lin <99093620+justapotato...@users.noreply.github.com> --- .../components/drivers/character/analog/adc/ads1115/index.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/components/drivers/character/analog/adc/ads1115/index.rst b/Documentation/components/drivers/character/analog/adc/ads1115/index.rst index 0747215ff1..7b741b7029 100644 --- a/Documentation/components/drivers/character/analog/adc/ads1115/index.rst +++ b/Documentation/components/drivers/character/analog/adc/ads1115/index.rst @@ -230,3 +230,8 @@ of type uint16_t, which corresponds to the HIGH_THRESH register value. This command changes the LOW_THRESH register of the ADS1115. The argument passed should be of type uint16_t, which corresponds to the LOW_THRESH register value. + +.. c:macro:: ANIOC_ADS1115_READ_CHANNEL + +This command reads a value from a specific channel of the ADS1115. The argument passed should +be a pointer to a struct adc_msg_s.