FullDuplexSerial2 is a spin-off of my cogserialpasm driver.
FullDuplexSerial2 is a LUT-buffered Serial driver providing not just one but optional two serial fullduplex connections.
I integrated the way FastSpin uses common serial routines (adapted for 2 ports), so it will fit well next to the two other drivers fastspin provides, using the same syntax.
So you have all the common output functions plus a string input function. The driver also provides additional async functions to start a read or write of blocks of HUB memory while doing something else and just poll for completion.
In opposite to the both existing 2 drivers included in fastspin, this driver does support the mode parameter, currently just the first two bits, inverting RX and/or TX.
Adding open drain is easy possible, I just haven't figured out what setting I want/need to use. On echo suppression I am completely at lost how to implement that with a buffered driver at all.
I am just another Code Monkey
A determined coder can write COBOL programs in any language. -- Author unknown.
Press any key to continue, any other key to quit
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this post are to be interpreted as described in RFC 2119