libtropic
C library for TROPIC01 chip
|
lt_ret_t lt_get_info_fw_bank | ( | lt_handle_t * | h, |
const bank_id_t | bank_id, | ||
uint8_t * | header, | ||
const uint16_t | max_len | ||
) |
h | Device's handle |
bank_id | ID of firmware bank (one from enum bank_id_t) |
header | Buffer to store fw header bytes into |
max_len | Length of a buffer |
LT_OK | Function executed successfully |
other | Function did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value |