mirror of
https://github.com/eddyem/stm32samples.git
synced 2025-12-06 10:45:11 +03:00
15 lines
451 B
C
15 lines
451 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
void hexdump(int (*sendfun)(const char *s), uint8_t *arr, uint16_t len);
|
|
char *u2str(uint32_t val);
|
|
char *i2str(int32_t i);
|
|
char *uhex2str(uint32_t val);
|
|
const char *getnum(const char *txt, uint32_t *N);
|
|
const char *omit_spaces(const char *buf);
|
|
const char *getint(const char *txt, int32_t *I);
|
|
const char *float2str(float x, uint8_t prec);
|
|
//void mymemcpy(char *dest, const char *src, int len);
|