-
Notifications
You must be signed in to change notification settings - Fork 369
Initial TWAI Driver Implementation #192
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e015806
wip: initial implementation of transmission only.
alexbohm b8ec8b4
Moved TWAI to its own directory and added initial reception of packets.
alexbohm c8a2291
Added extended id transmit and receive.
alexbohm 0e5e04f
Added maybe better code for making packet filters.
alexbohm 69613cc
Fixed bug with ids and improved methods of copying data to the periph…
alexbohm c9404bc
Added some guards against Bus Off
alexbohm d675ac9
Added reception of remote frames.
alexbohm e08ef1f
Clean up of comments, etc
alexbohm cd343de
Updated TWAI naming and cleaned up example a bit.
alexbohm 336e104
Updated bitselector to include better unpacking methods.
alexbohm 3e4a46b
Add embedded-can and limit initial TWAI implementation to esp32c3.
alexbohm b28bb96
Added embedded-can to esp32c3 twai example.
alexbohm 0389fe8
Switched twai filter to using bytestrings.
alexbohm f26d19a
Implemented new() for twai filters.
alexbohm 3553a0c
Clean up TWAI docs and example.
alexbohm fc7a428
Fix filter constructors and add examples.
alexbohm 54b5e5d
pre driver PeripheralRef update.
alexbohm 2b6778d
PeripheralRef/twai
alexbohm a8e875e
Format comments with nightly rustfmt.
alexbohm d18a5cc
Add gpio PeripheralRef and use volatile for direct register access.
alexbohm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added some guards against Bus Off
- Loading branch information
commit c9404bcaa33a11d5df6973474a6bccbc035fa4e3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.