X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/rpi-motor-control.git/blobdiff_plain/f8c0bc5de5211c44f8a9c97ef9dfbdf99644be5d..8945272802e6d9bdd317bced4aba96d7ca442e9b:/pmsm-control/test_sw/rp_spi.h diff --git a/pmsm-control/test_sw/rp_spi.h b/pmsm-control/test_sw/rp_spi.h index 999d7b3..7d2dd7f 100644 --- a/pmsm-control/test_sw/rp_spi.h +++ b/pmsm-control/test_sw/rp_spi.h @@ -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]; }; /**