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 2021/09/30 09:07:40 UTC

[GitHub] [incubator-nuttx] jarivanewijk opened a new pull request #4634: S32K1XX arch: gpioread may also be used for output pins

jarivanewijk opened a new pull request #4634:
URL: https://github.com/apache/incubator-nuttx/pull/4634


   ## Summary
   The s32k1xx_gpioread function contains a DEBUGASSERT that checks if the pin from which the logic level is to be read is actually an **input** pin. However, on S32K1XX the Port Data Input Register may also be accessed for pins that are configured as an **output**, so this check is not needed. Without this check it becomes possible to use s32k1xx_gpioread to check if the pin actually has the desired output state, which is a nice feature.
   
   ## Impact
   N/A
   
   ## Testing
   N/A
   


-- 
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 #4634: S32K1XX arch: gpioread may also be used for output pins

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


   


-- 
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