pub unsafe extern "C" fn nros_platform_can_recv(
can: *mut nros_platform_can_t,
frame: *mut nros_platform_can_frame_t,
timeout_us: u32,
) -> i8Expand description
Receive one frame, waiting at most timeout_us (0: poll).
NROS_PLATFORM_CAN_EAGAIN when nothing arrived; NROS_PLATFORM_CAN_ENOTSUP
on a backend without receive.