AM263x MCU+ SDK  09.00.00

Introduction

This file contains the prototype of RNG driver APIs.

Go to the source code of this file.

Data Structures

struct  RNG_Attrs
 RNG attributes. More...
 
struct  RNG_Config
 RNG driver context. More...
 

Macros

#define RNG_DRBG_MODE   (TRUE)
 
#define RNG_CONTROL_REQUEST_DATA_MASK   (0x00010000U)
 
#define RNG_CONTROL_DATA_BLOCKS_MASK   (0xFFF00000U)
 
#define RNG_CONTROL_DRBG_EN_SHIFT   (0x0000000CU)
 
#define RNG_CONTROL_ENABLE_TRNG_SHIFT   (0x0000000AU)
 
#define RNG_STATUS_RESEED_AI_MASK   (0x00000400U)
 
#define RNG_DRBG_SEED_MAX_ARRY_SIZE_IN_DWORD   (12U)
 
#define DEVTYPE_HSSE   (0x0AU)
 device type HSSE More...
 

Typedefs

typedef void * RNG_Handle
 Handle to the RNG driver. More...
 

Enumerations

enum  RNG_Return_t { RNG_RETURN_SUCCESS = 0xDE3BA502U, RNG_RETURN_FAILURE = 0xF33BE03EU }
 RNG Driver Error code. More...
 

Functions

RNG_Handle RNG_open (uint32_t index)
 Function to Open RNG instance, Initialize clocks. More...
 
RNG_Return_t RNG_close (RNG_Handle handle)
 Function to close a RNG module specified by the RNG handle. More...
 
RNG_Return_t RNG_setup (RNG_Handle handle)
 setup the RNG module. More...
 
RNG_Return_t RNG_read (RNG_Handle handle, uint32_t *out)
 Read random numbers into the output buffer. More...
 

Variables

RNG_Config gRngConfig []
 Externally defined driver configuration array. More...
 
uint32_t gRngConfigNum
 Externally defined driver configuration Num. More...