| lt_ret_t lt_mcounter_init | ( | lt_handle_t * | h, |
| const enum lt_mcounter_index_t | mcounter_index, | ||
| const uint32_t | mcounter_value | ||
| ) |
| h | Handle for communication with TROPIC01 |
| mcounter_index | Index of monotonic counter |
| mcounter_value | Value to set as an initial value (allowed range is 0-TR01_MCOUNTER_VALUE_MAX) |
| LT_OK | Function executed successfully |
| other | Function did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value |