pub enum TIMPRER {
MUL2,
MUL4,
}
Expand description
Possible values of the field TIMPRE
Variants§
MUL2
If the APB prescaler is configured 1, TIMxCLK = PCLKx. Otherwise, TIMxCLK = 2xPCLKx
MUL4
If the APB prescaler is configured 1, 2 or 4, TIMxCLK = HCLK. Otherwise, TIMxCLK = 4xPCLKx
Implementations§
Source§impl TIMPRER
impl TIMPRER
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Trait Implementations§
impl Copy for TIMPRER
impl StructuralPartialEq for TIMPRER
Auto Trait Implementations§
impl Freeze for TIMPRER
impl RefUnwindSafe for TIMPRER
impl Send for TIMPRER
impl Sync for TIMPRER
impl Unpin for TIMPRER
impl UnwindSafe for TIMPRER
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more