Enum nrf52832_hal::pac::pwm0::prescaler::PRESCALER_A [−][src]
#[repr(u8)]
pub enum PRESCALER_A {
DIV_1,
DIV_2,
DIV_4,
DIV_8,
DIV_16,
DIV_32,
DIV_64,
DIV_128,
}
Expand description
Pre-scaler of PWM_CLK
Value on reset: 0
Variants
DIV_1
0: Divide by 1 (16MHz)
DIV_2
1: Divide by 2 ( 8MHz)
DIV_4
2: Divide by 4 ( 4MHz)
DIV_8
3: Divide by 8 ( 2MHz)
DIV_16
4: Divide by 16 ( 1MHz)
DIV_32
5: Divide by 32 ( 500kHz)
DIV_64
6: Divide by 64 ( 250kHz)
DIV_128
7: Divide by 128 ( 125kHz)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PRESCALER_A
impl Send for PRESCALER_A
impl Sync for PRESCALER_A
impl Unpin for PRESCALER_A
impl UnwindSafe for PRESCALER_A
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.