LPC11u12 USART inverted bits

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC11u12 USART inverted bits

685 次查看
rudomanenko
Contributor II

Hi everyone ! How can I config usart on lpc11u12 to send/recieve inverted order of bits? I didn't see anything in any register.
Thanks

标签 (4)
标记 (3)
1 回复

610 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Anton Rudomanenko,

     The LPC11U12 UART  hardware don't have the inverted order bits function.

     So, if you really need to do the inverted, I suggest you to realize it with the software, take an example:

   Send, the data which you want to send out, do the inverted at first, then put it to the UART send buffer.

   Receive, when you receive the data, then use the software to do the invert function at first, then save that inverted received data to your according storage buffer.

Wish it helps you!

If you still have question about it, please kindly let me know.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------