1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::generic::*; #[repr(transparent)] #[derive(Copy, Clone)] pub struct Divmode(pub u8); impl Divmode { #[doc = "Free-running counting at rate dictated by fractional divider"] pub const DIV: Self = Self(0); #[doc = "Fractional divider operation is gated by the PWM B pin."] pub const LEVEL: Self = Self(0x01); #[doc = "Counter advances with each rising edge of the PWM B pin."] pub const RISE: Self = Self(0x02); #[doc = "Counter advances with each falling edge of the PWM B pin."] pub const FALL: Self = Self(0x03); }