EmbeddedEtcher
helpers.h
Go to the documentation of this file.
1
9
#ifndef OS_HELPERS_H_
10
#define OS_HELPERS_H_
11
12
#include "stm32f10x.h"
13
#include <stdlib.h>
14
21
inline
int
osPowInt
(
int
ibase,
int
iexponent)
22
{
23
int
result =1;
24
for
(
int
i=0; i < iexponent; i++)
25
{
26
result *= ibase;
27
}
28
return
result;
29
}
30
39
uint8_t
osItoa
(
int
iint,
char
* iochar,
size_t
ibuffsize,
size_t
* obuffsize);
40
41
#endif
/* OS_HELPERS_H_ */
osPowInt
int osPowInt(int ibase, int iexponent)
Definition:
helpers.h:21
osItoa
uint8_t osItoa(int iint, char *iochar, size_t ibuffsize, size_t *obuffsize)
Definition:
helpers.c:14
os
helpers.h
Generated by
1.8.13