comejv opened a new pull request, #16809: URL: https://github.com/apache/nuttx/pull/16809
## Summary This commit introduces a timer capture driver for the STM32H7 series ported from the STM32 F series. The current implementation is based on a driver originally for PWM input, and as such, it calculates duty cycle and frequency. It is also limited to a single capture channel per timer. This serves as a foundation for future development of more comprehensive input capture capabilities on STM32H7 platforms. The main changes include: - A new generic timer capture driver for STM32H7. - A lower-half driver to integrate with the NuttX capture subsystem. - Kconfig options to enable and configure capture for various timers. - Pin definitions for TIM1-4 capture inputs on the nucleo-h743zi. - An update to `cap_register_multiple` to handle multiple device registration. - An update to `stm32_bringup` to register the capture drivers. ## Impact STM32H7 users can now use the timer capture devices after enabling them in menuconfig. ## Testing Tested by polling and reading `/dev/cap0-4` with `ioctl(fds[i], CAPIOC_FREQUENCE, freq)` while sending a square wave signal to appropriate pins and checking frequency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org