Struct rust_hdl::widgets::pwm::PulseWidthModulator   
source · 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§
source§impl<const N: usize> Block for PulseWidthModulator<N>
 
impl<const N: usize> Block for PulseWidthModulator<N>
source§fn connect_all(&mut self)
 
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
source§fn update_all(&mut self)
 
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
source§fn has_changed(&self) -> bool
 
fn has_changed(&self) -> bool
Returns 
true if anything in the circuit has changed (outputs or internal state)