|
STM MATLAB Simulator
|
Configurations for wrapper to simulating MCU. More...
Collaboration diagram for WRAPPER_CONF:Macros | |
| #define | CREATE_SUSPENDED 0x00000004 |
| define from WinBase.h. We dont wanna include "Windows.h" or smth like this, because of HAL there are a lot of redefine errors. | |
| #define | DEKSTOP_CYCLES_FOR_MCU_APP 0xFFFF |
| number of for() cycles after which MCU thread would be suspended | |
| #define | PORT_WIDTH 16 |
| width of one port | |
| #define | PORT_NUMB 3 |
| amount of ports | |
| #define | NPARAMS 1 |
| number of input parametrs (only Ts) | |
| #define | IN_PORT_WIDTH (8) |
| width 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_NUMB PORT_NUMB |
| number of output ports | |
| #define | DISC_STATES_WIDTH PORT_WIDTH*PORT_NUMB |
| width of discrete states array | |
Configurations for wrapper to simulating MCU.
Здесь дефайнами задается параметры оболочки, которая управляет кодом МК
| #define CREATE_SUSPENDED 0x00000004 |
define from WinBase.h. We dont wanna include "Windows.h" or smth like this, because of HAL there are a lot of redefine errors.
| #define DEKSTOP_CYCLES_FOR_MCU_APP 0xFFFF |
number of for() cycles after which MCU thread would be suspended
| #define PORT_WIDTH 16 |
width of one port
| #define PORT_NUMB 3 |
amount of ports
| #define NPARAMS 1 |
number of input parametrs (only Ts)
| #define IN_PORT_WIDTH (8) |
width 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_NUMB PORT_NUMB |
number of output ports
| #define DISC_STATES_WIDTH PORT_WIDTH*PORT_NUMB |
width of discrete states array