Home
last modified time | relevance | path

Searched refs:data_idx (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/drivers/can/
Dcan_mcp2515.c222 uint8_t data_idx; in mcp2515_convert_canframe_to_mcp2515frame() local
243 for (data_idx = 0U; data_idx < dlc; data_idx++) { in mcp2515_convert_canframe_to_mcp2515frame()
244 target[MCP2515_FRAME_OFFSET_D0 + data_idx] = in mcp2515_convert_canframe_to_mcp2515frame()
245 source->data[data_idx]; in mcp2515_convert_canframe_to_mcp2515frame()
253 uint8_t data_idx; in mcp2515_convert_mcp2515frame_to_canframe() local
275 for (data_idx = 0U; data_idx < target->dlc; data_idx++) { in mcp2515_convert_mcp2515frame_to_canframe()
276 target->data[data_idx] = source[MCP2515_FRAME_OFFSET_D0 + in mcp2515_convert_mcp2515frame_to_canframe()
277 data_idx]; in mcp2515_convert_mcp2515frame_to_canframe()