Layer 1 functions declarations. More...
#include "libtropic_common.h"
Functions | |
| lt_ret_t | lt_l1_init (lt_l2_state_t *s2) |
| Initializes handle and L1. | |
| lt_ret_t | lt_l1_deinit (lt_l2_state_t *s2) |
| Wipes handle and deinitializes L1. This is wrapper for platform defined function. | |
| lt_ret_t | lt_l1_spi_csn_low (lt_l2_state_t *s2) |
| Sets chip select pin low. This is wrapper for platform defined function. | |
| lt_ret_t | lt_l1_spi_csn_high (lt_l2_state_t *s2) |
| Sets chip select pin high. This is wrapper for platform defined function. | |
| lt_ret_t | lt_l1_spi_transfer (lt_l2_state_t *s2, uint8_t offset, uint16_t tx_len, uint32_t timeout_ms) |
| Does L1 transfer. This is wrapper for platform defined function. | |
| lt_ret_t | lt_l1_delay (lt_l2_state_t *s2, uint32_t ms) |
| Platform's definition for delay, specifies what host platform should do when libtropic's functions need some delay. This is wrapper for platform defined function. | |
| lt_ret_t | lt_l1_delay_on_int (lt_l2_state_t *s2, uint32_t ms) |
| Specifies what platform should do when waiting for signal from interrupt pin. | |