| hdcp1x Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Data Structures | Macros | Typedefs | Enumerations | Functions
xhdcp1x_port.h File Reference

## Data Structures
struct | XHdcp1x_PortPhyIfAdaptorS
| The typedef defines the HDCP port adaptor table. More...

## Macros
#define | XHDCP1X_PORT_H
| < Prevent circular inclusions by using protection macros More...
#define | XHDCP1X_PORT_UINT_TO_BUF(buf, uint, numbits)
| This macro converts from an unsigned integer to a little endian formatted buffer. More...
#define | XHDCP1X_PORT_BUF_TO_UINT(uint, buf, numbits)
| This macro converts from a little endian formatted buffer to an unsigned integer value. More...
#define | XHDCP1X_PORT_BSET_IN_BUF(buf, bitnum) buf[(bitnum) >> 3] |= (1u << ((bitnum) & 0x07u));
| This macro sets a bit within a little endian formatted buffer. More...
#define | XHDCP1X_PORT_BCLR_IN_BUF(buf, bitnum) buf[(bitnum) >> 3] &= ~(1u << ((bitnum) & 0x07u));
| This macro clears a bit within a little endian formatted buffer. More...
#define | XHDCP1X_PORT_BTST_IN_BUF(buf, bitnum) (buf[(bitnum) >> 3] & (1u << ((bitnum) & 0x07u)))
| This macro tests a bit within a little endian formatted buffer. More...

## Typedefs
typedef struct XHdcp1x_PortPhyIfAdaptorS | XHdcp1x_PortPhyIfAdaptor
| The typedef defines the HDCP port adaptor table. More...

## Enumerations
enum | XHdcp1x_PortHandlerType { XHDCP1X_PORT_HANDLER_AUTHENTICATE = 1 }
| This typedef defines the different types of handlers that can be registered to service interrupt requests from the HDCP port instance. More...

## Functions
const XHdcp1x_PortPhyIfAdaptor * | XHdcp1x_PortDetermineAdaptor (XHdcp1x *InstancePtr)
| This function determines the adaptor for a specified port device. More...
int | XHdcp1x_PortSetCallback (XHdcp1x *InstancePtr, u32 HandlerType, XHdcp1x_Callback CallbackFunc, void *CallbackRef)
| This function installs an asynchronous callback function for the given HandlerType: More...
int | XHdcp1x_PortEnable (XHdcp1x *InstancePtr)
| This function enables a port device. More...
int | XHdcp1x_PortDisable (XHdcp1x *InstancePtr)
| This function disables a port device. More...
int | XHdcp1x_PortIsCapable (const XHdcp1x *InstancePtr)
| This function queries a port device to determine if hdcp is supported. More...
int | XHdcp1x_PortIsRepeater (const XHdcp1x *InstancePtr)
| This function queries a port device to determine if it is connected to a repeater. More...
int | XHdcp1x_PortSetRepeater (XHdcp1x *InstancePtr, u8 RptrConf)
| This function set the REPEATER information in the connected device. More...
int | XHdcp1x_PortGetRepeaterInfo (XHdcp1x *InstancePtr, u16 *InfoPtr)
| This function retrieves the repeater information from the connected device. More...
int | XHdcp1x_PortRead (const XHdcp1x *InstancePtr, u8 Offset, void *Buf, u32 BufSize)
| This function reads a register from a HDCP port device. More...
int | XHdcp1x_PortWrite (XHdcp1x *InstancePtr, u8 Offset, const void *Buf, u32 BufSize)
| This function writes a register within a HDCP port device. More...
void | XHdcp1x_PortHandleInterrupt (XHdcp1x *InstancePtr, u32 IntCause)
| This handles an interrupt generated by a HDCP port device. More...