Enum stm32f103xx::tim1::smcr::TSR [−][src]
pub enum TSR {
ITR0,
ITR1,
ITR2,
ITR3,
TI1F_ED,
TI1FP1,
TI2FP2,
ETRF,
}Possible values of the field TS
Variants
ITR0Internal Trigger 0 (ITR0)
ITR1Internal Trigger 1 (ITR1)
ITR2Internal Trigger 2 (ITR2)
ITR3Internal Trigger 3 (ITR3)
TI1F_EDTI1 Edge Detector
TI1FP1Filtered Timer Input 1
TI2FP2Filtered Timer Input 2
ETRFExternal Trigger input
Methods
impl TSR[src]
impl TSRpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_itr0(&self) -> bool[src]
pub fn is_itr0(&self) -> boolChecks if the value of the field is ITR0
pub fn is_itr1(&self) -> bool[src]
pub fn is_itr1(&self) -> boolChecks if the value of the field is ITR1
pub fn is_itr2(&self) -> bool[src]
pub fn is_itr2(&self) -> boolChecks if the value of the field is ITR2
pub fn is_itr3(&self) -> bool[src]
pub fn is_itr3(&self) -> boolChecks if the value of the field is ITR3
pub fn is_ti1f_ed(&self) -> bool[src]
pub fn is_ti1f_ed(&self) -> boolChecks if the value of the field is TI1F_ED
pub fn is_ti1fp1(&self) -> bool[src]
pub fn is_ti1fp1(&self) -> boolChecks if the value of the field is TI1FP1
pub fn is_ti2fp2(&self) -> bool[src]
pub fn is_ti2fp2(&self) -> boolChecks if the value of the field is TI2FP2
pub fn is_etrf(&self) -> bool[src]
pub fn is_etrf(&self) -> boolChecks if the value of the field is ETRF
Trait Implementations
impl Clone for TSR[src]
impl Clone for TSRfn clone(&self) -> TSR[src]
fn clone(&self) -> TSRReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for TSR[src]
impl Copy for TSRimpl Debug for TSR[src]
impl Debug for TSRfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for TSR[src]
impl PartialEq for TSR