Embedded SDK
Embedded SDK
lib_standard_app
format.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stddef.h>
// size_t
4
#include <stdint.h>
// int*_t, uint*_t
5
#include <stdbool.h>
// bool
6
20
bool
format_i64
(
char
*dst,
size_t
dst_len,
const
int64_t value);
21
35
bool
format_u64
(
char
*dst,
size_t
dst_len, uint64_t value);
36
52
bool
format_fpu64
(
char
*dst,
size_t
dst_len,
const
uint64_t value,
uint8_t
decimals);
53
69
bool
format_fpu64_trimmed
(
char
*dst,
size_t
dst_len,
const
uint64_t value,
uint8_t
decimals);
70
86
int
format_hex
(
const
uint8_t
*in,
size_t
in_len,
char
*out,
size_t
out_len);
format_hex
int format_hex(const uint8_t *in, size_t in_len, char *out, size_t out_len)
Definition:
format.c:156
format_fpu64_trimmed
bool format_fpu64_trimmed(char *dst, size_t dst_len, const uint64_t value, uint8_t decimals)
Definition:
format.c:137
format_u64
bool format_u64(char *dst, size_t dst_len, uint64_t value)
Definition:
format.c:65
format_i64
bool format_i64(char *dst, size_t dst_len, const int64_t value)
Definition:
format.c:24
format_fpu64
bool format_fpu64(char *dst, size_t dst_len, const uint64_t value, uint8_t decimals)
Definition:
format.c:101
uint8_t
unsigned char uint8_t
Definition:
usbd_conf.h:53
Generated by
1.9.1