![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
RX Sample Delay.
This register is only valid when the DW_apb_ssi is configured with rxd
sample delay logic (SSI_HAS_RX_SAMPLE_DELAY==1). When the DW_apb_ssi is
not configured with rxd sample delay logic, this register will not exist
and writing to its address location will have no effect; reading from
its address will return zero. This register control the number of ssi_clk
cycles that are delayed (from the default sample time) before the actual
sample of the rxd input occurs. It is impossible to write to this
register when the DW_apb_ssi is enabled. The DW_apb_ssi is enabled and
disabled by writing to the SSIENR register.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[7:0] | RW | 0x0 | ALT_SPIM_RX_SMPL_DLY_RSD |
[31:8] | ??? | 0x0 | UNDEFINED |
Field : rsd | |
Rxd Sample Delay. This register is used to delay the sample of the rxd input port. Each value represents a single ssi_clk delay on the sample of rxd. Note; If this register is programmed with a value that exceeds the depth of the internal shift registers (SSI_RX_DLY_SR_DEPTH) zero delay will be applied to the rxd sample. Field Access Macros: | |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_LSB 0 |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_MSB 7 |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_WIDTH 8 |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_SET_MSK 0x000000ff |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_CLR_MSK 0xffffff00 |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_RESET 0x0 |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_GET(value) (((value) & 0x000000ff) >> 0) |
#define | ALT_SPIM_RX_SMPL_DLY_RSD_SET(value) (((value) << 0) & 0x000000ff) |
Data Structures | |
struct | ALT_SPIM_RX_SMPL_DLY_s |
Macros | |
#define | ALT_SPIM_RX_SMPL_DLY_RESET 0x00000000 |
#define | ALT_SPIM_RX_SMPL_DLY_OFST 0xf0 |
#define | ALT_SPIM_RX_SMPL_DLY_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_SPIM_RX_SMPL_DLY_OFST)) |
Typedefs | |
typedef struct ALT_SPIM_RX_SMPL_DLY_s | ALT_SPIM_RX_SMPL_DLY_t |
struct ALT_SPIM_RX_SMPL_DLY_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_SPIM_RX_SMPL_DLY.
Data Fields | ||
---|---|---|
uint32_t | rsd: 8 | ALT_SPIM_RX_SMPL_DLY_RSD |
uint32_t | __pad0__: 24 | UNDEFINED |
#define ALT_SPIM_RX_SMPL_DLY_RSD_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_SPIM_RX_SMPL_DLY_RSD register field.
#define ALT_SPIM_RX_SMPL_DLY_RSD_MSB 7 |
The Most Significant Bit (MSB) position of the ALT_SPIM_RX_SMPL_DLY_RSD register field.
#define ALT_SPIM_RX_SMPL_DLY_RSD_WIDTH 8 |
The width in bits of the ALT_SPIM_RX_SMPL_DLY_RSD register field.
#define ALT_SPIM_RX_SMPL_DLY_RSD_SET_MSK 0x000000ff |
The mask used to set the ALT_SPIM_RX_SMPL_DLY_RSD register field value.
#define ALT_SPIM_RX_SMPL_DLY_RSD_CLR_MSK 0xffffff00 |
The mask used to clear the ALT_SPIM_RX_SMPL_DLY_RSD register field value.
#define ALT_SPIM_RX_SMPL_DLY_RSD_RESET 0x0 |
The reset value of the ALT_SPIM_RX_SMPL_DLY_RSD register field.
#define ALT_SPIM_RX_SMPL_DLY_RSD_GET | ( | value | ) | (((value) & 0x000000ff) >> 0) |
Extracts the ALT_SPIM_RX_SMPL_DLY_RSD field value from a register.
#define ALT_SPIM_RX_SMPL_DLY_RSD_SET | ( | value | ) | (((value) << 0) & 0x000000ff) |
Produces a ALT_SPIM_RX_SMPL_DLY_RSD register field value suitable for setting the register.
#define ALT_SPIM_RX_SMPL_DLY_RESET 0x00000000 |
The reset value of the ALT_SPIM_RX_SMPL_DLY register.
#define ALT_SPIM_RX_SMPL_DLY_OFST 0xf0 |
The byte offset of the ALT_SPIM_RX_SMPL_DLY register from the beginning of the component.
#define ALT_SPIM_RX_SMPL_DLY_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_SPIM_RX_SMPL_DLY_OFST)) |
The address of the ALT_SPIM_RX_SMPL_DLY register.
typedef struct ALT_SPIM_RX_SMPL_DLY_s ALT_SPIM_RX_SMPL_DLY_t |
The typedef declaration for register ALT_SPIM_RX_SMPL_DLY.