Anonymous
Not applicable
Apr 06, 2016
10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 06, 2016
10:05 PM
Hello Everyone,
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.
Please help.
Labels
- Labels:
-
PSoC 5LP
1 Reply
Apr 07, 2016
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 07, 2016
06:43 AM
Welcome in the forum!
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"!
Bob