2022-09-23 17:39:41 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
enum class SyncEdge : uint8_t {
|
2022-09-25 15:49:54 -07:00
|
|
|
Rise, // Sync on rising edges, use rise+fall for phase info
|
|
|
|
Fall, // Sync on falling edges, use rise+fall for phase info
|
2022-11-16 09:18:34 -08:00
|
|
|
// VR or lazy Hall
|
2022-09-25 15:49:54 -07:00
|
|
|
RiseOnly, // Completely ignore all falling edges (this used to be useOnlyRisingEdgeForTrigger=true etc)
|
2022-11-16 09:18:34 -08:00
|
|
|
// nicer Hall
|
2022-09-25 15:49:54 -07:00
|
|
|
Both // Sync on both edges, use both for phase
|
2022-09-23 17:39:41 -07:00
|
|
|
};
|