On Friday, April 28, 2017, Andy Shevchenko wrote:
> Had you read the following, esp. Note there?
> 
> * @PIN_CONFIG_INPUT_ENABLE: enable the pin's input.  Note that this does
> not
> *      affect the pin's ability to drive output.  1 enables input, 0
> disables
> *      input.
> 
> For me manual is clearly tells about this settings:
> "This register enables or disables the input buffer while the output
> buffer is enabled."


But, then if we use "input-enable" to get bi-directional functionality, now we 
need something to replace what we were using "input-enable" for.
We were using "input-enable" to signal when the pin function that we set also 
needs to be forcible set to input by the software (once again, because the HW 
is not smart enough to do it on its own), but is different than the 
bi-directional functionality (ie, a different register setting).


So, if we replace "bi-directional" with "input-enable" (since logically 
internally that is what is going on), what do we use for the special pins that 
the HW manual says "hey, you need to manually set these pins to input with SW 
because the pin selection HW can't do it correctly)". Note that we added a 
enable-output for the same reason.
See RZ/A1H HW Manual section "Table 54.7 Alternative Functions that 
PIPCn.PIPCnm Bit Should be Set to 0"


Chris

Reply via email to