hdcp22_rng: xhdcp22_rng_hw.h File Reference

| hdcp22_rng Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Macros
xhdcp22_rng_hw.h File Reference

## Macros
#define | XHDCP22_RNG_HW_H
| < Prevent circular inclusions by using protection macros More...
#define | XHDCP22_RNG_VER_ID_OFFSET ((XHDCP22_RNG_VER_BASE)+(0*4))
| VER Identification register * register offset. More...
#define | XHDCP22_RNG_VER_VERSION_OFFSET ((XHDCP22_RNG_VER_BASE)+(1*4))
| VER Version register * offset. More...
#define | XHDCP22_RNG_REG_CTRL_OFFSET ((XHDCP22_RNG_REG_BASE)+(0*4))
| Control register * register offset. More...
#define | XHDCP22_RNG_REG_CTRL_SET_OFFSET ((XHDCP22_RNG_REG_BASE)+(1*4))
| Control set register * offset. More...
#define | XHDCP22_RNG_REG_CTRL_CLR_OFFSET ((XHDCP22_RNG_REG_BASE)+(2*4))
| Control clear register * offset. More...
#define | XHDCP22_RNG_REG_STA_OFFSET ((XHDCP22_RNG_REG_BASE)+(3*4))
| Status register * offset. More...
#define | XHDCP22_RNG_REG_RN_1_OFFSET ((XHDCP22_RNG_REG_BASE)+(4*4))
| Random number register 1 * offset. More...
#define | XHDCP22_RNG_REG_RN_2_OFFSET ((XHDCP22_RNG_REG_BASE)+(5*4))
| Random number 2 * offset. More...
#define | XHDCP22_RNG_REG_RN_3_OFFSET ((XHDCP22_RNG_REG_BASE)+(6*4))
| Random number 3 * offset. More...
#define | XHDCP22_RNG_REG_RN_4_OFFSET ((XHDCP22_RNG_REG_BASE)+(7*4))
| Random number 4 * offset. More...
#define | XHDCP22_RNG_REG_CTRL_RUN_MASK (1<<0)
| Control register Run mask. More...
#define | XHDCP22_RNG_REG_CTRL_IE_MASK (1<<1)
| Control register Interrupt Enable mask. More...
#define | XHDCP22_RN_REG_STA_IRQ_MASK (1<<0)
| Status register interrupt mask. More...
#define | XHDCP22_RN_REG_STA_EVT_MASK (1<<1)
| Status register event mask. More...
#define | XHDCP22_RNG_SHIFT_16 16
| 16 shift value More...
#define | XHDCP22_RNG_MASK_16 0xFFFF
| 16 bit mask value More...
#define | XHDCP22_RNG_VER_ID 0x2200
| Version ID. More...
Register access macro definition
#define | XHdcp22Rng_In32 Xil_In32
| Input Operations. More...
#define | XHdcp22Rng_Out32 Xil_Out32
| Output Operations. More...
#define | XHdcp22Rng_ReadReg(BaseAddress, RegOffset) XHdcp22Rng_In32((BaseAddress) + ((u32)RegOffset))
| This macro reads a value from a HDCP22 RNG register. More...
#define | XHdcp22Rng_WriteReg(BaseAddress, RegOffset, Data) XHdcp22Rng_Out32((BaseAddress) + ((u32)RegOffset), (u32)(Data))
| This macro writes a value to a HDCP22 RNG register. More...
#define | XHdcp22Rng_GetStatusReg(BaseAddress) XHdcp22Rng_ReadReg(BaseAddress, XHDCP22_RNG_REG_STA_OFFSET)
| This macro reads the status register from the HDCP22 RNG. More...
#define | XHdcp22Rng_GetControlReg(BaseAddress) XHdcp22Rng_ReadReg(BaseAddress, XHDCP22_RNG_REG_CTRL_OFFSET)
| This macro reads the control register from the HDCP22 RNG. More...