Page 1 of 1

TWAI callback on Receive

Posted: Thu Sep 21, 2023 3:25 am
by glionx
Is it possible to setup a callback for when a message is added to the receive buffer? If so please show how. Thanks

Re: TWAI callback on Receive

Posted: Fri Sep 29, 2023 1:19 pm
by DrMickeyLauer
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.