]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control.git/blobdiff - pmsm-control/test_sw/rp_spi.h
Sending unique measured current value was replaced by current accumulator. Now multip...
[fpga/rpi-motor-control.git] / pmsm-control / test_sw / rp_spi.h
index 999d7b344a74a42933dcacf10c1595f3c74b0408..448679130d2cc06b1aedfd0a919833ba7ae92055 100644 (file)
@@ -14,6 +14,7 @@ struct rpi_in{
        int8_t en1, en2, en3;           /*(bool)last read pwm-enable values - !they are changed after reading ! */
        int8_t shdn1,shdn2,shdn3;       /*(bool)last read shutdown values - !they are changed after reading ! */
        int8_t b54, b53, b52, b51, b50, b49, b48, b47, b46, b45, b44, b43, b42, b41, b40, b39, b38, b37, b36; /*bits for debug*/
+       uint16_t adc_m_count;           /*current measurments count*/
 };
 
 /**