Struct rust_hdl::prelude::MAX31856Simulator
source · pub struct MAX31856Simulator {
pub wires: SPIWiresSlave,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields§
§wires: SPIWiresSlave
§clock: Signal<In, Clock>
Implementations§
source§impl MAX31856Simulator
impl MAX31856Simulator
pub fn new(config: SPIConfig) -> MAX31856Simulator
Trait Implementations§
source§impl Block for MAX31856Simulator
impl Block for MAX31856Simulator
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)