Struct Pwmconfig
#[repr(transparent)]pub struct Pwmconfig(pub u32);
Expand description
PWM configuration.
Tuple Fields§
§0: u32
Implementations§
§impl Pwmconfig
impl Pwmconfig
pub const fn comparevalue(&self) -> u8
pub const fn comparevalue(&self) -> u8
The PWM compare value
pub fn set_comparevalue(&mut self, val: u8)
pub fn set_comparevalue(&mut self, val: u8)
The PWM compare value
Trait Implementations§
impl Copy for Pwmconfig
impl Eq for Pwmconfig
impl StructuralPartialEq for Pwmconfig
Auto Trait Implementations§
impl Freeze for Pwmconfig
impl RefUnwindSafe for Pwmconfig
impl Send for Pwmconfig
impl Sync for Pwmconfig
impl Unpin for Pwmconfig
impl UnwindSafe for Pwmconfig
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
)