33 SHCI_TL_UserEventFlow_Disable,
34 SHCI_TL_UserEventFlow_Enable,
35 } SHCI_TL_UserEventFlowStatus_t;
41 } SHCI_TL_CmdStatus_t;
50 int32_t (* Init) (
void* pConf);
51 int32_t (* DeInit) (void);
52 int32_t (* Reset) (void);
53 int32_t (* Receive) (uint8_t*, uint16_t);
54 int32_t (* Send) (uint8_t*, uint16_t);
55 int32_t (* DataAck) (uint8_t*, uint16_t* len);
56 int32_t (* GetTick) (void);
69 void (* UserEvtRx) (
void * pData);
74 SHCI_TL_UserEventFlowStatus_t status;
81 void (* StatusNotCallBack) (SHCI_TL_CmdStatus_t status);
94 void shci_send( uint16_t cmd_code, uint8_t len_cmd_payload, uint8_t * p_cmd_payload, TL_EvtPacket_t * p_rsp_status );
169 void shci_init(
void(* UserEvtRx)(
void* pData),
void* pConf);
Structure used to manage the BUS IO operations.
void shci_register_io_bus(tSHciIO *fops)
Register IO bus services.
void shci_resume_flow(void)
This function resume the User Event Flow which has been stopped on return from UserEvtRx() when the U...
void shci_send(uint16_t cmd_code, uint8_t len_cmd_payload, uint8_t *p_cmd_payload, TL_EvtPacket_t *p_rsp_status)
shci_send
void shci_user_evt_proc(void)
This process shall be called each time the shci_notify_asynch_evt notification is received...
void shci_notify_asynch_evt(void *pdata)
Interrupt service routine that must be called when the system channel reports a packet has been recei...
Contain the SHCI context.
tSHciIO io
Manage the BUS IO operations.
void shci_init(void(*UserEvtRx)(void *pData), void *pConf)
Initialize the System Host Controller Interface.
void shci_cmd_resp_wait(uint32_t timeout)
This function is called when an System HCI Command is sent to the CPU2 and the response is waited...
void shci_cmd_resp_release(uint32_t flag)
This function is called when an System HCI command is received from the CPU2.