mipicsiss
Vitis Drivers API Documentation
|
MODIFICATION HISTORY:
Ver Who Date Changes
X.XX XX YY/MM/DD 1.00 RHe 19/09/20 Initial release.
Functions | |
int | InitIIC () |
This function writes, reads, and verifies the data to the IIC EEPROM. More... | |
int | AdapterWriteData (u16 ByteCount) |
This function writes a buffer of data to the Adapter IIC. More... | |
void | SetupIICIntrHandlers () |
This function sets send, receive and error handlers for IIC interrupts. More... | |
void | SendHandler (XIic *InstancePtr) |
This Send handler is called asynchronously from an interrupt context and indicates that data in the specified buffer has been sent. More... | |
void | ReceiveHandler (XIic *InstancePtr) |
This Receive handler is called asynchronously from an interrupt context and indicates that data in the specified buffer has been Received. More... | |
void | StatusHandler (XIic *InstancePtr, int Event) |
This Status handler is called asynchronously from an interrupt context and indicates the events that have occurred. More... | |
void | resetIp () |
This function resets IPs. More... | |
void | resetVIP () |
void | DisableDSI () |
This function disables MIPI DSI SS. More... | |
void | DisableCSI () |
This function disables MIPI CSI IP. More... | |
void | EnableCSI () |
This function enables MIPI CSI IP. More... | |
void | InitDSI () |
This function programs MIPI DSI SS with the required timing paramters. More... | |
u32 | SetupDSI (void) |
This function programs MIPI DSI SS with the required timing paramters. More... | |
u32 | InitializeCsiRxSs (void) |
This function programs MIPI CSI SS with the required timing paramters. More... | |
int | demosaic () |
This function programs colour space converter with the given width and height. More... | |
void | CamReset (void) |
This function resets IMX274 camera sensor. More... | |
void | InitVprocSs_Scaler (int count) |
This function initializes and configures VProcSS IP for scalar mode with the given input and output width and height values. More... | |
int AdapterWriteData | ( | u16 | ByteCount | ) |
This function writes a buffer of data to the Adapter IIC.
ByteCount | contains the number of bytes in the buffer to be written. |
void CamReset | ( | void | ) |
This function resets IMX274 camera sensor.
int demosaic | ( | ) |
This function programs colour space converter with the given width and height.
width | is Hsize of a packet in pixels. |
height | is number of lines of a packet. |
Referenced by main().
void DisableCSI | ( | void | ) |
This function disables MIPI CSI IP.
void DisableDSI | ( | void | ) |
This function disables MIPI DSI SS.
void EnableCSI | ( | void | ) |
This function enables MIPI CSI IP.
void InitDSI | ( | void | ) |
This function programs MIPI DSI SS with the required timing paramters.
u32 InitializeCsiRxSs | ( | void | ) |
This function programs MIPI CSI SS with the required timing paramters.
This function programs MIPI CSI SS with the required timing paramters.
int InitIIC | ( | void | ) |
This function writes, reads, and verifies the data to the IIC EEPROM.
It does the write as a single page write, performs a buffered read.
None. |
This function writes, reads, and verifies the data to the IIC EEPROM.
void InitVprocSs_Scaler | ( | int | count | ) |
This function initializes and configures VProcSS IP for scalar mode with the given input and output width and height values.
count | is a flag value to initialize IP only once. |
void ReceiveHandler | ( | XIic * | InstancePtr | ) |
This Receive handler is called asynchronously from an interrupt context and indicates that data in the specified buffer has been Received.
InstancePtr | is not used, but contains a pointer to the IIC device driver instance which the handler is being called for. |
Referenced by SetupIICIntrHandlers().
void resetIp | ( | void | ) |
This function resets IPs.
References DisableCSI(), DisableDSI(), and resetVIP().
Referenced by main().
void resetVIP | ( | void | ) |
Referenced by resetIp().
void SendHandler | ( | XIic * | InstancePtr | ) |
This Send handler is called asynchronously from an interrupt context and indicates that data in the specified buffer has been sent.
InstancePtr | is not used, but contains a pointer to the IIC device driver instance which the handler is being called for. |
Referenced by SetupIICIntrHandlers().
u32 SetupDSI | ( | void | ) |
This function programs MIPI DSI SS with the required timing paramters.
This function programs MIPI DSI SS with the required timing paramters.
void SetupIICIntrHandlers | ( | void | ) |
This function sets send, receive and error handlers for IIC interrupts.
void StatusHandler | ( | XIic * | InstancePtr, |
int | Event | ||
) |
This Status handler is called asynchronously from an interrupt context and indicates the events that have occurred.
InstancePtr | is a pointer to the IIC driver instance for which the handler is being called for. |
Event | indicates the condition that has occurred. |
Referenced by SetupIICIntrHandlers().