Enum nrf52832_hal::target::pwm0::prescaler::PRESCALERR
source · pub enum PRESCALERR {
DIV_1,
DIV_2,
DIV_4,
DIV_8,
DIV_16,
DIV_32,
DIV_64,
DIV_128,
}
Expand description
Possible values of the field PRESCALER
Variants
DIV_1
Divide by 1 (16MHz)
DIV_2
Divide by 2 ( 8MHz)
DIV_4
Divide by 4 ( 4MHz)
DIV_8
Divide by 8 ( 2MHz)
DIV_16
Divide by 16 ( 1MHz)
DIV_32
Divide by 32 ( 500kHz)
DIV_64
Divide by 64 ( 250kHz)
DIV_128
Divide by 128 ( 125kHz)
Implementations
sourceimpl PRESCALERR
impl PRESCALERR
sourcepub fn is_div_128(&self) -> bool
pub fn is_div_128(&self) -> bool
Checks if the value of the field is DIV_128
Trait Implementations
sourceimpl Clone for PRESCALERR
impl Clone for PRESCALERR
sourcefn clone(&self) -> PRESCALERR
fn clone(&self) -> PRESCALERR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PRESCALERR
impl Debug for PRESCALERR
sourceimpl PartialEq<PRESCALERR> for PRESCALERR
impl PartialEq<PRESCALERR> for PRESCALERR
sourcefn eq(&self, other: &PRESCALERR) -> bool
fn eq(&self, other: &PRESCALERR) -> bool
impl Copy for PRESCALERR
impl StructuralPartialEq for PRESCALERR
Auto Trait Implementations
impl RefUnwindSafe for PRESCALERR
impl Send for PRESCALERR
impl Sync for PRESCALERR
impl Unpin for PRESCALERR
impl UnwindSafe for PRESCALERR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more