Enum nrf52832_pac::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§
source§impl 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§
source§impl Clone for PRESCALERR
impl Clone for PRESCALERR
source§fn clone(&self) -> PRESCALERR
fn clone(&self) -> PRESCALERR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more