MCPcopy Create free account
hub / github.com/RustCV/RustCV / TriggerSource

Enum TriggerSource

rustcv-core/src/traits.rs:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64/// 触发源枚举
65#[derive(Debug, Clone, Copy, PartialEq, Eq)]
66pub enum TriggerSource {
67 /// 软件触发 (通过 API 调用触发)
68 Software,
69 /// 外部硬件线路 0 (GPIO / Opto-isolated Input)
70 Line0,
71 /// 外部硬件线路 1
72 Line1,
73 /// 外部硬件线路 2
74 Line2,
75 /// 外部硬件线路 3
76 Line3,
77}
78
79/// 触发极性/边缘枚举
80#[derive(Debug, Clone, Copy, PartialEq, Eq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected