Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : revision

Description

Controller Revision

Register Layout

Bits Access Reset Description
[7:0] R 0x5 ALT_NAND_PARAM_REVISION_VALUE
[15:8] R 0x1 ALT_NAND_PARAM_REVISION_MINOR
[31:16] ??? Unknown UNDEFINED

Field : value

The Major revision number of the controller

Field Access Macros:

#define ALT_NAND_PARAM_REVISION_VALUE_LSB   0
 
#define ALT_NAND_PARAM_REVISION_VALUE_MSB   7
 
#define ALT_NAND_PARAM_REVISION_VALUE_WIDTH   8
 
#define ALT_NAND_PARAM_REVISION_VALUE_SET_MSK   0x000000ff
 
#define ALT_NAND_PARAM_REVISION_VALUE_CLR_MSK   0xffffff00
 
#define ALT_NAND_PARAM_REVISION_VALUE_RESET   0x5
 
#define ALT_NAND_PARAM_REVISION_VALUE_GET(value)   (((value) & 0x000000ff) >> 0)
 
#define ALT_NAND_PARAM_REVISION_VALUE_SET(value)   (((value) << 0) & 0x000000ff)
 

Field : minor

The Minor revision number of the controller

Field Access Macros:

#define ALT_NAND_PARAM_REVISION_MINOR_LSB   8
 
#define ALT_NAND_PARAM_REVISION_MINOR_MSB   15
 
#define ALT_NAND_PARAM_REVISION_MINOR_WIDTH   8
 
#define ALT_NAND_PARAM_REVISION_MINOR_SET_MSK   0x0000ff00
 
#define ALT_NAND_PARAM_REVISION_MINOR_CLR_MSK   0xffff00ff
 
#define ALT_NAND_PARAM_REVISION_MINOR_RESET   0x1
 
#define ALT_NAND_PARAM_REVISION_MINOR_GET(value)   (((value) & 0x0000ff00) >> 8)
 
#define ALT_NAND_PARAM_REVISION_MINOR_SET(value)   (((value) << 8) & 0x0000ff00)
 

Data Structures

struct  ALT_NAND_PARAM_REVISION_s
 

Macros

#define ALT_NAND_PARAM_REVISION_RESET   0x00000105
 
#define ALT_NAND_PARAM_REVISION_OFST   0x70
 

Typedefs

typedef struct
ALT_NAND_PARAM_REVISION_s 
ALT_NAND_PARAM_REVISION_t
 

Data Structure Documentation

struct ALT_NAND_PARAM_REVISION_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_NAND_PARAM_REVISION.

Data Fields
const uint32_t value: 8 ALT_NAND_PARAM_REVISION_VALUE
const uint32_t minor: 8 ALT_NAND_PARAM_REVISION_MINOR
uint32_t __pad0__: 16 UNDEFINED

Macro Definitions

#define ALT_NAND_PARAM_REVISION_VALUE_LSB   0

The Least Significant Bit (LSB) position of the ALT_NAND_PARAM_REVISION_VALUE register field.

#define ALT_NAND_PARAM_REVISION_VALUE_MSB   7

The Most Significant Bit (MSB) position of the ALT_NAND_PARAM_REVISION_VALUE register field.

#define ALT_NAND_PARAM_REVISION_VALUE_WIDTH   8

The width in bits of the ALT_NAND_PARAM_REVISION_VALUE register field.

#define ALT_NAND_PARAM_REVISION_VALUE_SET_MSK   0x000000ff

The mask used to set the ALT_NAND_PARAM_REVISION_VALUE register field value.

#define ALT_NAND_PARAM_REVISION_VALUE_CLR_MSK   0xffffff00

The mask used to clear the ALT_NAND_PARAM_REVISION_VALUE register field value.

#define ALT_NAND_PARAM_REVISION_VALUE_RESET   0x5

The reset value of the ALT_NAND_PARAM_REVISION_VALUE register field.

#define ALT_NAND_PARAM_REVISION_VALUE_GET (   value)    (((value) & 0x000000ff) >> 0)

Extracts the ALT_NAND_PARAM_REVISION_VALUE field value from a register.

#define ALT_NAND_PARAM_REVISION_VALUE_SET (   value)    (((value) << 0) & 0x000000ff)

Produces a ALT_NAND_PARAM_REVISION_VALUE register field value suitable for setting the register.

#define ALT_NAND_PARAM_REVISION_MINOR_LSB   8

The Least Significant Bit (LSB) position of the ALT_NAND_PARAM_REVISION_MINOR register field.

#define ALT_NAND_PARAM_REVISION_MINOR_MSB   15

The Most Significant Bit (MSB) position of the ALT_NAND_PARAM_REVISION_MINOR register field.

#define ALT_NAND_PARAM_REVISION_MINOR_WIDTH   8

The width in bits of the ALT_NAND_PARAM_REVISION_MINOR register field.

#define ALT_NAND_PARAM_REVISION_MINOR_SET_MSK   0x0000ff00

The mask used to set the ALT_NAND_PARAM_REVISION_MINOR register field value.

#define ALT_NAND_PARAM_REVISION_MINOR_CLR_MSK   0xffff00ff

The mask used to clear the ALT_NAND_PARAM_REVISION_MINOR register field value.

#define ALT_NAND_PARAM_REVISION_MINOR_RESET   0x1

The reset value of the ALT_NAND_PARAM_REVISION_MINOR register field.

#define ALT_NAND_PARAM_REVISION_MINOR_GET (   value)    (((value) & 0x0000ff00) >> 8)

Extracts the ALT_NAND_PARAM_REVISION_MINOR field value from a register.

#define ALT_NAND_PARAM_REVISION_MINOR_SET (   value)    (((value) << 8) & 0x0000ff00)

Produces a ALT_NAND_PARAM_REVISION_MINOR register field value suitable for setting the register.

#define ALT_NAND_PARAM_REVISION_RESET   0x00000105

The reset value of the ALT_NAND_PARAM_REVISION register.

#define ALT_NAND_PARAM_REVISION_OFST   0x70

The byte offset of the ALT_NAND_PARAM_REVISION register from the beginning of the component.

Typedef Documentation

The typedef declaration for register ALT_NAND_PARAM_REVISION.