mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 01:42:49 +08:00
cc464ea7f3
Add a new section documenting the TIOCSERGSTRUCT debug ioctl and CONFIG_SERIAL_TIOCSERGSTRUCT Kconfig option. The section covers enabling the feature, how the ioctl copies driver-internal state to user space, example usage with the 16550 UART driver, and a warning about the non-stable nature of exposed structures. Signed-off-by: Arjav Patel <arjav1528@gmail.com>