6 #include <stdint.h> /*uint32_t*/
9 * \brief Struktura pro prichozi data z fpga.
12 signed long int pozice; /*continue with normal size and test it..*/
13 uint32_t pozice_raw; /*with offset*/
14 uint32_t ch0, ch1, ch2;
15 int8_t hal1,hal2,hal3; /* bool values */
16 int8_t en1, en2, en3; /*(bool)last read pwm-enable values - !they are changed after reading ! */
17 int8_t shdn1,shdn2,shdn3; /*(bool)last read shutdown values - !they are changed after reading ! */
18 uint16_t adc_m_count; /*current measurments count*/
20 uint16_t index_position; /* raw position of irc_i */
24 * \brief Testovaci funkce.
29 * \brief Inicializace pro spi.
34 * \brief Uzavreni spi.
36 void spi_disable(void);
38 struct rpi_in spi_read(uint8_t *);