Struct libreda_sta::ClockDefinition
source · pub struct ClockDefinition<Signal> {
pub(crate) period: Time,
pub(crate) first_edge: Signal,
pub(crate) second_edge: Signal,
}Expand description
Definition of a clock source.
Fields§
§period: TimePeriod of the clock signal.
first_edge: SignalRepresentation of the first edge of a clock cycle.
The Signal datatype typically encodes phase and slope.
second_edge: SignalRepresentation of the second edge of a clock cycle.
The Signal datatype typically encodes phase and slope.
Must have the opposite polarity of the first edge.
Implementations§
Trait Implementations§
source§impl<Signal: Clone> Clone for ClockDefinition<Signal>
impl<Signal: Clone> Clone for ClockDefinition<Signal>
source§fn clone(&self) -> ClockDefinition<Signal>
fn clone(&self) -> ClockDefinition<Signal>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more