Struct esp_wifi_sys::include::coex_adapter_funcs_t
source · #[repr(C)]pub struct coex_adapter_funcs_t {Show 18 fields
pub _version: i32,
pub _task_yield_from_isr: Option<unsafe extern "C" fn()>,
pub _semphr_create: Option<unsafe extern "C" fn(max: u32, init: u32) -> *mut c_void>,
pub _semphr_delete: Option<unsafe extern "C" fn(semphr: *mut c_void)>,
pub _semphr_take_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>,
pub _semphr_give_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>,
pub _semphr_take: Option<unsafe extern "C" fn(semphr: *mut c_void, block_time_tick: u32) -> i32>,
pub _semphr_give: Option<unsafe extern "C" fn(semphr: *mut c_void) -> i32>,
pub _is_in_isr: Option<unsafe extern "C" fn() -> c_int>,
pub _malloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>,
pub _free: Option<unsafe extern "C" fn(p: *mut c_void)>,
pub _esp_timer_get_time: Option<unsafe extern "C" fn() -> i64>,
pub _env_is_chip: Option<unsafe extern "C" fn() -> bool>,
pub _timer_disarm: Option<unsafe extern "C" fn(timer: *mut c_void)>,
pub _timer_done: Option<unsafe extern "C" fn(ptimer: *mut c_void)>,
pub _timer_setfn: Option<unsafe extern "C" fn(ptimer: *mut c_void, pfunction: *mut c_void, parg: *mut c_void)>,
pub _timer_arm_us: Option<unsafe extern "C" fn(ptimer: *mut c_void, us: u32, repeat: bool)>,
pub _magic: i32,
}
Fields§
§_version: i32
§_task_yield_from_isr: Option<unsafe extern "C" fn()>
§_semphr_create: Option<unsafe extern "C" fn(max: u32, init: u32) -> *mut c_void>
§_semphr_delete: Option<unsafe extern "C" fn(semphr: *mut c_void)>
§_semphr_take_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>
§_semphr_give_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>
§_semphr_take: Option<unsafe extern "C" fn(semphr: *mut c_void, block_time_tick: u32) -> i32>
§_semphr_give: Option<unsafe extern "C" fn(semphr: *mut c_void) -> i32>
§_is_in_isr: Option<unsafe extern "C" fn() -> c_int>
§_malloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>
§_free: Option<unsafe extern "C" fn(p: *mut c_void)>
§_esp_timer_get_time: Option<unsafe extern "C" fn() -> i64>
§_env_is_chip: Option<unsafe extern "C" fn() -> bool>
§_timer_disarm: Option<unsafe extern "C" fn(timer: *mut c_void)>
§_timer_done: Option<unsafe extern "C" fn(ptimer: *mut c_void)>
§_timer_setfn: Option<unsafe extern "C" fn(ptimer: *mut c_void, pfunction: *mut c_void, parg: *mut c_void)>
§_timer_arm_us: Option<unsafe extern "C" fn(ptimer: *mut c_void, us: u32, repeat: bool)>
§_magic: i32
Trait Implementations§
source§impl Clone for coex_adapter_funcs_t
impl Clone for coex_adapter_funcs_t
source§fn clone(&self) -> coex_adapter_funcs_t
fn clone(&self) -> coex_adapter_funcs_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for coex_adapter_funcs_t
Auto Trait Implementations§
impl Freeze for coex_adapter_funcs_t
impl RefUnwindSafe for coex_adapter_funcs_t
impl Send for coex_adapter_funcs_t
impl Sync for coex_adapter_funcs_t
impl Unpin for coex_adapter_funcs_t
impl UnwindSafe for coex_adapter_funcs_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)