ESOS32
ESOSOn32-bitProcessors
Functions | Variables
esos_utils.c File Reference

Various hardware independent utilties for ESOS32 and its user applications. More...

#include "esos.h"
#include "esos_utils.h"
Include dependency graph for esos_utils.c:

Go to the source code of this file.

Functions

void __esos_set_PRNG_U32Seed (uint32_t u32_seed)
 
uint32_t __esos_get_PRNG_RandomUint32 (void)
 
uint32_t esos_GetRandomUint32 (void)
 
uint16_t esos_taskname_hash_u16 (void *buf, uint16_t len)
 
uint32_t esos_buffer_hash_u32 (void *buf, uint16_t len)
 
uint32_t esos_string_hash_u32 (char *psz_str)
 
uint16_t esos_hash_u32_to_u16 (uint32_t u32_hash)
 

Variables

uint32_t __u32_esos_PRNG_Seed
 
uint32_t __esos_u32FNVHash = 2166136261uL
 

Detailed Description

Various hardware independent utilties for ESOS32 and its user applications.

Definition in file esos_utils.c.

Function Documentation

◆ esos_taskname_hash_u16()

uint16_t esos_taskname_hash_u16 ( void *  buf,
uint16_t  len 
)

Definition at line 109 of file esos_utils.c.