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

Port some AVR Serial_ (SerialUSB) API's over #285

Merged
merged 1 commit into from
Mar 6, 2021

Conversation

myelin
Copy link

@myelin myelin commented Mar 6, 2021

This is a cherrypick of a commit by Sandeep Mistry from the upstream arduino/ArduinoCore-samd repository (tag 1.6.5 and later), that adds the following functions to the Serial_ class:

int32_t Serial_::readBreak();
unsigned long Serial_::baud();
uint8_t Serial_::stopbits();
uint8_t Serial_::paritytype();
uint8_t Serial_::numbits();
bool Serial_::dtr();
bool Serial_::rts();

I have a separate PR at adafruit/Adafruit_TinyUSB_ArduinoCore#21 to add Serial_::dtr() to the TinyUSB version.

@ladyada ladyada merged commit aebf3cb into adafruit:master Mar 6, 2021
@ladyada
Copy link
Member

ladyada commented Mar 6, 2021

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants