Line 157/158:
#define IOCON_INV_EN (0x1 << 6) | /*!< Enables invert function on input */ | |
#define IOCON_RESERVED_BIT_6 (0x1 << 6) | /*!< Reserved, must be set. */ |
Bit 6 is responsible for inverting the pin! I just spent 6 hours tracking down why my UART is not working just because I set this bit... Not cool!
Hi Jan,
Thanks for your sharing, and I will check later.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------