Enum stm32f407g_disc::adc1::cr2::EXTSELR
pub enum EXTSELR {
TIM1CC1,
TIM1CC2,
TIM1CC3,
TIM2CC2,
TIM2CC3,
TIM2CC4,
TIM2TRGO,
_Reserved(u8),
}
Expand description
Possible values of the field EXTSEL
Variants§
TIM1CC1
Timer 1 CC1 event
TIM1CC2
Timer 1 CC2 event
TIM1CC3
Timer 1 CC3 event
TIM2CC2
Timer 2 CC2 event
TIM2CC3
Timer 2 CC3 event
TIM2CC4
Timer 2 CC4 event
TIM2TRGO
Timer 2 TRGO event
_Reserved(u8)
Reserved
Implementations§
§impl EXTSELR
impl EXTSELR
pub fn is_tim1cc1(&self) -> bool
pub fn is_tim1cc1(&self) -> bool
Checks if the value of the field is TIM1CC1
pub fn is_tim1cc2(&self) -> bool
pub fn is_tim1cc2(&self) -> bool
Checks if the value of the field is TIM1CC2
pub fn is_tim1cc3(&self) -> bool
pub fn is_tim1cc3(&self) -> bool
Checks if the value of the field is TIM1CC3
pub fn is_tim2cc2(&self) -> bool
pub fn is_tim2cc2(&self) -> bool
Checks if the value of the field is TIM2CC2
pub fn is_tim2cc3(&self) -> bool
pub fn is_tim2cc3(&self) -> bool
Checks if the value of the field is TIM2CC3
pub fn is_tim2cc4(&self) -> bool
pub fn is_tim2cc4(&self) -> bool
Checks if the value of the field is TIM2CC4
pub fn is_tim2trgo(&self) -> bool
pub fn is_tim2trgo(&self) -> bool
Checks if the value of the field is TIM2TRGO