![]() |
csi2txss
Xilinx SDK Drivers API Documentation
|
Functions | |
u32 | Csi2TxSs_IntrExample (u32 DeviceId) |
This function is the main entry point for the interrupt example using the XCsi2TxSs driver. More... | |
u32 | Csi2TxSs_PlatformInit (void) |
This function initialize required platform-specifc peripherals. More... | |
u32 | Csi2TxSs_SetupIntrSystem (XINTC *IntcInstPtr) |
This function sets up the interrupt system so interrupts can occur for the MIPI CSI2Tx Subsystem core. More... | |
void | Csi2TxSs_WrgLaneEventHandler (void *InstancePtr, u32 Mask) |
This function is called when Wrong number of lanes are configured by the MIPI CSI2Tx Subsystem core. More... | |
void | Csi2TxSs_GSPFullEventHandler (void *InstancePtr, u32 Mask) |
This function is called when Genric Short Packet FIFO is found full by the MIPI CSI2Tx Subsystem core. More... | |
void | Csi2TxSs_UlpsEventHandler (void *InstancePtr, u32 Mask) |
This function is called when there is a change in ULPS state of D-PHY Lanes. More... | |
void | Csi2TxSs_LinebufEventHandler (void *InstancePtr, u32 Mask) |
This function is called when a Line buffer is full event recieved by MIPI CSI2Tx Subsystem core. More... | |
void | Csi2TxSs_WrgDTypeEventHandler (void *InstancePtr, u32 Mask) |
This function is called when a event generated by unspported data type in GSP request to the MIPI CSI2Tx Subsystem core. More... | |
void | Csi2TxSs_UrunPixelEventHandler (void *InstancePtr, u32 Mask) |
This function is called when during packet transmission, byte stream FIFO is found to be starves for pixel by the MIPI CSI2Tx Subsystem core. More... | |
int | main () |
This is the main function for XCsi2TxSs interrupt example. More... | |
u32 | Csi2TxSs_SelfTestExample (u32 DeviceId) |
This function is the main entry point for the self test example using the XCsi2TxSs driver. More... | |
void Csi2TxSs_GSPFullEventHandler | ( | void * | InstancePtr, |
u32 | Mask | ||
) |
#include <xcsi2txss_intr_example.c>
This function is called when Genric Short Packet FIFO is found full by the MIPI CSI2Tx Subsystem core.
InstancePtr | is a pointer to the XCsi2TxSs instance. |
Mask | of interrupt which caused this event |
u32 Csi2TxSs_IntrExample | ( | u32 | DeviceId | ) |
#include <xcsi2txss_intr_example.c>
This function is the main entry point for the interrupt example using the XCsi2TxSs driver.
This function will set up the system with interrupts handlers.
DeviceId | is the unique device ID of the MIPI CSI2Tx Subsystem core. |
Referenced by main().
void Csi2TxSs_LinebufEventHandler | ( | void * | InstancePtr, |
u32 | Mask | ||
) |
#include <xcsi2txss_intr_example.c>
This function is called when a Line buffer is full event recieved by MIPI CSI2Tx Subsystem core.
InstancePtr | is a pointer to the XCsi2TxSs instance. |
Mask | of interrupt which caused this event |
u32 Csi2TxSs_PlatformInit | ( | void | ) |
#include <xcsi2txss_intr_example.c>
This function initialize required platform-specifc peripherals.
None. |
u32 Csi2TxSs_SelfTestExample | ( | u32 | DeviceId | ) |
#include <xcsi2txss_selftest_example.c>
This function is the main entry point for the self test example using the XCsi2TxSs driver.
This function check whether or not its sub-core drivers self test functions are in working state.
DeviceId | is the unique device ID of the MIPI CSI2 TX Subsystem core. |
References XCsi2TxSs_Config::BaseAddr, XCsi2TxSs_CfgInitialize(), XCsi2TxSs_LookupConfig(), and XCsi2TxSs_SelfTest().
u32 Csi2TxSs_SetupIntrSystem | ( | XINTC * | IntcInstPtr | ) |
#include <xcsi2txss_intr_example.c>
This function sets up the interrupt system so interrupts can occur for the MIPI CSI2Tx Subsystem core.
The function is application-specific since the actual system may or may not have an interrupt controller. The MIPI CSI Subsystem core could be directly connected to a processor without an interrupt controller. The user should modify this function to fit the application.
IntcInstPtr | is a pointer to interrupt controller |
void Csi2TxSs_UlpsEventHandler | ( | void * | InstancePtr, |
u32 | Mask | ||
) |
#include <xcsi2txss_intr_example.c>
This function is called when there is a change in ULPS state of D-PHY Lanes.
InstancePtr | is a pointer to the XCsi2TxSs instance. |
Mask | of interrupt which caused this event |
void Csi2TxSs_UrunPixelEventHandler | ( | void * | InstancePtr, |
u32 | Mask | ||
) |
#include <xcsi2txss_intr_example.c>
This function is called when during packet transmission, byte stream FIFO is found to be starves for pixel by the MIPI CSI2Tx Subsystem core.
InstancePtr | is a pointer to the XCsi2TxSs instance. |
Mask | of interrupt which caused this event |
void Csi2TxSs_WrgDTypeEventHandler | ( | void * | InstancePtr, |
u32 | Mask | ||
) |
#include <xcsi2txss_intr_example.c>
This function is called when a event generated by unspported data type in GSP request to the MIPI CSI2Tx Subsystem core.
InstancePtr | is a pointer to the XCsi2TxSs instance. |
Mask | of interrupt which caused this event |
void Csi2TxSs_WrgLaneEventHandler | ( | void * | InstancePtr, |
u32 | Mask | ||
) |
#include <xcsi2txss_intr_example.c>
This function is called when Wrong number of lanes are configured by the MIPI CSI2Tx Subsystem core.
InstancePtr | is a pointer to the XCsi2TxSs instance. |
Mask | of interrupt which caused this event |
int main | ( | ) |
#include <xcsi2txss_intr_example.c>
This is the main function for XCsi2TxSs interrupt example.
This is the main function for XCsi2TxSs self test example.
If the Csi2TxSs_IntrExample function which sets up the system succeeds, this function will wait for the interrupts. Once a connection event or pulse is detected, Csi2TxSs will TX device capabilities and re-start the subsystem.
None. |
None. |
References Csi2TxSs_IntrExample().