]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control.git/blobdiff - pmsm-control/test_sw/rp_spi.h
Attemp to solve bug. ADC channels association should be pwm1-ch0 pwm2-ch1 pwm3-ch2...
[fpga/rpi-motor-control.git] / pmsm-control / test_sw / rp_spi.h
index 999d7b344a74a42933dcacf10c1595f3c74b0408..7d2dd7f3a1fc45f7d4d6bd6b9ba345f21e1d58e6 100644 (file)
@@ -14,6 +14,8 @@ 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*/
+       uint8_t debug_rx[16];
 };
 
 /**