CAN Interface¶
-
group
CANInterface
-
Functions
-
int
csp_can_init
(uint8_t mode, struct csp_can_config *conf)¶ Init CAN interface.
- Return
- 0 if CAN interface was successfully initialized, -1 otherwise
- Parameters
mode
: Must be either CSP_CAN_MASKED or CSP_CAN_PROMISCconf
: Pointer to configuration struct.
Variables
-
csp_iface_t
csp_if_can
¶
-
int