![]() |
v_frmbuf_wr
Vitis Drivers API Documentation
|
Functions | |
| XV_frmbufwr_Config * | XV_frmbufwr_LookupConfig (u16 DeviceId) |
| XV_frmbufwr_LookupConfig - Looks up the configuration for a device instance. More... | |
| int | XV_frmbufwr_Initialize (XV_frmbufwr *InstancePtr, u16 DeviceId) |
| Initialize the frame buffer write core instance. More... | |
| int XV_frmbufwr_Initialize | ( | XV_frmbufwr * | InstancePtr, |
| u16 | DeviceId | ||
| ) |
Initialize the frame buffer write core instance.
This function initializes an XV_frmbufwr instance using the configuration corresponding to the specified DeviceId. It looks up the configuration, checks for validity, and then calls the core's configuration initialization function. If the configuration is not found, the instance is marked as not ready and an error code is returned.
| InstancePtr | Pointer to the XV_frmbufwr instance to be initialized. |
| DeviceId | Unique device ID of the frame buffer write core. |
References XV_frmbufwr_Config::BaseAddress, XV_frmbufwr::IsReady, XV_frmbufwr_CfgInitialize(), and XV_frmbufwr_LookupConfig().
Referenced by XVFrmbufWr_Initialize().
| XV_frmbufwr_Config* XV_frmbufwr_LookupConfig | ( | u16 | DeviceId | ) |
XV_frmbufwr_LookupConfig - Looks up the configuration for a device instance.
| DeviceId | The unique device ID of the XV_frmbufwr instance to look up. |
This function searches the configuration table for an entry matching the specified DeviceId and returns a pointer to its configuration structure.
Referenced by XV_frmbufwr_Initialize().