|
REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
mode.h
Go to the documentation of this file.
28 static constexpr uint8_t s_idle = 0, s_ic = 1, s_op = 2, s_exthalt = 3, s_end = 4, s_overload = 5,
31 static constexpr uint8_t t_sync_clk = 0, t_sync_trigger = 1, t_ic = 2, t_ic_second = 3, t_op = 4,
34 static_assert(t_sync_clk <= 7 and t_sync_trigger <= 7 and t_ic <= 7 and t_op <= 7 and t_op_second <= 7 and
37 static_assert(all_unique(std::make_tuple(t_sync_clk, t_sync_trigger, t_ic, t_ic_second, t_op, t_op_second,
Definition mode.h:24
static unsigned long long get_actual_op_time()
Definition mode.cpp:458
static bool init(unsigned long long ic_time_ns, unsigned long long op_time_ns, mode::OnOverload on_overload=mode::OnOverload::HALT, mode::OnExtHalt on_ext_halt=mode::OnExtHalt::IGNORE, SyncConfig sync_config={})
Definition mode.cpp:95