Struct W

Source
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Source§

impl W

Source

pub fn reset_value() -> W

Reset value of the register

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

Source

pub fn dbg_tim2_stop(&mut self) -> _DBG_TIM2_STOPW<'_>

Bit 0 - DBG_TIM2_STOP

Source

pub fn dbg_tim3_stop(&mut self) -> _DBG_TIM3_STOPW<'_>

Bit 1 - DBG_TIM3_STOP

Source

pub fn dbg_tim4_stop(&mut self) -> _DBG_TIM4_STOPW<'_>

Bit 2 - DBG_TIM4_STOP

Source

pub fn dbg_tim5_stop(&mut self) -> _DBG_TIM5_STOPW<'_>

Bit 3 - DBG_TIM5_STOP

Source

pub fn dbg_tim6_stop(&mut self) -> _DBG_TIM6_STOPW<'_>

Bit 4 - DBG_TIM6_STOP

Source

pub fn dbg_tim7_stop(&mut self) -> _DBG_TIM7_STOPW<'_>

Bit 5 - DBG_TIM7_STOP

Source

pub fn dbg_tim12_stop(&mut self) -> _DBG_TIM12_STOPW<'_>

Bit 6 - DBG_TIM12_STOP

Source

pub fn dbg_tim13_stop(&mut self) -> _DBG_TIM13_STOPW<'_>

Bit 7 - DBG_TIM13_STOP

Source

pub fn dbg_tim14_stop(&mut self) -> _DBG_TIM14_STOPW<'_>

Bit 8 - DBG_TIM14_STOP

Source

pub fn dbg_lptim1_stop(&mut self) -> _DBG_LPTIM1_STOPW<'_>

Bit 9 - DBG_LPTIM1_STOP

Source

pub fn dbg_rtc_stop(&mut self) -> _DBG_RTC_STOPW<'_>

Bit 10 - DBG_RTC_STOP

Source

pub fn dbg_wwdg_stop(&mut self) -> _DBG_WWDG_STOPW<'_>

Bit 11 - DBG_WWDG_STOP

Source

pub fn dbg_iwdg_stop(&mut self) -> _DBG_IWDG_STOPW<'_>

Bit 12 - DBG_IWDG_STOP

Source

pub fn dbg_can3_stop(&mut self) -> _DBG_CAN3_STOPW<'_>

Bit 13 - DBG_CAN3_STOP

Source

pub fn dbg_i2c1_smbus_timeout(&mut self) -> _DBG_I2C1_SMBUS_TIMEOUTW<'_>

Bit 21 - DBG_I2C1_SMBUS_TIMEOUT

Source

pub fn dbg_i2c2_smbus_timeout(&mut self) -> _DBG_I2C2_SMBUS_TIMEOUTW<'_>

Bit 22 - DBG_I2C2_SMBUS_TIMEOUT

Source

pub fn dbg_i2c3_smbus_timeout(&mut self) -> _DBG_I2C3_SMBUS_TIMEOUTW<'_>

Bit 23 - DBG_I2C3_SMBUS_TIMEOUT

Source

pub fn dbg_i2c4_smbus_timeout(&mut self) -> _DBG_I2C4_SMBUS_TIMEOUTW<'_>

Bit 24 - DBG_I2C4SMBUS_TIMEOUT

Source

pub fn dbg_can1_stop(&mut self) -> _DBG_CAN1_STOPW<'_>

Bit 25 - DBG_CAN1_STOP

Source

pub fn dbg_can2_stop(&mut self) -> _DBG_CAN2_STOPW<'_>

Bit 26 - DBG_CAN2_STOP

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.