int log_col_count; /* number of log columns */
int log_col; /* current colimn */
char doLogs; /* schall we make logs? */
+
+ void (*main_commutator)(struct rpi_state*); /* primarni komutator */
+ void (*main_controller)(struct rpi_state*); /* primarni regulator */
};
-void freeLogs();
+/**
+ * Index OK.
+ */
+inline void setIndexOK(struct rpi_state*);
+
+/**
+ * Index Lost.
+ */
+inline void setIndexLost(struct rpi_state*);
+
+/**
+ * Turn commutation on.
+ */
+inline void setCommutationOn(struct rpi_state*);
+
+/**
+ * Turn commutation off.
+ */
+inline void setCommutationOff(struct rpi_state*);
#endif /*PMSM_STATE*/