can_async_get_rxerr

Return number of read errors.

uint8_t can_async_get_rxerr(
    struct can_async_descriptor *const descr
)

This function returns the number of read errors.

Parameters

descr

Type: struct can_async_descriptor Struct *const

The CAN descriptor pointer

Returns

Type: uint8_t

The number of read errors.