Type Alias esp_idf_sys::esp_netif_driver_ifconfig_t
source · pub type esp_netif_driver_ifconfig_t = esp_netif_driver_ifconfig;
Expand description
@brief Specific IO driver configuration
Aliased Type§
struct esp_netif_driver_ifconfig_t {
pub handle: *mut c_void,
pub transmit: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize) -> i32>,
pub transmit_wrap: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void) -> i32>,
pub driver_free_rx_buffer: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>,
}
Fields§
§handle: *mut c_void
< io-driver handle
transmit: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize) -> i32>
< transmit function pointer
transmit_wrap: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void) -> i32>
< transmit wrap function pointer
driver_free_rx_buffer: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>
< free rx buffer function pointer