Compare commits
No commits in common. "d464506c32a0b8bbce8692cc3ab6dee37addcb20" and "8d7afff1c37583c226be78c0c1bb503fb7173378" have entirely different histories.
d464506c32
...
8d7afff1c3
@ -8,7 +8,6 @@
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
#include "stm32f4xx_matlab_gpio.h"
|
#include "stm32f4xx_matlab_gpio.h"
|
||||||
#include "modbus.h"
|
#include "modbus.h"
|
||||||
#include "pwm.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Запись буфера выходов S-Function из GPIO.
|
* @brief Запись буфера выходов S-Function из GPIO.
|
||||||
@ -80,6 +79,4 @@ void SFUNC_to_GPIO(real_T* in)
|
|||||||
{
|
{
|
||||||
MB_Reset_Coil_Local(coils_regs, COIL_PWM_PHASE_MODE);
|
MB_Reset_Coil_Local(coils_regs, COIL_PWM_PHASE_MODE);
|
||||||
}
|
}
|
||||||
hpwm.PWM_Sine_Hz = in[i++];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@
|
|||||||
#define PORT_NUMB 3 ///< amount of ports
|
#define PORT_NUMB 3 ///< amount of ports
|
||||||
// Parameters of S_Function
|
// Parameters of S_Function
|
||||||
#define NPARAMS 1 ///< number of input parametrs (only Ts)
|
#define NPARAMS 1 ///< number of input parametrs (only Ts)
|
||||||
#define IN_PORT_WIDTH (10) ///< width of input ports
|
#define IN_PORT_WIDTH (9) ///< width of input ports
|
||||||
#define IN_PORT_NUMB 1 ///< number of input ports
|
#define IN_PORT_NUMB 1 ///< number of input ports
|
||||||
#define OUT_PORT_WIDTH PORT_WIDTH ///< width of output ports
|
#define OUT_PORT_WIDTH PORT_WIDTH ///< width of output ports
|
||||||
#define OUT_PORT_NUMB PORT_NUMB ///< number of output ports
|
#define OUT_PORT_NUMB PORT_NUMB ///< number of output ports
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user