#[repr(C, align(4))]pub struct mcpwm_capture_channel_config_t__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
source§impl mcpwm_capture_channel_config_t__bindgen_ty_1
impl mcpwm_capture_channel_config_t__bindgen_ty_1
pub fn pos_edge(&self) -> u32
pub fn set_pos_edge(&mut self, val: u32)
pub fn neg_edge(&self) -> u32
pub fn set_neg_edge(&mut self, val: u32)
pub fn pull_up(&self) -> u32
pub fn set_pull_up(&mut self, val: u32)
pub fn pull_down(&self) -> u32
pub fn set_pull_down(&mut self, val: u32)
pub fn invert_cap_signal(&self) -> u32
pub fn set_invert_cap_signal(&mut self, val: u32)
pub fn io_loop_back(&self) -> u32
pub fn set_io_loop_back(&mut self, val: u32)
pub fn keep_io_conf_at_exit(&self) -> u32
pub fn set_keep_io_conf_at_exit(&mut self, val: u32)
pub fn new_bitfield_1( pos_edge: u32, neg_edge: u32, pull_up: u32, pull_down: u32, invert_cap_signal: u32, io_loop_back: u32, keep_io_conf_at_exit: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for mcpwm_capture_channel_config_t__bindgen_ty_1
impl Clone for mcpwm_capture_channel_config_t__bindgen_ty_1
source§fn clone(&self) -> mcpwm_capture_channel_config_t__bindgen_ty_1
fn clone(&self) -> mcpwm_capture_channel_config_t__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for mcpwm_capture_channel_config_t__bindgen_ty_1
impl Debug for mcpwm_capture_channel_config_t__bindgen_ty_1
source§impl Default for mcpwm_capture_channel_config_t__bindgen_ty_1
impl Default for mcpwm_capture_channel_config_t__bindgen_ty_1
source§fn default() -> mcpwm_capture_channel_config_t__bindgen_ty_1
fn default() -> mcpwm_capture_channel_config_t__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for mcpwm_capture_channel_config_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for mcpwm_capture_channel_config_t__bindgen_ty_1
impl RefUnwindSafe for mcpwm_capture_channel_config_t__bindgen_ty_1
impl Send for mcpwm_capture_channel_config_t__bindgen_ty_1
impl Sync for mcpwm_capture_channel_config_t__bindgen_ty_1
impl Unpin for mcpwm_capture_channel_config_t__bindgen_ty_1
impl UnwindSafe for mcpwm_capture_channel_config_t__bindgen_ty_1
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)