Skip to content

added optional custom handler to Serial interrupt #93

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

Closed
wants to merge 2 commits into from

Conversation

gicking
Copy link

@gicking gicking commented Nov 8, 2019

added optional custom handler to Serial interrupt. Is similar to
NeoHWSerial by SlashDevin (https://github.com/SlashDevin/NeoHWSerial),
but:

  • user function also gets UART status as parameter to e.g. detect LIN
    break in user routine.

  • ported to Arduino Due

Added as core extension because AFAIK cannot be implemented as library
for Due. Also note similar pull request for AVR
(arduino/ArduinoCore-avr#297)

added optional custom handler to Serial interrupt. Is similar to
NeoHWSerial by SlashDevin (https://github.com/SlashDevin/NeoHWSerial),
but:

- user function also gets UART status as parameter to e.g. detect LIN
break in user routine.

- ported to Arduino Due

Added as core extension because AFAIK cannot be implemented as library
for Due. Also note similar pull request for AVR
(arduino/ArduinoCore-avr#297)
- add Serialx.attachInterrupt_Send()
- rename Serialx.attachInterrupt() to Serialx.attachInterrupt_Receive()
@gicking
Copy link
Author

gicking commented Nov 23, 2019

replaced by new pull request with additional Serialx.attachInterrupt_Send(). Also for SAM

@gicking gicking closed this Nov 23, 2019
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.

1 participant