8.1.3.1 can_async_init
Initialize CAN.
int32_t can_async_init(
struct can_async_descriptor *const descr,
void *const hw
)
This function initializes the given CAN descriptor.
Parameters
- descr
-
Type: struct can_async_descriptor Struct *const
A CAN descriptor to initialize.
- hw
-
Type: void *const
The pointer to hardware instance.
Returns
Type: int32_t
Initialization status.