pub struct FaderWithSyncROM {
pub clock: Signal<In, Clock>,
pub active: Signal<Out, bool>,
pub enable: Signal<In, bool>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§active: Signal<Out, bool>
§enable: Signal<In, bool>
Implementations§
Source§impl FaderWithSyncROM
impl FaderWithSyncROM
pub fn new(clock_frequency: u64, phase: u32) -> FaderWithSyncROM
Trait Implementations§
Source§impl Block for FaderWithSyncROM
impl Block for FaderWithSyncROM
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)Auto Trait Implementations§
impl Freeze for FaderWithSyncROM
impl RefUnwindSafe for FaderWithSyncROM
impl Send for FaderWithSyncROM
impl Sync for FaderWithSyncROM
impl Unpin for FaderWithSyncROM
impl UnwindSafe for FaderWithSyncROM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more