Type Alias esp_idf_sys::esp_vhci_host_callback_t
source · pub type esp_vhci_host_callback_t = esp_vhci_host_callback;
Expand description
@brief esp_vhci_host_callback used for vhci call host function to notify what host need to do
Aliased Type§
struct esp_vhci_host_callback_t {
pub notify_host_send_available: Option<unsafe extern "C" fn()>,
pub notify_host_recv: Option<unsafe extern "C" fn(_: *mut u8, _: u16) -> i32>,
}
Fields§
§notify_host_send_available: Option<unsafe extern "C" fn()>
< callback used to notify that the host can send packet to controller
notify_host_recv: Option<unsafe extern "C" fn(_: *mut u8, _: u16) -> i32>
< callback used to notify that the controller has a packet to send to the host