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

Request: expose error flag register #27

Closed
obdevel opened this issue Apr 28, 2021 · 3 comments
Closed

Request: expose error flag register #27

obdevel opened this issue Apr 28, 2021 · 3 comments

Comments

@obdevel
Copy link

obdevel commented Apr 28, 2021

It would be very useful to be able to read the chip's error flag register (0x2D ?) This enables one to check for error states such as warning level, error passive, bus off, etc. A value of zero means 'no error' and the definitions of the individual bit values can be found in the datasheet.

It is present in the MCP_CAN library as the getError() method.

@pierremolinaro
Copy link
Owner

pierremolinaro commented May 3, 2021 via email

@obdevel
Copy link
Author

obdevel commented May 3, 2021 via email

@pierremolinaro
Copy link
Owner

pierremolinaro commented May 3, 2021 via email

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

No branches or pull requests

2 participants