Embedded SDK
Embedded SDK
Functions | Variables
swap_utils.h File Reference
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for swap_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool swap_str_to_u64 (const uint8_t *src, size_t length, uint64_t *result)
 
bool swap_parse_config (const uint8_t *config, uint8_t config_len, char *ticker, uint8_t ticker_buf_len, uint8_t *decimals)
 

Variables

volatile bool G_called_from_swap
 
volatile bool G_swap_response_ready
 

Function Documentation

◆ swap_parse_config()

bool swap_parse_config ( const uint8_t config,
uint8_t  config_len,
char *  ticker,
uint8_t  ticker_buf_len,
uint8_t decimals 
)

◆ swap_str_to_u64()

bool swap_str_to_u64 ( const uint8_t src,
size_t  length,
uint64_t *  result 
)

Variable Documentation

◆ G_called_from_swap

volatile bool G_called_from_swap
extern

◆ G_swap_response_ready

volatile bool G_swap_response_ready
extern