Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I want to configure parity of my uart module at runtime on my PSOC5LE device. I am using UART[v2.50] component and PSOC designer.
To achieve this I had enabled the API control. I went through the component datasheet where it describes to use the UART_WriteControlRegister() API to achieve this task. But I cannot find the macros UART__B_UART__NONE_REVB, UART__B_UART__EVEN_REVB etc... defined in the code.
I am quite sure you are using PSoC Creator and not Designer.
the #define UART__B_UART__NONE_REVB is in your UART.h file which is already included in your project, so you may use that instantly. Remember to replace the first "UART" with your component name which usually is "UART_1"!