raiden00pl commented on pull request #1788:
URL: https://github.com/apache/incubator-nuttx/pull/1788#issuecomment-692878070


   On some architectures you can just achieve GPIO_DISABLED by setting the pin 
configuration to 0, but that won't work for NRF52.
   
   As I know PSEL is always configured at the runtime because there is no 
hardcoded pinmux for NRF52. We can avoid this by creating definitions for all 
possible peripheral pin configurations, but we'll probably agree that it 
doesn't make sense.
   
   I'm still not sure if we should deal with it at the SPIM side or the GPIO 
side as proposed, but GPIO_DISABLE is a useful new feature that I'm fine with. 
Dealing with it on the peripheral side will also be more complicated.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to