Functions, which one needs here and there for the operating system.
More...
#include "stm32f10x.h"
#include <stdlib.h>
Go to the source code of this file.
|
int | osPowInt (int ibase, int iexponent) |
|
uint8_t | osItoa (int iint, char *iochar, size_t ibuffsize, size_t *obuffsize) |
|
Functions, which one needs here and there for the operating system.
- Author
- Maximilian Stiefel
- Date
- 8 Jan 2018
◆ osItoa()
uint8_t osItoa |
( |
int |
iint, |
|
|
char * |
iochar, |
|
|
size_t |
ibuffsize, |
|
|
size_t * |
obuffsize |
|
) |
| |
Simple Interger to ASCII conversion.
- Parameters
-
iint | Input integer. |
iochar | C string where the result ends up. |
ibuffsize | Size of the C string for security reasons. |
obuffsize | Size of the string created by the function. |
- Return values
-
1 | (SUCCESS) or 0 (buffer overflow). |
◆ osPowInt()
int osPowInt |
( |
int |
ibase, |
|
|
int |
iexponent |
|
) |
| |
|
inline |
Simple inline power calculation.
- Parameters
-
ibase | Input base. |
iexponent | Input exponent. |
- Return values
-