#[repr(C, align(4))]pub struct mcpwm_capture_channel_config_t_extra_capture_channel_flags {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Expand description
Extra configuration flags for capture channel
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
source§impl mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl mcpwm_capture_channel_config_t_extra_capture_channel_flags
pub fn pos_edge(&self) -> u32
pub fn set_pos_edge(&mut self, val: u32)
pub unsafe fn pos_edge_raw(this: *const Self) -> u32
pub unsafe fn set_pos_edge_raw(this: *mut Self, val: u32)
pub fn neg_edge(&self) -> u32
pub fn set_neg_edge(&mut self, val: u32)
pub unsafe fn neg_edge_raw(this: *const Self) -> u32
pub unsafe fn set_neg_edge_raw(this: *mut Self, val: u32)
pub fn pull_up(&self) -> u32
pub fn set_pull_up(&mut self, val: u32)
pub unsafe fn pull_up_raw(this: *const Self) -> u32
pub unsafe fn set_pull_up_raw(this: *mut Self, val: u32)
pub fn pull_down(&self) -> u32
pub fn set_pull_down(&mut self, val: u32)
pub unsafe fn pull_down_raw(this: *const Self) -> u32
pub unsafe fn set_pull_down_raw(this: *mut Self, val: u32)
pub fn invert_cap_signal(&self) -> u32
pub fn set_invert_cap_signal(&mut self, val: u32)
pub unsafe fn invert_cap_signal_raw(this: *const Self) -> u32
pub unsafe fn set_invert_cap_signal_raw(this: *mut Self, val: u32)
pub fn io_loop_back(&self) -> u32
pub fn set_io_loop_back(&mut self, val: u32)
pub unsafe fn io_loop_back_raw(this: *const Self) -> u32
pub unsafe fn set_io_loop_back_raw(this: *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 unsafe fn keep_io_conf_at_exit_raw(this: *const Self) -> u32
pub unsafe fn set_keep_io_conf_at_exit_raw(this: *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_extra_capture_channel_flags
impl Clone for mcpwm_capture_channel_config_t_extra_capture_channel_flags
source§fn clone(&self) -> mcpwm_capture_channel_config_t_extra_capture_channel_flags
fn clone(&self) -> mcpwm_capture_channel_config_t_extra_capture_channel_flags
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 Default for mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl Default for mcpwm_capture_channel_config_t_extra_capture_channel_flags
source§fn default() -> mcpwm_capture_channel_config_t_extra_capture_channel_flags
fn default() -> mcpwm_capture_channel_config_t_extra_capture_channel_flags
Returns the “default value” for a type. Read more
impl Copy for mcpwm_capture_channel_config_t_extra_capture_channel_flags
Auto Trait Implementations§
impl Freeze for mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl RefUnwindSafe for mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl Send for mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl Sync for mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl Unpin for mcpwm_capture_channel_config_t_extra_capture_channel_flags
impl UnwindSafe for mcpwm_capture_channel_config_t_extra_capture_channel_flags
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,
§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
)