![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
This register contains the number of valid data entries in the receive FIFO buffer. It is cleared whenever:
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[6:0] | R | 0x0 | Receive FIFO Level Bit |
[31:7] | ??? | 0x0 | UNDEFINED |
Field : Receive FIFO Level Bit - rxflr | |
Receive FIFO Level. Contains the number of valid data entries in the receive FIFO. Field Access Macros: | |
#define | ALT_I2C_RXFLR_RXFLR_LSB 0 |
#define | ALT_I2C_RXFLR_RXFLR_MSB 6 |
#define | ALT_I2C_RXFLR_RXFLR_WIDTH 7 |
#define | ALT_I2C_RXFLR_RXFLR_SET_MSK 0x0000007f |
#define | ALT_I2C_RXFLR_RXFLR_CLR_MSK 0xffffff80 |
#define | ALT_I2C_RXFLR_RXFLR_RESET 0x0 |
#define | ALT_I2C_RXFLR_RXFLR_GET(value) (((value) & 0x0000007f) >> 0) |
#define | ALT_I2C_RXFLR_RXFLR_SET(value) (((value) << 0) & 0x0000007f) |
Data Structures | |
struct | ALT_I2C_RXFLR_s |
Macros | |
#define | ALT_I2C_RXFLR_OFST 0x78 |
#define | ALT_I2C_RXFLR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_I2C_RXFLR_OFST)) |
Typedefs | |
typedef struct ALT_I2C_RXFLR_s | ALT_I2C_RXFLR_t |
struct ALT_I2C_RXFLR_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_I2C_RXFLR.
Data Fields | ||
---|---|---|
const uint32_t | rxflr: 7 | Receive FIFO Level Bit |
uint32_t | __pad0__: 25 | UNDEFINED |
#define ALT_I2C_RXFLR_RXFLR_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_I2C_RXFLR_RXFLR register field.
#define ALT_I2C_RXFLR_RXFLR_MSB 6 |
The Most Significant Bit (MSB) position of the ALT_I2C_RXFLR_RXFLR register field.
#define ALT_I2C_RXFLR_RXFLR_WIDTH 7 |
The width in bits of the ALT_I2C_RXFLR_RXFLR register field.
#define ALT_I2C_RXFLR_RXFLR_SET_MSK 0x0000007f |
The mask used to set the ALT_I2C_RXFLR_RXFLR register field value.
#define ALT_I2C_RXFLR_RXFLR_CLR_MSK 0xffffff80 |
The mask used to clear the ALT_I2C_RXFLR_RXFLR register field value.
#define ALT_I2C_RXFLR_RXFLR_RESET 0x0 |
The reset value of the ALT_I2C_RXFLR_RXFLR register field.
#define ALT_I2C_RXFLR_RXFLR_GET | ( | value | ) | (((value) & 0x0000007f) >> 0) |
Extracts the ALT_I2C_RXFLR_RXFLR field value from a register.
#define ALT_I2C_RXFLR_RXFLR_SET | ( | value | ) | (((value) << 0) & 0x0000007f) |
Produces a ALT_I2C_RXFLR_RXFLR register field value suitable for setting the register.
#define ALT_I2C_RXFLR_OFST 0x78 |
The byte offset of the ALT_I2C_RXFLR register from the beginning of the component.
#define ALT_I2C_RXFLR_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_I2C_RXFLR_OFST)) |
The address of the ALT_I2C_RXFLR register.
typedef struct ALT_I2C_RXFLR_s ALT_I2C_RXFLR_t |
The typedef declaration for register ALT_I2C_RXFLR.