X-Git-Url: http://rtime.felk.cvut.cz/gitweb/fpga/lx-cpu1/lx-rocon.git/blobdiff_plain/847043ee2041db202831013c1a4aa6dfbdeb1fdf..af9a5829910669517ef953bf8988c35851ed76b0:/hw/lx-rocon_firmware/pxmcc_types.h diff --git a/hw/lx-rocon_firmware/pxmcc_types.h b/hw/lx-rocon_firmware/pxmcc_types.h index 7228705..afad06c 100644 --- a/hw/lx-rocon_firmware/pxmcc_types.h +++ b/hw/lx-rocon_firmware/pxmcc_types.h @@ -56,10 +56,11 @@ typedef struct pxmcc_axis_data_t { uint32_t out_info; /* output index */ uint32_t pwmtx_info; /* offsets of pwm1 .. pwm4 from FPGA_LX_MASTER_TX */ uint32_t pwm_prew[4]; - uint32_t steps_lim; /* master selected final value to limit automatic steps */ - uint32_t steps_cnt; /* PXMCC counter - when reaches steps_lim then stops */ uint32_t steps_inc; /* increments for selfgenerated stepper motor */ uint32_t steps_pos; /* self generated position for stepper motor */ + uint32_t steps_sqn_next; /* when to apply steps_inc_next */ + uint32_t steps_inc_next; /* increment to apply at steps_sqn_next */ + uint32_t steps_pos_next; /* base position to apply at steps_sqn_next */ } pxmcc_axis_data_t; typedef struct pxmcc_curadc_data_t {