TWAI callback on Receive

glionx
Posts: 2
Joined: Wed Jul 06, 2022 9:16 pm

TWAI callback on Receive

Postby glionx » Thu Sep 21, 2023 3:25 am

Is it possible to setup a callback for when a message is added to the receive buffer? If so please show how. Thanks

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: TWAI callback on Receive

Postby DrMickeyLauer » Fri Sep 29, 2023 1:19 pm

Not with the builtin driver, but you can of course abstract it, so that loop over twai_receive in a high priority task and call your callback.

Who is online

Users browsing this forum: Bing [Bot] and 115 guests