Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 9N1 serial definitions to support 9-bit UART #238

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vashadow
Copy link

@vashadow vashadow commented Oct 5, 2024

I added two define statements to allow boards like the UNO R4 WIFI to use their 9-bit UART via the 16-bit register. This is to support a pull request coming to the renesas_uno core to activate and facilitate the processor's 9-bit functionality.

I added two define statements to allow boards like the UNO R4 WIFI to use their 9-bit UART via the 16-bit register. This is to support a pull request coming to the renesas_uno core to activate and facilitate the processor's 9-bit functionality.
@CLAassistant
Copy link

CLAassistant commented Oct 5, 2024

CLA assistant check
All committers have signed the CLA.

@vashadow
Copy link
Author

vashadow commented Oct 5, 2024

The failed unit test seems to have been caused by a crash on the unit test side. The test engine seems to have crashed before getting to my pull request.

@vashadow vashadow changed the title Added 9N1 support to HardwareSerial.h Added 9N1 support to support 9-bit UART Oct 6, 2024
@vashadow vashadow changed the title Added 9N1 support to support 9-bit UART Added 9N1 to support 9-bit UART Oct 6, 2024
@vashadow
Copy link
Author

vashadow commented Oct 6, 2024

This is required to support pull request #379 ArduinoCore-renesas
arduino/ArduinoCore-renesas#379

@vashadow vashadow changed the title Added 9N1 to support 9-bit UART Added 9N1 serial definitions to support 9-bit UART Oct 6, 2024
I added all the combinations of 9-bit serial.
9N1, 9N2, 9E1, 9E2, 9O1, 9O2, 9M1, 9M2, 9S1, 9S2
This allows newer processors like the RA4M1 to use its built-in 9-bit support. 9Bit is widely used on many industrial and embedded machines, and having a true 9-bit UART brings a high value add to these boards.
Update HardwareSerial.h with 9-bit definitions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants