pub struct CascadeControl {
pub enable_src_0: bool,
pub inv_src_0: CascadeInvert,
pub enable_src_1: bool,
pub inv_src_1: CascadeInvert,
pub dual_operation: DualCascadeOp,
pub trigger_mode_0: bool,
pub trigger_mode_1: bool,
pub enable_stop_src_2: bool,
pub inv_src_2: CascadeInvert,
pub trigger_mode_2: bool,
}Fields§
§enable_src_0: boolEnable Cascade 0 signal active as a requirement for counting
inv_src_0: CascadeInvertInvert Cascade 0, making it active low
enable_src_1: boolEnable Cascade 1 signal active as a requirement for counting
inv_src_1: CascadeInvertInvert Cascade 1, making it active low
dual_operation: DualCascadeOpSpecify required operation if both Cascade 0 and Cascade 1 are active. 0 is a logical AND of both cascade signals, 1 is a logical OR
trigger_mode_0: boolEnable trigger mode for Cascade 0. In trigger mode, couting will start with the selected cascade signal active, but once the counter is active, cascade control will be ignored
trigger_mode_1: boolTrigger mode, identical to Self::trigger_mode_0 but for Cascade 1
enable_stop_src_2: boolEnable Cascade 2 signal active as a requirement to stop counting. This mode is similar to the REQ_STOP control bit, but signalled by a Cascade source
inv_src_2: CascadeInvertInvert Cascade 2, making it active low
trigger_mode_2: boolThe counter is automatically disabled if the corresponding Cascade 2 level-sensitive input souce is active when the count reaches 0. If the counter is not 0, the cascade control is ignored
Trait Implementations§
Source§impl Clone for CascadeControl
impl Clone for CascadeControl
Source§fn clone(&self) -> CascadeControl
fn clone(&self) -> CascadeControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more