Layer 1 functions declarations. More...
#include "libtropic_common.h"
Macros | |
| #define | TR01_L1_CHIP_MODE_READY_bit 0x01 |
| #define | TR01_L1_CHIP_MODE_ALARM_bit 0x02 |
| #define | TR01_L1_CHIP_MODE_STARTUP_bit 0x04 |
| #define | LT_L1_READ_MAX_TRIES 50 |
| #define | LT_L1_READ_RETRY_DELAY 25 |
| #define | LT_L1_TIMEOUT_MS_MIN 5 |
| #define | LT_L1_TIMEOUT_MS_DEFAULT 70 |
| #define | LT_L1_TIMEOUT_MS_MAX 150 |
| #define | TR01_L1_GET_RESPONSE_REQ_ID 0xAA |
Functions | |
| lt_ret_t | lt_l1_read (lt_l2_state_t *s2, const uint32_t max_len, const uint32_t timeout_ms) |
| Reads data from TROPIC01 into host platform. | |
| lt_ret_t | lt_l1_write (lt_l2_state_t *s2, const uint16_t len, const uint32_t timeout_ms) |
| Writes data from host platform into TROPIC01. | |