LPC11u12 USART inverted bits

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC11u12 USART inverted bits

693件の閲覧回数
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 返信

618件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------