| 
    STM MATLAB Simulator
    
   | 
 
Заголовочный файл для оболочки МК. More...
 Include dependency graph for mcu_wrapper_conf.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | SIM__MCUHandleTypeDef | 
| MCU handle Structure definition.  More... | |
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   | |
| #define | while(_expression_) sim_while(_expression_) | 
| Redefine C while statement with sim_while() macro.   | |
| #define | sim_while(_expression_) while((_expression_)&&(hmcu.fMCU_Stop == 0)) | 
| While statement for emulate MCU code in Simulink.   | |
| #define | native_while(_expression_) for(; (_expression_); ) | 
| Default/Native C while statement.   | |
Typedefs | |
| typedef void * | HANDLE | 
| MCU handle typedef.   | |
Functions | |
| void | MCU_Step_Simulation (SimStruct *S, time_T time) | 
| Симуляция МК на один такт симуляции.   | |
| void | MCU_Periph_Simulation (void) | 
| Симуляция периферии МК   | |
| void | SIM_Initialize_Simulation (void) | 
| Инициализация симуляции МК.   | |
| void | SIM_deInitialize_Simulation (void) | 
| Деинициализация симуляции МК.   | |
| void | MCU_readInputs (SimStruct *S) | 
| Считывание входов S-Function в порты ввода-вывода.   | |
| void | MCU_writeOutputs (SimStruct *S) | 
| Запись портов ввода-вывода в буфер выхода S-Function.   | |
| void | SIM_writeOutput (SimStruct *S) | 
Variables | |
| SIM__MCUHandleTypeDef | hmcu | 
| Хендл для управления потоком программы МК   | |
Заголовочный файл для оболочки МК.
Главный заголовочный файл для матлаба. Включает дейфайны для S-Function, объявляет базовые функции для симуляции МК и подключает базовые библиотеки:
Definition in file mcu_wrapper_conf.h.