Struct stm32_metapac::dts::regs::Rampvalr
#[repr(transparent)]pub struct Rampvalr(pub u32);
Expand description
Temperature sensor ramp value register.
Tuple Fields§
§0: u32
Implementations§
§impl Rampvalr
impl Rampvalr
pub const fn ramp_coeff(&self) -> u16
pub const fn ramp_coeff(&self) -> u16
Engineering value of the ramp coefficient for the temperature sensor 1. This value is expressed in Hz/�C.
pub fn set_ramp_coeff(&mut self, val: u16)
pub fn set_ramp_coeff(&mut self, val: u16)
Engineering value of the ramp coefficient for the temperature sensor 1. This value is expressed in Hz/�C.
Trait Implementations§
impl Copy for Rampvalr
impl Eq for Rampvalr
impl StructuralPartialEq for Rampvalr
Auto Trait Implementations§
impl Freeze for Rampvalr
impl RefUnwindSafe for Rampvalr
impl Send for Rampvalr
impl Sync for Rampvalr
impl Unpin for Rampvalr
impl UnwindSafe for Rampvalr
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
)