8.1.3.5 can_async_read
Read a CAN message.
int32_t can_async_read(
struct can_async_descriptor *const descr,
struct can_message * msg
)
Parameters
- descr
-
Type: struct can_async_descriptor Struct *const
The CAN descriptor to read message.
- msg
-
Type: struct can_message *
The CAN message to read to.
Returns
Type: int32_t
The status of read message.