demOS

- Main Page
- Modules
- Data Structures
- Files

- File List

All Data Structures Files Modules Pages
Macros | Functions
STANDARD.H File Reference

STD More...

`#include "DEMOSDK\BASTYPES.H"`
Include dependency graph for STANDARD.H:

Go to the source code of this file.

## Macros
#define | STD_SWAP(type, A, B) { type T = A; A = B; B = T; }
#define | STD_MIN(A, B) ((A)<(B) ? (A):(B))
#define | STD_MAX(A, B) ((A)>(B) ? (A):(B))

## Functions
void | STDmset (void *_adr, u32 _value, u32 _length)
void | STDmcpy (void *_dest, void *_src, u32 _length)
void | STDuxtoa (char *_text, u32 _value, s16 _nbchars)
u16 | STDmfrnd (void)
u16 | STDifrnd (void)
u16 | STDswap16 (u16 _v)
u32 | STDswap32 (u32 _v)
u32 | STDmulu (u16 _x, u16 _y)
s32 | STDmuls (s16 _x, s16 _y)
u32 | STDdivu (u32 _x, u16 _y)
u32 | STDdivs (s32 _x, s16 _y)
void | STDcpuSetSR (u16 _status)
void * | STDgetSP (void)
void * | STDgetUSP (void)
void | STDsetUSP (void *_adr)

## Detailed Description

STD