![]() |
![]() |
Bcp_InitCfg. More...
#include <bcp.h>
Data Fields | |
Cppi_CpDma | cpdmaNum |
uint32_t | baseTxQueueNum |
uint32_t | cfgRegsBaseAddress |
void *(* | BcpTunnel_txOpen )(void *txEpCfg) |
int32_t(* | BcpTunnel_txClose )(void *hTxEpInfo) |
void *(* | BcpTunnel_rxOpen )(void *rxEpCfg) |
int32_t(* | BcpTunnel_rxClose )(void *hRxEpInfo) |
int32_t(* | BcpTunnel_send )(void *hTxEpInfo, void *pPkt, uint32_t pktSize, void *pDestnDev) |
int32_t(* | BcpTunnel_recv )(void *hRxEpInfo, void **pPkt) |
int32_t(* | BcpTunnel_freeRecvBuffer )(void *hRxEpInfo, void *pPkt, uint32_t pktSize) |
Bcp_InitCfg.
BCP Peripheral Initialization configuration.
uint32_t _Bcp_InitCfg::baseTxQueueNum |
Tx queue number base for this BCP instance.
int32_t(* _Bcp_InitCfg::BcpTunnel_freeRecvBuffer)(void *hRxEpInfo, void *pPkt, uint32_t pktSize) |
Called from Bcp_rxFreeRecvBuffer () API to free an Rx packet obtained using Bcp_recv () API. Invoked by BCP driver only if it was initialized in "remote" mode.
int32_t(* _Bcp_InitCfg::BcpTunnel_recv)(void *hRxEpInfo, void **pPkt) |
Called from Bcp_recv () API to receive output from BCP using tunnel from a remote device. Invoked by BCP driver only if it was initialized in "remote" mode.
int32_t(* _Bcp_InitCfg::BcpTunnel_rxClose)(void *hRxEpInfo) |
Called from Bcp_rxClose () API to close a BCP tunnel Rx endpoint.
void*(* _Bcp_InitCfg::BcpTunnel_rxOpen)(void *rxEpCfg) |
Called from Bcp_rxOpen () API to initialize one endpoint of the Rx tunnel between device having BCP and remote device. Application developer should implement the necessary logic here to perform any setup required to receive packets from BCP on the same/remote device as this device.
int32_t(* _Bcp_InitCfg::BcpTunnel_send)(void *hTxEpInfo, void *pPkt, uint32_t pktSize, void *pDestnDev) |
Called from Bcp_send () API to send out a packet through the tunnel to a remote BCP device. Invoked by BCP driver only if it was initialized in "remote" mode.
int32_t(* _Bcp_InitCfg::BcpTunnel_txClose)(void *hTxEpInfo) |
Called from Bcp_txClose () API to close a BCP tunnel Tx endpoint.
void*(* _Bcp_InitCfg::BcpTunnel_txOpen)(void *txEpCfg) |
Callback functions to BCP transport layer. Called from Bcp_txOpen () API to initialize one endpoint of the Tx tunnel between device having BCP and remote device. Application developer should implement the necessary logic here to perform any setup required to send packets to BCP on the same/remote device as this device.
uint32_t _Bcp_InitCfg::cfgRegsBaseAddress |
Base address for BCP configuration registers for this instance.
Cppi_CpDma _Bcp_InitCfg::cpdmaNum |
CPDMA Number corresponding to this BCP instance.