summaryrefslogtreecommitdiffhomepage
path: root/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdRnd.h
blob: ab551e89415bbc2e5d0dec13ca5af241036cbfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**************************************************************************//**
  \file machwdRnd.h
  
  \brief MACHWD random generation types and function prototypes.
  
  \author
    Atmel Corporation: http://www.atmel.com \n
    Support email: avr@atmel.com

  Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
  Licensed under Atmel's Limited License Agreement (BitCloudTM).
  
  \internal
    History:     
      08/04/08 A. Mandychev - Created.
******************************************************************************/

#ifndef _MACHWDRND_H
#define _MACHWDRND_H

/******************************************************************************
                    Includes section
******************************************************************************/
#include <rfRandom.h>

/******************************************************************************
                    Define(s) section
******************************************************************************/
//! Redefenition of random generation request function name.
#define MACHWD_RndReq RF_RandomReq
//! Redefenition of random seq generation request function name .
#define MACHWD_RndSeqReq RF_RandomSeqReq
/******************************************************************************
                    Types section
******************************************************************************/
//! Redefenition of random generation request structure.
typedef RF_RandomReq_t MACHWD_RndReq_t;

/******************************************************************************
                    Prototypes section
******************************************************************************/
/**************************************************************************//**
  \brief Requests random value.
  \param reqParams - request parameters structure pointer.
  \return none.
******************************************************************************/
void MACHWD_RndReq(MACHWD_RndReq_t *reqParams);

/**************************************************************************//**
  \brief Requests random seq.
  \param reqParams - request parameters structure pointer.
  \return none.
******************************************************************************/
void MACHWD_RndSeqReq(MACHWD_RndReq_t *reqParams);

#endif /*_MACHWDRND_H*/

// eof machwdRnd.h