You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/02 12:40:28 UTC

[GitHub] [incubator-nuttx] michallenc opened a new pull request, #6989: encoder: add support for QEIOC_GETINDEX ioctl

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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6989: encoder: add support for QEIOC_GETINDEX ioctl

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #6989:
URL: https://github.com/apache/incubator-nuttx/pull/6989


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org