Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_i_config_write()

lt_ret_t lt_i_config_write ( lt_handle_t h,
const enum lt_config_obj_addr_t  addr,
const uint8_t  bit_index 
)
Warning
The I-Config resides in I-Memory, which has narrower operating temperature range (-20 °C to 85 °C) than the rest of TROPIC01. New CPU firmware versions (v2.0.0 and newer) return error when the operation is unsuccessful, but with older firmwares the operation fails silently. If you use CPU firmware older than v2.0.0, make sure to manually check whether the I-Config was correctly written if operating outside this range. Refer to datasheet for absolute maximum ratings.
Parameters
hHandle for communication with TROPIC01
addrAddress of a config object
bit_indexIndex of bit to write from 1 to 0
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value