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

How to use interrupt base readig for the CAN Frame? #2

Open
Borbonjuggler opened this issue Aug 17, 2021 · 0 comments
Open

How to use interrupt base readig for the CAN Frame? #2

Borbonjuggler opened this issue Aug 17, 2021 · 0 comments

Comments

@Borbonjuggler
Copy link

I am running a Raspberry Pi 3 Model B Plus Rev 1.3, Raspbian Buster, and Linux version 5.10.52-v7+. My CAN Shield is the RS485&CAN Module .

How I can use interruptions for knowing when a new frame is received by the CAN-bus ? I can see in your code that the function:

static irqreturn_t mcp251x_can_ist(int irq, void *dev_id) do that. but how I can access it?

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

1 participant