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

Description

These bits determine which byte of data/ecc to write to RAM.

Register Layout

Bits Access Reset Description
[0] RW 0x0 ALT_ECC_SDMMC_STARTACC_ENBUSB
[15:1] ??? 0x0 UNDEFINED
[16] RW 0x0 ALT_ECC_SDMMC_STARTACC_ENBUSA
[31:17] ??? 0x0 UNDEFINED

Field : ENBUSB

Start RAM access for PORTB.

Field Access Macros:

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_LSB   0
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_MSB   0
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_WIDTH   1
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_SET_MSK   0x00000001
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_CLR_MSK   0xfffffffe
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_RESET   0x0
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSB_SET(value)   (((value) << 0) & 0x00000001)
 

Field : ENBUSA

Start RAM access for PORTA.

Field Access Macros:

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_LSB   16
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_MSB   16
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_WIDTH   1
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_SET_MSK   0x00010000
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_CLR_MSK   0xfffeffff
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_RESET   0x0
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_GET(value)   (((value) & 0x00010000) >> 16)
 
#define ALT_ECC_SDMMC_STARTACC_ENBUSA_SET(value)   (((value) << 16) & 0x00010000)
 

Data Structures

struct  ALT_ECC_SDMMC_STARTACC_s
 

Macros

#define ALT_ECC_SDMMC_STARTACC_RESET   0x00000000
 
#define ALT_ECC_SDMMC_STARTACC_OFST   0x7c
 
#define ALT_ECC_SDMMC_STARTACC_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_ECC_SDMMC_STARTACC_OFST))
 

Typedefs

typedef struct
ALT_ECC_SDMMC_STARTACC_s 
ALT_ECC_SDMMC_STARTACC_t
 

Data Structure Documentation

struct ALT_ECC_SDMMC_STARTACC_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_ECC_SDMMC_STARTACC.

Data Fields
uint32_t ENBUSB: 1 ALT_ECC_SDMMC_STARTACC_ENBUSB
uint32_t __pad0__: 15 UNDEFINED
uint32_t ENBUSA: 1 ALT_ECC_SDMMC_STARTACC_ENBUSA
uint32_t __pad1__: 15 UNDEFINED

Macro Definitions

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_LSB   0

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

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_MSB   0

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

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_WIDTH   1

The width in bits of the ALT_ECC_SDMMC_STARTACC_ENBUSB register field.

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_SET_MSK   0x00000001

The mask used to set the ALT_ECC_SDMMC_STARTACC_ENBUSB register field value.

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_CLR_MSK   0xfffffffe

The mask used to clear the ALT_ECC_SDMMC_STARTACC_ENBUSB register field value.

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_RESET   0x0

The reset value of the ALT_ECC_SDMMC_STARTACC_ENBUSB register field.

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_GET (   value)    (((value) & 0x00000001) >> 0)

Extracts the ALT_ECC_SDMMC_STARTACC_ENBUSB field value from a register.

#define ALT_ECC_SDMMC_STARTACC_ENBUSB_SET (   value)    (((value) << 0) & 0x00000001)

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

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_LSB   16

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

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_MSB   16

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

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_WIDTH   1

The width in bits of the ALT_ECC_SDMMC_STARTACC_ENBUSA register field.

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_SET_MSK   0x00010000

The mask used to set the ALT_ECC_SDMMC_STARTACC_ENBUSA register field value.

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_CLR_MSK   0xfffeffff

The mask used to clear the ALT_ECC_SDMMC_STARTACC_ENBUSA register field value.

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_RESET   0x0

The reset value of the ALT_ECC_SDMMC_STARTACC_ENBUSA register field.

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_GET (   value)    (((value) & 0x00010000) >> 16)

Extracts the ALT_ECC_SDMMC_STARTACC_ENBUSA field value from a register.

#define ALT_ECC_SDMMC_STARTACC_ENBUSA_SET (   value)    (((value) << 16) & 0x00010000)

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

#define ALT_ECC_SDMMC_STARTACC_RESET   0x00000000

The reset value of the ALT_ECC_SDMMC_STARTACC register.

#define ALT_ECC_SDMMC_STARTACC_OFST   0x7c

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

#define ALT_ECC_SDMMC_STARTACC_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_ECC_SDMMC_STARTACC_OFST))

The address of the ALT_ECC_SDMMC_STARTACC register.

Typedef Documentation

The typedef declaration for register ALT_ECC_SDMMC_STARTACC.