firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
Collaboration diagram for Can_1:

Functions

int can_1_safety_status_pack (uint8_t *dst_ptr, const struct can_1_safety_status *src_ptr, size_t size)
 Packs safety_status signal values from a struct of unpacked values into a uint8_t array.
int can_1_safety_status_unpack (struct can_1_safety_status *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks safety_status signal values from a uint8_t array into a struct of unpacked values.
int can_1_safety_sw_hard_fault_pack (uint8_t *dst_ptr, const struct can_1_safety_sw_hard_fault *src_ptr, size_t size)
 Packs safety_sw_hard_fault signal values from a struct of unpacked values into a uint8_t array.
int can_1_safety_sw_hard_fault_unpack (struct can_1_safety_sw_hard_fault *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks safety_sw_hard_fault signal values from a uint8_t array into a struct of unpacked values.
int can_1_fsb_laptrigger_message_pack (uint8_t *dst_ptr, const struct can_1_fsb_laptrigger_message *src_ptr, size_t size)
 Packs fsb_laptrigger_message signal values from a struct of unpacked values into a uint8_t array.
int can_1_fsb_laptrigger_message_unpack (struct can_1_fsb_laptrigger_message *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks fsb_laptrigger_message signal values from a uint8_t array into a struct of unpacked values.
int can_1_apps_right_pack (uint8_t *dst_ptr, const struct can_1_apps_right *src_ptr, size_t size)
 Packs apps_right signal values from a struct of unpacked values into a uint8_t array.
int can_1_apps_right_unpack (struct can_1_apps_right *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks apps_right signal values from a uint8_t array into a struct of unpacked values.
int can_1_apps_left_pack (uint8_t *dst_ptr, const struct can_1_apps_left *src_ptr, size_t size)
 Packs apps_left signal values from a struct of unpacked values into a uint8_t array.
int can_1_apps_left_unpack (struct can_1_apps_left *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks apps_left signal values from a uint8_t array into a struct of unpacked values.
int can_1_sas_data_pack (uint8_t *dst_ptr, const struct can_1_sas_data *src_ptr, size_t size)
 Packs sas_data signal values from a struct of unpacked values into a uint8_t array.
int can_1_sas_data_unpack (struct can_1_sas_data *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks sas_data signal values from a uint8_t array into a struct of unpacked values.
int can_1_bms_status_pack (uint8_t *dst_ptr, const struct can_1_bms_status *src_ptr, size_t size)
 Packs bms_status signal values from a struct of unpacked values into a uint8_t array.
int can_1_bms_status_unpack (struct can_1_bms_status *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks bms_status signal values from a uint8_t array into a struct of unpacked values.
int can_1_swb_regen_pack (uint8_t *dst_ptr, const struct can_1_swb_regen *src_ptr, size_t size)
 Packs swb_regen signal values from a struct of unpacked values into a uint8_t array.
int can_1_swb_regen_unpack (struct can_1_swb_regen *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks swb_regen signal values from a uint8_t array into a struct of unpacked values.
int can_1_swb_switches_pack (uint8_t *dst_ptr, const struct can_1_swb_switches *src_ptr, size_t size)
 Packs swb_switches signal values from a struct of unpacked values into a uint8_t array.
int can_1_swb_switches_unpack (struct can_1_swb_switches *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks swb_switches signal values from a uint8_t array into a struct of unpacked values.
int can_1_fsb_aux_switches_pack (uint8_t *dst_ptr, const struct can_1_fsb_aux_switches *src_ptr, size_t size)
 Packs fsb_aux_switches signal values from a struct of unpacked values into a uint8_t array.
int can_1_fsb_aux_switches_unpack (struct can_1_fsb_aux_switches *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks fsb_aux_switches signal values from a uint8_t array into a struct of unpacked values.
int can_1_cpu_bms_viewer_poll_pack (uint8_t *dst_ptr, const struct can_1_cpu_bms_viewer_poll *src_ptr, size_t size)
 Packs cpu_bms_viewer_poll signal values from a struct of unpacked values into a uint8_t array.
int can_1_cpu_bms_viewer_poll_unpack (struct can_1_cpu_bms_viewer_poll *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks cpu_bms_viewer_poll signal values from a uint8_t array into a struct of unpacked values.
int can_1_safety_pump_duty_pack (uint8_t *dst_ptr, const struct can_1_safety_pump_duty *src_ptr, size_t size)
 Packs safety_pump_duty signal values from a struct of unpacked values into a uint8_t array.
int can_1_safety_pump_duty_unpack (struct can_1_safety_pump_duty *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks safety_pump_duty signal values from a uint8_t array into a struct of unpacked values.
int can_1_bms_cell_data_pack (uint8_t *dst_ptr, const struct can_1_bms_cell_data *src_ptr, size_t size)
 Packs bms_cell_data signal values from a struct of unpacked values into a uint8_t array.
int can_1_bms_cell_data_unpack (struct can_1_bms_cell_data *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks bms_cell_data signal values from a uint8_t array into a struct of unpacked values.
int can_1_safety_tractive_status_pack (uint8_t *dst_ptr, const struct can_1_safety_tractive_status *src_ptr, size_t size)
 Packs safety_tractive_status signal values from a struct of unpacked values into a uint8_t array.
int can_1_safety_tractive_status_unpack (struct can_1_safety_tractive_status *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks safety_tractive_status signal values from a uint8_t array into a struct of unpacked values.
int can_1_bms_cell_vlt_pack (uint8_t *dst_ptr, const struct can_1_bms_cell_vlt *src_ptr, size_t size)
 Packs bms_cell_vlt signal values from a struct of unpacked values into a uint8_t array.
int can_1_bms_cell_vlt_unpack (struct can_1_bms_cell_vlt *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks bms_cell_vlt signal values from a uint8_t array into a struct of unpacked values.
int can_1_bms_cell_temp_pack (uint8_t *dst_ptr, const struct can_1_bms_cell_temp *src_ptr, size_t size)
 Packs bms_cell_temp signal values from a struct of unpacked values into a uint8_t array.
int can_1_bms_cell_temp_unpack (struct can_1_bms_cell_temp *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks bms_cell_temp signal values from a uint8_t array into a struct of unpacked values.
int can_1_fsb_status_pack (uint8_t *dst_ptr, const struct can_1_fsb_status *src_ptr, size_t size)
 Packs fsb_status signal values from a struct of unpacked values into a uint8_t array.
int can_1_fsb_status_unpack (struct can_1_fsb_status *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks fsb_status signal values from a uint8_t array into a struct of unpacked values.
int can_1_rsb_status_pack (uint8_t *dst_ptr, const struct can_1_rsb_status *src_ptr, size_t size)
 Packs rsb_status signal values from a struct of unpacked values into a uint8_t array.
int can_1_rsb_status_unpack (struct can_1_rsb_status *dst_ptr, const uint8_t *src_ptr, size_t size)
 Unpacks rsb_status signal values from a uint8_t array into a struct of unpacked values.

Detailed Description

Function Documentation

◆ can_1_apps_left_pack()

int can_1_apps_left_pack ( uint8_t * dst_ptr,
const struct can_1_apps_left * src_ptr,
size_t size )

Packs apps_left signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_APPS_LEFT_LENGTH (8U)

◆ can_1_apps_left_unpack()

int can_1_apps_left_unpack ( struct can_1_apps_left * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks apps_left signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_APPS_LEFT_LENGTH (8U)
Here is the caller graph for this function:

◆ can_1_apps_right_pack()

int can_1_apps_right_pack ( uint8_t * dst_ptr,
const struct can_1_apps_right * src_ptr,
size_t size )

Packs apps_right signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_APPS_RIGHT_LENGTH (8U)

◆ can_1_apps_right_unpack()

int can_1_apps_right_unpack ( struct can_1_apps_right * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks apps_right signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_APPS_RIGHT_LENGTH (8U)
Here is the caller graph for this function:

◆ can_1_bms_cell_data_pack()

int can_1_bms_cell_data_pack ( uint8_t * dst_ptr,
const struct can_1_bms_cell_data * src_ptr,
size_t size )

Packs bms_cell_data signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_CELL_DATA_LENGTH (8U)
Here is the caller graph for this function:

◆ can_1_bms_cell_data_unpack()

int can_1_bms_cell_data_unpack ( struct can_1_bms_cell_data * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks bms_cell_data signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_CELL_DATA_LENGTH (8U)

◆ can_1_bms_cell_temp_pack()

int can_1_bms_cell_temp_pack ( uint8_t * dst_ptr,
const struct can_1_bms_cell_temp * src_ptr,
size_t size )

Packs bms_cell_temp signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_CELL_TEMP_LENGTH (7U)
Here is the caller graph for this function:

◆ can_1_bms_cell_temp_unpack()

int can_1_bms_cell_temp_unpack ( struct can_1_bms_cell_temp * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks bms_cell_temp signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_CELL_TEMP_LENGTH (7U)

◆ can_1_bms_cell_vlt_pack()

int can_1_bms_cell_vlt_pack ( uint8_t * dst_ptr,
const struct can_1_bms_cell_vlt * src_ptr,
size_t size )

Packs bms_cell_vlt signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_CELL_VLT_LENGTH (6U)
Here is the caller graph for this function:

◆ can_1_bms_cell_vlt_unpack()

int can_1_bms_cell_vlt_unpack ( struct can_1_bms_cell_vlt * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks bms_cell_vlt signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_CELL_VLT_LENGTH (6U)

◆ can_1_bms_status_pack()

int can_1_bms_status_pack ( uint8_t * dst_ptr,
const struct can_1_bms_status * src_ptr,
size_t size )

Packs bms_status signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_STATUS_LENGTH (8U)
Here is the caller graph for this function:

◆ can_1_bms_status_unpack()

int can_1_bms_status_unpack ( struct can_1_bms_status * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks bms_status signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_BMS_STATUS_LENGTH (8U)
Here is the caller graph for this function:

◆ can_1_cpu_bms_viewer_poll_pack()

int can_1_cpu_bms_viewer_poll_pack ( uint8_t * dst_ptr,
const struct can_1_cpu_bms_viewer_poll * src_ptr,
size_t size )

Packs cpu_bms_viewer_poll signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_CPU_BMS_VIEWER_POLL_LENGTH (1U)

◆ can_1_cpu_bms_viewer_poll_unpack()

int can_1_cpu_bms_viewer_poll_unpack ( struct can_1_cpu_bms_viewer_poll * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks cpu_bms_viewer_poll signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_CPU_BMS_VIEWER_POLL_LENGTH (1U)

◆ can_1_fsb_aux_switches_pack()

int can_1_fsb_aux_switches_pack ( uint8_t * dst_ptr,
const struct can_1_fsb_aux_switches * src_ptr,
size_t size )

Packs fsb_aux_switches signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_FSB_AUX_SWITCHES_LENGTH (1U)

◆ can_1_fsb_aux_switches_unpack()

int can_1_fsb_aux_switches_unpack ( struct can_1_fsb_aux_switches * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks fsb_aux_switches signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_FSB_AUX_SWITCHES_LENGTH (1U)
Here is the caller graph for this function:

◆ can_1_fsb_laptrigger_message_pack()

int can_1_fsb_laptrigger_message_pack ( uint8_t * dst_ptr,
const struct can_1_fsb_laptrigger_message * src_ptr,
size_t size )

Packs fsb_laptrigger_message signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_FSB_LAPTRIGGER_MESSAGE_LENGTH (5U)

◆ can_1_fsb_laptrigger_message_unpack()

int can_1_fsb_laptrigger_message_unpack ( struct can_1_fsb_laptrigger_message * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks fsb_laptrigger_message signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_FSB_LAPTRIGGER_MESSAGE_LENGTH (5U)

◆ can_1_fsb_status_pack()

int can_1_fsb_status_pack ( uint8_t * dst_ptr,
const struct can_1_fsb_status * src_ptr,
size_t size )

Packs fsb_status signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_FSB_STATUS_LENGTH (7U)

◆ can_1_fsb_status_unpack()

int can_1_fsb_status_unpack ( struct can_1_fsb_status * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks fsb_status signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_FSB_STATUS_LENGTH (7U)

◆ can_1_rsb_status_pack()

int can_1_rsb_status_pack ( uint8_t * dst_ptr,
const struct can_1_rsb_status * src_ptr,
size_t size )

Packs rsb_status signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_RSB_STATUS_LENGTH (7U)

◆ can_1_rsb_status_unpack()

int can_1_rsb_status_unpack ( struct can_1_rsb_status * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks rsb_status signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_RSB_STATUS_LENGTH (7U)

◆ can_1_safety_pump_duty_pack()

int can_1_safety_pump_duty_pack ( uint8_t * dst_ptr,
const struct can_1_safety_pump_duty * src_ptr,
size_t size )

Packs safety_pump_duty signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_PUMP_DUTY_LENGTH (1U)

◆ can_1_safety_pump_duty_unpack()

int can_1_safety_pump_duty_unpack ( struct can_1_safety_pump_duty * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks safety_pump_duty signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_PUMP_DUTY_LENGTH (1U)

◆ can_1_safety_status_pack()

int can_1_safety_status_pack ( uint8_t * dst_ptr,
const struct can_1_safety_status * src_ptr,
size_t size )

Packs safety_status signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_STATUS_LENGTH (7U)
Here is the caller graph for this function:

◆ can_1_safety_status_unpack()

int can_1_safety_status_unpack ( struct can_1_safety_status * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks safety_status signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_STATUS_LENGTH (7U)

◆ can_1_safety_sw_hard_fault_pack()

int can_1_safety_sw_hard_fault_pack ( uint8_t * dst_ptr,
const struct can_1_safety_sw_hard_fault * src_ptr,
size_t size )

Packs safety_sw_hard_fault signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_SW_HARD_FAULT_LENGTH (1U)

◆ can_1_safety_sw_hard_fault_unpack()

int can_1_safety_sw_hard_fault_unpack ( struct can_1_safety_sw_hard_fault * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks safety_sw_hard_fault signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_SW_HARD_FAULT_LENGTH (1U)

◆ can_1_safety_tractive_status_pack()

int can_1_safety_tractive_status_pack ( uint8_t * dst_ptr,
const struct can_1_safety_tractive_status * src_ptr,
size_t size )

Packs safety_tractive_status signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_TRACTIVE_STATUS_LENGTH (5U)
Here is the caller graph for this function:

◆ can_1_safety_tractive_status_unpack()

int can_1_safety_tractive_status_unpack ( struct can_1_safety_tractive_status * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks safety_tractive_status signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAFETY_TRACTIVE_STATUS_LENGTH (5U)

◆ can_1_sas_data_pack()

int can_1_sas_data_pack ( uint8_t * dst_ptr,
const struct can_1_sas_data * src_ptr,
size_t size )

Packs sas_data signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAS_DATA_LENGTH (8U)

◆ can_1_sas_data_unpack()

int can_1_sas_data_unpack ( struct can_1_sas_data * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks sas_data signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SAS_DATA_LENGTH (8U)
Here is the caller graph for this function:

◆ can_1_swb_regen_pack()

int can_1_swb_regen_pack ( uint8_t * dst_ptr,
const struct can_1_swb_regen * src_ptr,
size_t size )

Packs swb_regen signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SWB_REGEN_LENGTH (4U)

◆ can_1_swb_regen_unpack()

int can_1_swb_regen_unpack ( struct can_1_swb_regen * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks swb_regen signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SWB_REGEN_LENGTH (4U)

◆ can_1_swb_switches_pack()

int can_1_swb_switches_pack ( uint8_t * dst_ptr,
const struct can_1_swb_switches * src_ptr,
size_t size )

Packs swb_switches signal values from a struct of unpacked values into a uint8_t array.

Returns
0 if the message was packed successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SWB_SWITCHES_LENGTH (3U)

◆ can_1_swb_switches_unpack()

int can_1_swb_switches_unpack ( struct can_1_swb_switches * dst_ptr,
const uint8_t * src_ptr,
size_t size )

Unpacks swb_switches signal values from a uint8_t array into a struct of unpacked values.

Returns
0 if the message was unpacked successfully.
Return values
EINVALIf dst_ptr or src_ptr are NULL, or if size is smaller than CAN_1_SWB_SWITCHES_LENGTH (3U)