RNGA Status Register Definitions

Defines

#define RNGA_STATUS_OSCILLATOR_DEAD   0x80000000
#define RNGA_STATUS_ZEROS1_MASK   0x7f000000
#define RNGA_STATUS_OUTPUT_FIFO_SIZE_MASK   0x00ff0000
#define RNGA_STATUS_OUTPUT_FIFO_SIZE_SHIFT   16
#define RNGA_STATUS_OUTPUT_FIFO_LEVEL_MASK   0x0000ff00
#define RNGA_STATUS_OUTPUT_FIFO_LEVEL_SHIFT   8
#define RNGA_STATUS_ZEROS2_MASK   0x000000e0
#define RNGA_STATUS_SLEEP   0x00000010
#define RNGA_STATUS_ERROR_INTERRUPT   0x00000008
#define RNGA_STATUS_FIFO_UNDERFLOW   0x00000004
#define RNGA_STATUS_LAST_READ_STATUS   0x00000002
#define RNGA_STATUS_SECURITY_VIOLATION   0x00000001

Detailed Description


Define Documentation

#define RNGA_STATUS_ERROR_INTERRUPT   0x00000008

Error detected.

#define RNGA_STATUS_FIFO_UNDERFLOW   0x00000004

FIFO was empty on some read since last status read.

#define RNGA_STATUS_LAST_READ_STATUS   0x00000002

FIFO was empty on most recent read.

#define RNGA_STATUS_OSCILLATOR_DEAD   0x80000000

RNG Oscillator not working

#define RNGA_STATUS_OUTPUT_FIFO_LEVEL_MASK   0x0000ff00

How many bytes are currently in the FIFO

#define RNGA_STATUS_OUTPUT_FIFO_LEVEL_SHIFT   8

How many bits right to shift fifo level to make it LSB

#define RNGA_STATUS_OUTPUT_FIFO_SIZE_MASK   0x00ff0000

How big FIFO is, in bytes

#define RNGA_STATUS_OUTPUT_FIFO_SIZE_SHIFT   16

How many bits right to shift fifo size to make it LSB

#define RNGA_STATUS_SECURITY_VIOLATION   0x00000001

Security violation occurred. Will only happen in High Assurance mode.

#define RNGA_STATUS_SLEEP   0x00000010

RNG is sleeping.

#define RNGA_STATUS_ZEROS1_MASK   0x7f000000

These bits are undefined or reserved

#define RNGA_STATUS_ZEROS2_MASK   0x000000e0

These bits are undefined or reserved.

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen