b1a15718aa
The RA_PINCFG macro is used to generate a value that can be written directly to the pin function select register. In addition to the pin function this value also contains port and pin number information, located in bit fields that are unused by the register. The bit field used to store the port information consists of 3-bits. However, a typo in the mask definition limited the field to two bits meaning only ports 0-3 could be configured. This patch resolves the issue, allowing ports 0-7 to be configured. If the port is greater than 7 another field (port4) is used to store an additional bit (allowing an additional 8 ports to be supported). However, use of this field has not yet been implemented. Signed-off-by: Ian Morris <ian.d.morris@outlook.com> |
||
---|---|---|
.. | ||
pinctrl_ra.h | ||
ra_common_soc.h |