Struct stm32_metapac::hrtim::regs::HrtimAdc2r
#[repr(transparent)]pub struct HrtimAdc2r(pub u32);
Expand description
High Resolution Timer: ADC Trigger 2 Register
Tuple Fields§
§0: u32
Implementations§
§impl HrtimAdc2r
impl HrtimAdc2r
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_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_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_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 HrtimAdc2r
impl Clone for HrtimAdc2r
§fn clone(&self) -> HrtimAdc2r
fn clone(&self) -> HrtimAdc2r
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 HrtimAdc2r
impl Default for HrtimAdc2r
§fn default() -> HrtimAdc2r
fn default() -> HrtimAdc2r
Returns the “default value” for a type. Read more
§impl PartialEq for HrtimAdc2r
impl PartialEq for HrtimAdc2r
impl Copy for HrtimAdc2r
impl Eq for HrtimAdc2r
impl StructuralPartialEq for HrtimAdc2r
Auto Trait Implementations§
impl Freeze for HrtimAdc2r
impl RefUnwindSafe for HrtimAdc2r
impl Send for HrtimAdc2r
impl Sync for HrtimAdc2r
impl Unpin for HrtimAdc2r
impl UnwindSafe for HrtimAdc2r
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
)