![]() |
mipicsiss
Xilinx SDK 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 | FmcWriteData (u16 ByteCount) |
| This function writes a buffer of data to the FMC IIC. More... | |
| int | FmcReadData (u8 *BufferPtr, u16 ByteCount) |
| This function reads data from the FMC IIC into a specified buffer. More... | |
| int | AdapterWriteData (u16 ByteCount) |
| This function writes a buffer of data to the Adapter IIC. More... | |
| int | AdapterReadData (u8 *BufferPtr, u16 ByteCount) |
| This function reads data from the Adapter IIC into a specified buffer. 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 | 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... | |
| void | EnableDSI () |
| This function enables MIPI DSI SS. More... | |
| u32 | SetupDSI (void) |
| This function programs MIPI DSI SS with the required timing paramters. More... | |
| u32 | InitTreadyGpio (void) |
| This function initializes GPIO IP for tready selection and gets config parameters. More... | |
| u32 | InitializeCsiRxSs (void) |
| This function programs MIPI CSI SS with the required timing paramters. More... | |
| u32 | InitializeVdma (void) |
| This function initializes Axi VDMA IP and gets config parameters. More... | |
| void | SetColorDepth (void) |
| This function sets colour depth value getting from MIPI CSI2 RX SS. More... | |
| void | SelectDSIOuptut (void) |
| This function programs GPIO to 0 to select tready from MIPI DSI SS. More... | |
| void | SelectHDMIOutput (void) |
| This function programs GPIO to '1' to select tready from HDMI. More... | |
| int | MuxInit (void) |
| This function initializes the IIC MUX to select EEPROM. More... | |
| int | SetupCameraSensor (void) |
| This function setup Camera sensor programming wrt resolution selected. More... | |
| int | StartSensor (void) |
| This function starts camera sensor to transmit captured video. More... | |
| void | InitCSC2TPG_Vdma (void) |
| This function provides information to program vdma wrt BPC. More... | |
| void | PrintPipeConfig (void) |
| This function prints the video pipeline information. More... | |
| void | DisableTPGVdma (void) |
| This function stops VDMA IP transactions. More... | |
| void | DisableScaler (void) |
| This function stops VProc_SS scalar IP. 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 AdapterReadData | ( | u8 * | BufferPtr, |
| u16 | ByteCount | ||
| ) |
This function reads data from the Adapter IIC into a specified buffer.
| BufferPtr | contains the address of the data buffer to be filled. |
| ByteCount | contains the number of bytes in the buffer to be read. |
References AdapterWriteData().
| 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. |
Referenced by AdapterReadData().
| void DisableCSI | ( | void | ) |
This function disables MIPI CSI IP.
| void DisableDSI | ( | void | ) |
This function disables MIPI DSI SS.
| void DisableScaler | ( | void | ) |
This function stops VProc_SS scalar IP.
| void DisableTPGVdma | ( | void | ) |
This function stops VDMA IP transactions.
| void EnableCSI | ( | void | ) |
This function enables MIPI CSI IP.
| void EnableDSI | ( | void | ) |
This function enables MIPI DSI SS.
| int FmcReadData | ( | u8 * | BufferPtr, |
| u16 | ByteCount | ||
| ) |
This function reads data from the FMC IIC into a specified buffer.
| BufferPtr | contains the address of the data buffer to be filled. |
| ByteCount | contains the number of bytes in the buffer to be read. |
References FmcWriteData().
| int FmcWriteData | ( | u16 | ByteCount | ) |
This function writes a buffer of data to the FMC IIC.
| ByteCount | contains the number of bytes in the buffer to be written. |
Referenced by FmcReadData(), and MuxInit().
| void InitCSC2TPG_Vdma | ( | void | ) |
This function provides information to program vdma wrt BPC.
Referenced by main().
| 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.
| u32 InitializeVdma | ( | void | ) |
This function initializes Axi VDMA IP and gets config parameters.
Referenced by main().
| 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.
| u32 InitTreadyGpio | ( | void | ) |
This function initializes GPIO IP for tready selection and gets config parameters.
Referenced by main().
| 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. |
| int MuxInit | ( | void | ) |
This function initializes the IIC MUX to select EEPROM.
| None. |
| void PrintPipeConfig | ( | void | ) |
| 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 SelectDSIOuptut | ( | void | ) |
This function programs GPIO to 0 to select tready from MIPI DSI SS.
Referenced by main().
| void SelectHDMIOutput | ( | void | ) |
This function programs GPIO to '1' to select tready from HDMI.
Referenced by main().
| 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().
| void SetColorDepth | ( | void | ) |
This function sets colour depth value getting from MIPI CSI2 RX SS.
Referenced by main().
| int SetupCameraSensor | ( | void | ) |
This function setup Camera sensor programming wrt resolution selected.
Referenced by main().
| 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.
| int StartSensor | ( | void | ) |
This function starts camera sensor to transmit captured video.
Referenced by main().
| 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().