[][src]Enum imxrt_hal::ccm::pwm::Prescalar

#[repr(u16)]pub enum Prescalar {
    PRSC_0,
    PRSC_1,
    PRSC_2,
    PRSC_3,
    PRSC_4,
    PRSC_5,
    PRSC_6,
    PRSC_7,
}

PWM prescalar

Variants

PRSC_0

0b000: PWM clock frequency = fclk

PRSC_1

0b001: PWM clock frequency = fclk/2

PRSC_2

0b010: PWM clock frequency = fclk/4

PRSC_3

0b011: PWM clock frequency = fclk/8

PRSC_4

0b100: PWM clock frequency = fclk/16

PRSC_5

0b101: PWM clock frequency = fclk/32

PRSC_6

0b110: PWM clock frequency = fclk/64

PRSC_7

0b111: PWM clock frequency = fclk/128

Trait Implementations

impl Clone for Prescalar[src]

impl Copy for Prescalar[src]

impl Debug for Prescalar[src]

impl Eq for Prescalar[src]

impl From<Prescalar> for Divider[src]

impl PartialEq<Prescalar> for Prescalar[src]

impl StructuralEq for Prescalar[src]

impl StructuralPartialEq for Prescalar[src]

Auto Trait Implementations

impl Send for Prescalar

impl Sync for Prescalar

impl Unpin for Prescalar

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.