Welcome to the Uart32 Library:
Uart32 is a C++ wrapper around the win32 Serial Port API that allows blocking-mode access to the COM port.
This library works great for accessing a UART serial port from a background worker thread. It features:
This library was built using the Code::Blocks 16.01 Mingw compiler on Windows, and it was tested using an FTDI USB-UART dongle.
Also included is a companion Verilog Core for embedding in an FPGA environment similar to what you might find on opencores that can talk directly with the Uart32 library. This is a verilog core that I wrote years ago while in between jobs.
Suggestions welcome
If there are any API additions or modification that you would like added to the library, feel free to write a ticket at the side and include any source code examples as necessary.
Contactor for Hire
If you are a company and you need modifications to the source code to address a specific tasks or issues, I'm available for contracting as well. Just open a ticket on the side with your request. The only requirement is that paid changes to the source code will remain in the public domain on source forge. The reason for this is that Uarts are a fundamental building block for electronic hobbist and its imported for a new generation to have access to these types of libraries so they can focus on the problems of the day rather than reinventing the wheel.