[−][src]Enum alt_stm32f30x_hal::stm32::tim2::smcr::TSR
Possible values of the field TS
Variants
ITR0
Internal Trigger 0 (ITR0)
ITR1
Internal Trigger 1 (ITR1)
ITR2
Internal Trigger 2 (ITR2)
TI1F_ED
TI1 Edge Detector (TI1F_ED)
TI1FP1
Filtered Timer Input 1 (TI1FP1)
TI2FP2
Filtered Timer Input 2 (TI2FP2)
ETRF
External Trigger input (ETRF)
_Reserved(u8)
Reserved
Methods
impl TSR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_itr0(&self) -> bool
[src]
Checks if the value of the field is ITR0
pub fn is_itr1(&self) -> bool
[src]
Checks if the value of the field is ITR1
pub fn is_itr2(&self) -> bool
[src]
Checks if the value of the field is ITR2
pub fn is_ti1f_ed(&self) -> bool
[src]
Checks if the value of the field is TI1F_ED
pub fn is_ti1fp1(&self) -> bool
[src]
Checks if the value of the field is TI1FP1
pub fn is_ti2fp2(&self) -> bool
[src]
Checks if the value of the field is TI2FP2
pub fn is_etrf(&self) -> bool
[src]
Checks if the value of the field is ETRF
Trait Implementations
impl PartialEq<TSR> for TSR
[src]
impl Debug for TSR
[src]
impl Copy for TSR
[src]
impl Clone for TSR
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self