Microchip® Advanced Software Framework

tal_rand.c File Reference

This file implements the random seed function.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#include "pal.h"
#include "return_val.h"
#include "tal.h"
#include "tal_config.h"
#include "tal_internal.h"

Functions

retval_t tal_generate_rand_seed (void)
 Generates a 16-bit random number used as initial seed for srand() More...