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

Description

Members

 Register : device_reset
 
 Register : transfer_spare_reg
 
 Register : load_wait_cnt
 
 Register : program_wait_cnt
 
 Register : erase_wait_cnt
 
 Register : int_mon_cyccnt
 
 Register : rb_pin_enabled
 
 Register : multiplane_operation
 
 Register : multiplane_read_enable
 
 Register : copyback_disable
 
 Register : cache_write_enable
 
 Register : cache_read_enable
 
 Register : prefetch_mode
 
 Register : chip_enable_dont_care
 
 Register : ecc_enable
 
 Register : global_int_enable
 
 Register : twhr2_and_we_2_re
 
 Register : tcwaw_and_addr_2_data
 
 Register : re_2_we
 
 Register : acc_clks
 
 Register : number_of_planes
 
 Register : pages_per_block
 
 Register : device_width
 
 Register : device_main_area_size
 
 Register : device_spare_area_size
 
 Register : two_row_addr_cycles
 
 Register : multiplane_addr_restrict
 
 Register : ecc_correction
 
 Register : read_mode
 
 Register : write_mode
 
 Register : copyback_mode
 
 Register : rdwr_en_lo_cnt
 
 Register : rdwr_en_hi_cnt
 
 Register : max_rd_delay
 
 Register : cs_setup_cnt
 
 Register : spare_area_skip_bytes
 
 Register : spare_area_marker
 
 Register : devices_connected
 
 Register : die_mask
 
 Register : first_block_of_next_plane
 
 Register : write_protect
 
 Register : re_2_re
 
 Register : por_reset_count
 
 Register : watchdog_reset_count
 

Data Structures

struct  ALT_NAND_CFG_s
 
struct  ALT_NAND_CFG_raw_s
 

Typedefs

typedef struct ALT_NAND_CFG_s ALT_NAND_CFG_t
 
typedef struct ALT_NAND_CFG_raw_s ALT_NAND_CFG_raw_t
 

Data Structure Documentation

struct ALT_NAND_CFG_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 group ALT_NAND_CFG.

Data Fields
volatile ALT_NAND_CFG_DEVICE_RST_t device_reset ALT_NAND_CFG_DEVICE_RST
volatile uint32_t _pad_0x4_0xf UNDEFINED
volatile
ALT_NAND_CFG_TFR_SPARE_REG_t
transfer_spare_reg ALT_NAND_CFG_TFR_SPARE_REG
volatile uint32_t _pad_0x14_0x1f UNDEFINED
volatile ALT_NAND_CFG_LD_WAIT_CNT_t load_wait_cnt ALT_NAND_CFG_LD_WAIT_CNT
volatile uint32_t _pad_0x24_0x2f UNDEFINED
volatile
ALT_NAND_CFG_PROGRAM_WAIT_CNT_t
program_wait_cnt ALT_NAND_CFG_PROGRAM_WAIT_CNT
volatile uint32_t _pad_0x34_0x3f UNDEFINED
volatile
ALT_NAND_CFG_ERASE_WAIT_CNT_t
erase_wait_cnt ALT_NAND_CFG_ERASE_WAIT_CNT
volatile uint32_t _pad_0x44_0x4f UNDEFINED
volatile
ALT_NAND_CFG_INT_MON_CYCCNT_t
int_mon_cyccnt ALT_NAND_CFG_INT_MON_CYCCNT
volatile uint32_t _pad_0x54_0x5f UNDEFINED
volatile ALT_NAND_CFG_RB_PIN_END_t rb_pin_enabled ALT_NAND_CFG_RB_PIN_END
volatile uint32_t _pad_0x64_0x6f UNDEFINED
volatile
ALT_NAND_CFG_MULTIPLANE_OP_t
multiplane_operation ALT_NAND_CFG_MULTIPLANE_OP
volatile uint32_t _pad_0x74_0x7f UNDEFINED
volatile
ALT_NAND_CFG_MULTIPLANE_RD_EN_t
multiplane_read_enable ALT_NAND_CFG_MULTIPLANE_RD_EN
volatile uint32_t _pad_0x84_0x8f UNDEFINED
volatile
ALT_NAND_CFG_COPYBACK_DIS_t
copyback_disable ALT_NAND_CFG_COPYBACK_DIS
volatile uint32_t _pad_0x94_0x9f UNDEFINED
volatile ALT_NAND_CFG_CACHE_WR_EN_t cache_write_enable ALT_NAND_CFG_CACHE_WR_EN
volatile uint32_t _pad_0xa4_0xaf UNDEFINED
volatile ALT_NAND_CFG_CACHE_RD_EN_t cache_read_enable ALT_NAND_CFG_CACHE_RD_EN
volatile uint32_t _pad_0xb4_0xbf UNDEFINED
volatile
ALT_NAND_CFG_PREFETCH_MOD_t
prefetch_mode ALT_NAND_CFG_PREFETCH_MOD
volatile uint32_t _pad_0xc4_0xcf UNDEFINED
volatile
ALT_NAND_CFG_CHIP_EN_DONT_CARE_t
chip_enable_dont_care ALT_NAND_CFG_CHIP_EN_DONT_CARE
volatile uint32_t _pad_0xd4_0xdf UNDEFINED
volatile ALT_NAND_CFG_ECC_EN_t ecc_enable ALT_NAND_CFG_ECC_EN
volatile uint32_t _pad_0xe4_0xef UNDEFINED
volatile ALT_NAND_CFG_GLOB_INT_EN_t global_int_enable ALT_NAND_CFG_GLOB_INT_EN
volatile uint32_t _pad_0xf4_0xff UNDEFINED
volatile
ALT_NAND_CFG_TWHR2_AND_WE_2_RE_t
twhr2_and_we_2_re ALT_NAND_CFG_TWHR2_AND_WE_2_RE
volatile uint32_t _pad_0x104_0x10f UNDEFINED
volatile
ALT_NAND_CFG_TCWAW_AND_ADDR_2_DATA_t
tcwaw_and_addr_2_data ALT_NAND_CFG_TCWAW_AND_ADDR_2_DATA
volatile uint32_t _pad_0x114_0x11f UNDEFINED
volatile ALT_NAND_CFG_RE_2_WE_t re_2_we ALT_NAND_CFG_RE_2_WE
volatile uint32_t _pad_0x124_0x12f UNDEFINED
volatile ALT_NAND_CFG_ACC_CLKS_t acc_clks ALT_NAND_CFG_ACC_CLKS
volatile uint32_t _pad_0x134_0x13f UNDEFINED
volatile
ALT_NAND_CFG_NUMBER_OF_PLANES_t
number_of_planes ALT_NAND_CFG_NUMBER_OF_PLANES
volatile uint32_t _pad_0x144_0x14f UNDEFINED
volatile
ALT_NAND_CFG_PAGES_PER_BLOCK_t
pages_per_block ALT_NAND_CFG_PAGES_PER_BLOCK
volatile uint32_t _pad_0x154_0x15f UNDEFINED
volatile
ALT_NAND_CFG_DEVICE_WIDTH_t
device_width ALT_NAND_CFG_DEVICE_WIDTH
volatile uint32_t _pad_0x164_0x16f UNDEFINED
volatile
ALT_NAND_CFG_DEVICE_MAIN_AREA_SIZE_t
device_main_area_size ALT_NAND_CFG_DEVICE_MAIN_AREA_SIZE
volatile uint32_t _pad_0x174_0x17f UNDEFINED
volatile
ALT_NAND_CFG_DEVICE_SPARE_AREA_SIZE_t
device_spare_area_size ALT_NAND_CFG_DEVICE_SPARE_AREA_SIZE
volatile uint32_t _pad_0x184_0x18f UNDEFINED
volatile
ALT_NAND_CFG_TWO_ROW_ADDR_CYCLES_t
two_row_addr_cycles ALT_NAND_CFG_TWO_ROW_ADDR_CYCLES
volatile uint32_t _pad_0x194_0x19f UNDEFINED
volatile
ALT_NAND_CFG_MULTIPLANE_ADDR_RESTRICT_t
multiplane_addr_restrict ALT_NAND_CFG_MULTIPLANE_ADDR_RESTRICT
volatile uint32_t _pad_0x1a4_0x1af UNDEFINED
volatile
ALT_NAND_CFG_ECC_CORRECTION_t
ecc_correction ALT_NAND_CFG_ECC_CORRECTION
volatile uint32_t _pad_0x1b4_0x1bf UNDEFINED
volatile ALT_NAND_CFG_RD_MOD_t read_mode ALT_NAND_CFG_RD_MOD
volatile uint32_t _pad_0x1c4_0x1cf UNDEFINED
volatile ALT_NAND_CFG_WR_MOD_t write_mode ALT_NAND_CFG_WR_MOD
volatile uint32_t _pad_0x1d4_0x1df UNDEFINED
volatile
ALT_NAND_CFG_COPYBACK_MOD_t
copyback_mode ALT_NAND_CFG_COPYBACK_MOD
volatile uint32_t _pad_0x1e4_0x1ef UNDEFINED
volatile
ALT_NAND_CFG_RDWR_EN_LO_CNT_t
rdwr_en_lo_cnt ALT_NAND_CFG_RDWR_EN_LO_CNT
volatile uint32_t _pad_0x1f4_0x1ff UNDEFINED
volatile
ALT_NAND_CFG_RDWR_EN_HI_CNT_t
rdwr_en_hi_cnt ALT_NAND_CFG_RDWR_EN_HI_CNT
volatile uint32_t _pad_0x204_0x20f UNDEFINED
volatile
ALT_NAND_CFG_MAX_RD_DELAY_t
max_rd_delay ALT_NAND_CFG_MAX_RD_DELAY
volatile uint32_t _pad_0x214_0x21f UNDEFINED
volatile
ALT_NAND_CFG_CS_SETUP_CNT_t
cs_setup_cnt ALT_NAND_CFG_CS_SETUP_CNT
volatile uint32_t _pad_0x224_0x22f UNDEFINED
volatile
ALT_NAND_CFG_SPARE_AREA_SKIP_BYTES_t
spare_area_skip_bytes ALT_NAND_CFG_SPARE_AREA_SKIP_BYTES
volatile uint32_t _pad_0x234_0x23f UNDEFINED
volatile
ALT_NAND_CFG_SPARE_AREA_MARKER_t
spare_area_marker ALT_NAND_CFG_SPARE_AREA_MARKER
volatile uint32_t _pad_0x244_0x24f UNDEFINED
volatile
ALT_NAND_CFG_DEVICES_CONNECTED_t
devices_connected ALT_NAND_CFG_DEVICES_CONNECTED
volatile uint32_t _pad_0x254_0x25f UNDEFINED
volatile ALT_NAND_CFG_DIE_MSK_t die_mask ALT_NAND_CFG_DIE_MSK
volatile uint32_t _pad_0x264_0x26f UNDEFINED
volatile
ALT_NAND_CFG_FIRST_BLOCK_OF_NEXT_PLANE_t
first_block_of_next_plane ALT_NAND_CFG_FIRST_BLOCK_OF_NEXT_PLANE
volatile uint32_t _pad_0x274_0x27f UNDEFINED
volatile ALT_NAND_CFG_WR_PROTECT_t write_protect ALT_NAND_CFG_WR_PROTECT
volatile uint32_t _pad_0x284_0x28f UNDEFINED
volatile ALT_NAND_CFG_RE_2_RE_t re_2_re ALT_NAND_CFG_RE_2_RE
volatile uint32_t _pad_0x294_0x29f UNDEFINED
volatile
ALT_NAND_CFG_POR_RST_COUNT_t
por_reset_count ALT_NAND_CFG_POR_RST_COUNT
volatile uint32_t _pad_0x2a4_0x2af UNDEFINED
volatile
ALT_NAND_CFG_WD_RST_COUNT_t
watchdog_reset_count ALT_NAND_CFG_WD_RST_COUNT
struct ALT_NAND_CFG_raw_s

The struct declaration for the raw register contents of register group ALT_NAND_CFG.

Data Fields
volatile uint32_t device_reset ALT_NAND_CFG_DEVICE_RST
volatile uint32_t _pad_0x4_0xf UNDEFINED
volatile uint32_t transfer_spare_reg ALT_NAND_CFG_TFR_SPARE_REG
volatile uint32_t _pad_0x14_0x1f UNDEFINED
volatile uint32_t load_wait_cnt ALT_NAND_CFG_LD_WAIT_CNT
volatile uint32_t _pad_0x24_0x2f UNDEFINED
volatile uint32_t program_wait_cnt ALT_NAND_CFG_PROGRAM_WAIT_CNT
volatile uint32_t _pad_0x34_0x3f UNDEFINED
volatile uint32_t erase_wait_cnt ALT_NAND_CFG_ERASE_WAIT_CNT
volatile uint32_t _pad_0x44_0x4f UNDEFINED
volatile uint32_t int_mon_cyccnt ALT_NAND_CFG_INT_MON_CYCCNT
volatile uint32_t _pad_0x54_0x5f UNDEFINED
volatile uint32_t rb_pin_enabled ALT_NAND_CFG_RB_PIN_END
volatile uint32_t _pad_0x64_0x6f UNDEFINED
volatile uint32_t multiplane_operation ALT_NAND_CFG_MULTIPLANE_OP
volatile uint32_t _pad_0x74_0x7f UNDEFINED
volatile uint32_t multiplane_read_enable ALT_NAND_CFG_MULTIPLANE_RD_EN
volatile uint32_t _pad_0x84_0x8f UNDEFINED
volatile uint32_t copyback_disable ALT_NAND_CFG_COPYBACK_DIS
volatile uint32_t _pad_0x94_0x9f UNDEFINED
volatile uint32_t cache_write_enable ALT_NAND_CFG_CACHE_WR_EN
volatile uint32_t _pad_0xa4_0xaf UNDEFINED
volatile uint32_t cache_read_enable ALT_NAND_CFG_CACHE_RD_EN
volatile uint32_t _pad_0xb4_0xbf UNDEFINED
volatile uint32_t prefetch_mode ALT_NAND_CFG_PREFETCH_MOD
volatile uint32_t _pad_0xc4_0xcf UNDEFINED
volatile uint32_t chip_enable_dont_care ALT_NAND_CFG_CHIP_EN_DONT_CARE
volatile uint32_t _pad_0xd4_0xdf UNDEFINED
volatile uint32_t ecc_enable ALT_NAND_CFG_ECC_EN
volatile uint32_t _pad_0xe4_0xef UNDEFINED
volatile uint32_t global_int_enable ALT_NAND_CFG_GLOB_INT_EN
volatile uint32_t _pad_0xf4_0xff UNDEFINED
volatile uint32_t twhr2_and_we_2_re ALT_NAND_CFG_TWHR2_AND_WE_2_RE
volatile uint32_t _pad_0x104_0x10f UNDEFINED
volatile uint32_t tcwaw_and_addr_2_data ALT_NAND_CFG_TCWAW_AND_ADDR_2_DATA
volatile uint32_t _pad_0x114_0x11f UNDEFINED
volatile uint32_t re_2_we ALT_NAND_CFG_RE_2_WE
volatile uint32_t _pad_0x124_0x12f UNDEFINED
volatile uint32_t acc_clks ALT_NAND_CFG_ACC_CLKS
volatile uint32_t _pad_0x134_0x13f UNDEFINED
volatile uint32_t number_of_planes ALT_NAND_CFG_NUMBER_OF_PLANES
volatile uint32_t _pad_0x144_0x14f UNDEFINED
volatile uint32_t pages_per_block ALT_NAND_CFG_PAGES_PER_BLOCK
volatile uint32_t _pad_0x154_0x15f UNDEFINED
volatile uint32_t device_width ALT_NAND_CFG_DEVICE_WIDTH
volatile uint32_t _pad_0x164_0x16f UNDEFINED
volatile uint32_t device_main_area_size ALT_NAND_CFG_DEVICE_MAIN_AREA_SIZE
volatile uint32_t _pad_0x174_0x17f UNDEFINED
volatile uint32_t device_spare_area_size ALT_NAND_CFG_DEVICE_SPARE_AREA_SIZE
volatile uint32_t _pad_0x184_0x18f UNDEFINED
volatile uint32_t two_row_addr_cycles ALT_NAND_CFG_TWO_ROW_ADDR_CYCLES
volatile uint32_t _pad_0x194_0x19f UNDEFINED
volatile uint32_t multiplane_addr_restrict ALT_NAND_CFG_MULTIPLANE_ADDR_RESTRICT
volatile uint32_t _pad_0x1a4_0x1af UNDEFINED
volatile uint32_t ecc_correction ALT_NAND_CFG_ECC_CORRECTION
volatile uint32_t _pad_0x1b4_0x1bf UNDEFINED
volatile uint32_t read_mode ALT_NAND_CFG_RD_MOD
volatile uint32_t _pad_0x1c4_0x1cf UNDEFINED
volatile uint32_t write_mode ALT_NAND_CFG_WR_MOD
volatile uint32_t _pad_0x1d4_0x1df UNDEFINED
volatile uint32_t copyback_mode ALT_NAND_CFG_COPYBACK_MOD
volatile uint32_t _pad_0x1e4_0x1ef UNDEFINED
volatile uint32_t rdwr_en_lo_cnt ALT_NAND_CFG_RDWR_EN_LO_CNT
volatile uint32_t _pad_0x1f4_0x1ff UNDEFINED
volatile uint32_t rdwr_en_hi_cnt ALT_NAND_CFG_RDWR_EN_HI_CNT
volatile uint32_t _pad_0x204_0x20f UNDEFINED
volatile uint32_t max_rd_delay ALT_NAND_CFG_MAX_RD_DELAY
volatile uint32_t _pad_0x214_0x21f UNDEFINED
volatile uint32_t cs_setup_cnt ALT_NAND_CFG_CS_SETUP_CNT
volatile uint32_t _pad_0x224_0x22f UNDEFINED
volatile uint32_t spare_area_skip_bytes ALT_NAND_CFG_SPARE_AREA_SKIP_BYTES
volatile uint32_t _pad_0x234_0x23f UNDEFINED
volatile uint32_t spare_area_marker ALT_NAND_CFG_SPARE_AREA_MARKER
volatile uint32_t _pad_0x244_0x24f UNDEFINED
volatile uint32_t devices_connected ALT_NAND_CFG_DEVICES_CONNECTED
volatile uint32_t _pad_0x254_0x25f UNDEFINED
volatile uint32_t die_mask ALT_NAND_CFG_DIE_MSK
volatile uint32_t _pad_0x264_0x26f UNDEFINED
volatile uint32_t first_block_of_next_plane ALT_NAND_CFG_FIRST_BLOCK_OF_NEXT_PLANE
volatile uint32_t _pad_0x274_0x27f UNDEFINED
volatile uint32_t write_protect ALT_NAND_CFG_WR_PROTECT
volatile uint32_t _pad_0x284_0x28f UNDEFINED
volatile uint32_t re_2_re ALT_NAND_CFG_RE_2_RE
volatile uint32_t _pad_0x294_0x29f UNDEFINED
volatile uint32_t por_reset_count ALT_NAND_CFG_POR_RST_COUNT
volatile uint32_t _pad_0x2a4_0x2af UNDEFINED
volatile uint32_t watchdog_reset_count ALT_NAND_CFG_WD_RST_COUNT

Typedef Documentation

The typedef declaration for register group ALT_NAND_CFG.

The typedef declaration for the raw register contents of register group ALT_NAND_CFG.