| lt_ret_t lt_port_spi_transfer | ( | lt_l2_state_t * | s2, |
| uint8_t | offset, | ||
| uint16_t | tx_len, | ||
| uint32_t | timeout_ms | ||
| ) |
| s2 | Structure holding l2 state |
| tx_len | The length of data to be transferred |
| offset | Offset in handle's internal buffer where incomming bytes should be stored into |
| timeout_ms | Timeout |
| LT_OK | Function executed successfully |
| LT_FAIL | Function did not execute successully |