Struct stm32_metapac::hrtim::regs::HrtimAdc1r
#[repr(transparent)]pub struct HrtimAdc1r(pub u32);
Expand description
High Resolution Timer: ADC Trigger 1 Register
Tuple Fields§
§0: u32
Implementations§
§impl HrtimAdc1r
impl HrtimAdc1r
pub fn set_adcmper(&mut self, val: bool)
pub fn set_adcmper(&mut self, val: bool)
ADC trigger X on Master Period
pub fn set_adceev(&mut self, n: usize, val: bool)
pub fn set_adceev(&mut self, n: usize, val: bool)
ADC trigger X on External Event Y
pub fn set_adctc2(&mut self, n: usize, val: bool)
pub fn set_adctc2(&mut self, n: usize, val: bool)
ADC trigger X on Timer Y Compare 2
pub fn set_adctc3(&mut self, n: usize, val: bool)
pub fn set_adctc3(&mut self, n: usize, val: bool)
ADC trigger X on Timer Y Compare 3
pub fn set_adctc4(&mut self, n: usize, val: bool)
pub fn set_adctc4(&mut self, n: usize, val: bool)
ADC trigger X on Timer Y Compare 3
pub fn set_adctper(&mut self, n: usize, val: bool)
pub fn set_adctper(&mut self, n: usize, val: bool)
ADC trigger X on Timer Y Period
pub fn set_adctrst(&mut self, n: usize, val: bool)
pub fn set_adctrst(&mut self, n: usize, val: bool)
ADC trigger X on Timer Y Reset
Trait Implementations§
§impl Clone for HrtimAdc1r
impl Clone for HrtimAdc1r
§fn clone(&self) -> HrtimAdc1r
fn clone(&self) -> HrtimAdc1r
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for HrtimAdc1r
impl Default for HrtimAdc1r
§fn default() -> HrtimAdc1r
fn default() -> HrtimAdc1r
Returns the “default value” for a type. Read more
§impl PartialEq for HrtimAdc1r
impl PartialEq for HrtimAdc1r
§fn eq(&self, other: &HrtimAdc1r) -> bool
fn eq(&self, other: &HrtimAdc1r) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HrtimAdc1r
impl Eq for HrtimAdc1r
impl StructuralEq for HrtimAdc1r
impl StructuralPartialEq for HrtimAdc1r
Auto Trait Implementations§
impl RefUnwindSafe for HrtimAdc1r
impl Send for HrtimAdc1r
impl Sync for HrtimAdc1r
impl Unpin for HrtimAdc1r
impl UnwindSafe for HrtimAdc1r
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