ioLibrary for Cortex M series
|
Common Utility Function Set Source File. More...
Go to the source code of this file.
Classes | |
union | long2char_t |
union | short2char_t |
Macros | |
#define | MEM_FREE(mem_p) do{ if(mem_p) { free(mem_p); mem_p = NULL; } }while(0) |
#define | BITSET(var_v, bit_v) (var_v |= bit_v) |
#define | BITCLR(var_v, bit_v) (var_v &= ~(bit_v)) |
Typedefs | |
typedef void(* | void_func )(void) |
typedef void(* | alarm_cbfunc )(int8_t arg) |
typedef union long2char_t | long2char |
typedef union short2char_t | short2char |
Functions | |
int8_t | alarm_set (uint32_t time, alarm_cbfunc cb, int8_t arg) |
int8_t | alarm_del (alarm_cbfunc cb, int8_t arg) |
int8_t | alarm_chk (alarm_cbfunc cb, int8_t arg) |
void | alarm_run (void) |
int8_t | digit_length (int32_t dgt, int8_t base) |
int32_t | str_check (int(*method)(int), int8_t *str) |
void | print_dump (void *buf, uint16_t len) |
uint16_t | checksum (uint8_t *src, uint32_t len) |
int32_t | base64_decode (int8_t *text, uint8_t *dst, int32_t numBytes) |
int32_t | base64_encode (int8_t *text, int32_t numBytes, int8_t *encodedText) |
Common Utility Function Set Source File.
Definition in file util.h.