![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
See Field Descriptor
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[1:0] | ??? | 0x0 | UNDEFINED |
[31:2] | RW | 0x0 | Start of Descriptor List |
Field : Start of Descriptor List - sdl | |
Contains the base address of the First Descriptor. This is the byte address divided by 4. Field Access Macros: | |
#define | ALT_SDMMC_DBADDR_SDL_LSB 2 |
#define | ALT_SDMMC_DBADDR_SDL_MSB 31 |
#define | ALT_SDMMC_DBADDR_SDL_WIDTH 30 |
#define | ALT_SDMMC_DBADDR_SDL_SET_MSK 0xfffffffc |
#define | ALT_SDMMC_DBADDR_SDL_CLR_MSK 0x00000003 |
#define | ALT_SDMMC_DBADDR_SDL_RESET 0x0 |
#define | ALT_SDMMC_DBADDR_SDL_GET(value) (((value) & 0xfffffffc) >> 2) |
#define | ALT_SDMMC_DBADDR_SDL_SET(value) (((value) << 2) & 0xfffffffc) |
Data Structures | |
struct | ALT_SDMMC_DBADDR_s |
Macros | |
#define | ALT_SDMMC_DBADDR_OFST 0x88 |
Typedefs | |
typedef struct ALT_SDMMC_DBADDR_s | ALT_SDMMC_DBADDR_t |
struct ALT_SDMMC_DBADDR_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_SDMMC_DBADDR.
Data Fields | ||
---|---|---|
uint32_t | __pad0__: 2 | UNDEFINED |
uint32_t | sdl: 30 | Start of Descriptor List |
#define ALT_SDMMC_DBADDR_SDL_LSB 2 |
The Least Significant Bit (LSB) position of the ALT_SDMMC_DBADDR_SDL register field.
#define ALT_SDMMC_DBADDR_SDL_MSB 31 |
The Most Significant Bit (MSB) position of the ALT_SDMMC_DBADDR_SDL register field.
#define ALT_SDMMC_DBADDR_SDL_WIDTH 30 |
The width in bits of the ALT_SDMMC_DBADDR_SDL register field.
#define ALT_SDMMC_DBADDR_SDL_SET_MSK 0xfffffffc |
The mask used to set the ALT_SDMMC_DBADDR_SDL register field value.
#define ALT_SDMMC_DBADDR_SDL_CLR_MSK 0x00000003 |
The mask used to clear the ALT_SDMMC_DBADDR_SDL register field value.
#define ALT_SDMMC_DBADDR_SDL_RESET 0x0 |
The reset value of the ALT_SDMMC_DBADDR_SDL register field.
#define ALT_SDMMC_DBADDR_SDL_GET | ( | value | ) | (((value) & 0xfffffffc) >> 2) |
Extracts the ALT_SDMMC_DBADDR_SDL field value from a register.
#define ALT_SDMMC_DBADDR_SDL_SET | ( | value | ) | (((value) << 2) & 0xfffffffc) |
Produces a ALT_SDMMC_DBADDR_SDL register field value suitable for setting the register.
#define ALT_SDMMC_DBADDR_OFST 0x88 |
The byte offset of the ALT_SDMMC_DBADDR register from the beginning of the component.
typedef struct ALT_SDMMC_DBADDR_s ALT_SDMMC_DBADDR_t |
The typedef declaration for register ALT_SDMMC_DBADDR.