Skip to content

Bug fixes and minor enhancements#5

Open
ghfbsd wants to merge 9 commits into
Longan-Labs:masterfrom
ghfbsd:master
Open

Bug fixes and minor enhancements#5
ghfbsd wants to merge 9 commits into
Longan-Labs:masterfrom
ghfbsd:master

Conversation

@ghfbsd

@ghfbsd ghfbsd commented Apr 30, 2025

Copy link
Copy Markdown

Here are some minor changes to fix two bugs encountered in use, and to add some new functionality to the API to allow interrupt programming with the CAN interface.

Hope you find them useful.

ghfbsd added 9 commits January 9, 2025 16:51
… for

testing and so that interrupt programming can be done with the CAN transceiver.

setLoopback(): Sets interface into loopback mode.  Useful for test programs.

getInterrupts(), clearInterrupts(), getInterruptMask():
    Interrupt programming functionality.

getErrorFlags(), clearErrorFlags():
    Error handling during Interrupts.
- Uses static buffers for I/O avoiding changes to heap

- Offers recvinto() for use with preallocated buffers

- Corrects/eliminates overly-long timing delays
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