michallenc opened a new pull request, #6989: URL: https://github.com/apache/incubator-nuttx/pull/6989
## Summary This IOCTL (QEIOC_GETINDEX) allows the application to get the actual encoder position, the index last position and the index count with one IOCTL call if supported by architecture specific level. The position, index and count is passed to application level through qe_index_s structure. The other commit enhances the iMXRT encoder driver with index capture and QEIOC_GETINDEX support. ## Impact QEIOC_GETINDEX IOCTL offers more comfortable usage for motor control (where last index position might be required for motor control). The IOCTL is currently implemented only for iMXRT MCU. ## Testing Tested with iMXRT based Teensy 4.1 board and PMSM control. -- 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