Enum stm32f407g_disc::tim2::cr1::CKDR
pub enum CKDR {
NOTDIVIDED,
DIVIDEDBY2,
DIVIDEDBY4,
_Reserved(u8),
}
Expand description
Possible values of the field CKD
Variants§
NOTDIVIDED
CK_INT not divided
DIVIDEDBY2
CK_INT divided by 2
DIVIDEDBY4
CK_INT divided by 4
_Reserved(u8)
Reserved
Implementations§
§impl CKDR
impl CKDR
pub fn is_not_divided(&self) -> bool
pub fn is_not_divided(&self) -> bool
Checks if the value of the field is NOTDIVIDED
pub fn is_divided_by2(&self) -> bool
pub fn is_divided_by2(&self) -> bool
Checks if the value of the field is DIVIDEDBY2
pub fn is_divided_by4(&self) -> bool
pub fn is_divided_by4(&self) -> bool
Checks if the value of the field is DIVIDEDBY4