pub struct PulseWidthModulator<const N: usize> {
pub enable: Signal<In, Bit>,
pub threshold: Signal<In, Bits<N>>,
pub clock: Signal<In, Clock>,
pub active: Signal<Out, Bit>,
/* private fields */
}
Fields
enable: Signal<In, Bit>
threshold: Signal<In, Bits<N>>
clock: Signal<In, Clock>
active: Signal<Out, Bit>
Trait Implementations
sourceimpl<const N: usize> Block for PulseWidthModulator<N>
impl<const N: usize> Block for PulseWidthModulator<N>
fn connect_all(&mut self)
fn update_all(&mut self)
fn has_changed(&self) -> bool
fn accept(&self, name: &str, probe: &mut dyn Probe)
sourceimpl<const N: usize> Default for PulseWidthModulator<N>
impl<const N: usize> Default for PulseWidthModulator<N>
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for PulseWidthModulator<N>
impl<const N: usize> Send for PulseWidthModulator<N>
impl<const N: usize> Sync for PulseWidthModulator<N>
impl<const N: usize> Unpin for PulseWidthModulator<N>
impl<const N: usize> UnwindSafe for PulseWidthModulator<N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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