#[repr(C, align(4))]pub struct mcpwm_gpio_fault_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_gpio_fault_config_t__bindgen_ty_1
impl mcpwm_gpio_fault_config_t__bindgen_ty_1
pub fn active_level(&self) -> u32
pub fn set_active_level(&mut self, val: u32)
pub unsafe fn active_level_raw( this: *const mcpwm_gpio_fault_config_t__bindgen_ty_1, ) -> u32
pub unsafe fn set_active_level_raw( this: *mut mcpwm_gpio_fault_config_t__bindgen_ty_1, 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 mcpwm_gpio_fault_config_t__bindgen_ty_1, ) -> u32
pub unsafe fn set_io_loop_back_raw( this: *mut mcpwm_gpio_fault_config_t__bindgen_ty_1, 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 mcpwm_gpio_fault_config_t__bindgen_ty_1, ) -> u32
pub unsafe fn set_pull_up_raw( this: *mut mcpwm_gpio_fault_config_t__bindgen_ty_1, 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 mcpwm_gpio_fault_config_t__bindgen_ty_1, ) -> u32
pub unsafe fn set_pull_down_raw( this: *mut mcpwm_gpio_fault_config_t__bindgen_ty_1, val: u32, )
pub fn new_bitfield_1( active_level: u32, io_loop_back: u32, pull_up: u32, pull_down: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl Clone for mcpwm_gpio_fault_config_t__bindgen_ty_1
Source§fn clone(&self) -> mcpwm_gpio_fault_config_t__bindgen_ty_1
fn clone(&self) -> mcpwm_gpio_fault_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_gpio_fault_config_t__bindgen_ty_1
impl Debug for mcpwm_gpio_fault_config_t__bindgen_ty_1
Source§impl Default for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl Default for mcpwm_gpio_fault_config_t__bindgen_ty_1
Source§fn default() -> mcpwm_gpio_fault_config_t__bindgen_ty_1
fn default() -> mcpwm_gpio_fault_config_t__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for mcpwm_gpio_fault_config_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl RefUnwindSafe for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl Send for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl Sync for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl Unpin for mcpwm_gpio_fault_config_t__bindgen_ty_1
impl UnwindSafe for mcpwm_gpio_fault_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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)