Commit c3ea4ce6 authored by Federico Vaga's avatar Federico Vaga

sw:fw: split enum actions in : send, recv

The mockturtle-framework initilize consecutive actions, here we are keeping
together firmware actions received and generated. To avoid trouble on
initialization it is good to have the first actions for reception and the last
for generation.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 21a26bcb
......@@ -94,16 +94,20 @@
enum wrtd_in_actions {
WRTD_IN_ACTION_SW_TRIG = 0,
__WRTD_IN_ACTION_MAX,
/* answers from firmware */
WRTD_IN_ACTION_LOG,
};
enum wrtd_out_actions {
WRTD_OUT_ACTION_SW_TRIG = 0,
WRTD_OUT_ACTION_TRIG_IDX,
WRTD_OUT_ACTION_TRIG_FRE,
WRTD_OUT_ACTION_TRIG_ADD,
WRTD_OUT_ACTION_TRIG_DEL,
WRTD_OUT_ACTION_LOG,
WRTD_OUT_ACTION_DISABLE,
__WRTD_OUT_ACTION_MAX,
/* answers from firmware */
WRTD_OUT_ACTION_LOG,
WRTD_OUT_ACTION_TRIG_FRE,
};
enum wrtd_in_variables_indexes {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment