]> rtime.felk.cvut.cz Git - fpga/rpi-motor-control-pxmc.git/blob - src/app/rpi-pmsm-test1/appl_defs.h
RPi PXMC Test: extend application to work on Ti AM437x and Xilinx Zynq.
[fpga/rpi-motor-control-pxmc.git] / src / app / rpi-pmsm-test1 / appl_defs.h
1 #ifndef _TEST_LPC_H
2 #define _TEST_LPC_H
3
4 #ifdef __cplusplus
5 /*extern "C" {*/
6 #endif
7
8 #include "appl_config.h"
9
10 #ifdef CONFIG_APP_ROCON_WITH_SUITK
11 #define APPL_WITH_SUITK
12 #endif /*CONFIG_APP_ROCON_WITH_SUITK*/
13
14 #ifdef CONFIG_APP_RPI_PMSM_T1_WITH_ZYNQ_DRV
15 #define APPL_WITH_ZYNQ_DRV
16 #endif /*CONFIG_APP_RPI_PMSM_T1_WITH_ZYNQ_DRV*/
17
18 #ifdef CONFIG_APP_RPI_PMSM_T1_SETUP_CLKOUT
19 #define APPL_RPI_PMSM_SETUP_CLKOUT
20 #endif /*CONFIG_APP_RPI_PMSM_T1_SETUP_CLKOUT*/
21
22 #include <stdint.h>
23
24 /*
25 #define APPL_RUN_AT_MAIN_LOOP do { \
26    pxmc_coordmv_process(); \
27  } while(0)
28 */
29
30 int pxmc_initialize(void);
31
32 int pxmc_done(void);
33
34 #ifdef __cplusplus
35 /*}*/ /* extern "C"*/
36 #endif
37
38 #endif /* _TEST_LPC_H */
39