Hardware manual

75
Function
void interupt_controller_and_output ()
Arguments
Description
The function is used to call pxms_do_con and pxms_do_out functions for all motors present on
the board. It's called by pxmc_sfi_isr during every sampling period.
Function
void interupt_generator ()
Arguments
Description
The function is used to call pxms_do_gen functions for all motors present on the board. It's called
by pxmc_sfi_isr during every sampling period.
Function
void interupt_dbg ()
Arguments
Description
The function used to call pxms_do_deb functions for all motors present on the board. It's called
by pxmc_sfi_isr during every sampling period.
Function
void index_mark_isr_1 ( void)
Arguments
void
no arguments
Description
This interrupt routine is used to set up PXMS_PHA_b flag for the first motor on index mark
detection. Function uses TPU for index mark detection. In general the function should work in
such manner, that it switch off itself when the second index mark occurs.