STM MATLAB Simulator
Loading...
Searching...
No Matches
MCU_STM32F4xx_Matlab
STM32F4xx_SIMULINK
stm32f4xx_matlab_gpio.h
Go to the documentation of this file.
1
/**
2
**************************************************************************
3
* @file stm32f4xx_matlab_gpio.h
4
* @brief Заголовочный файл для симулятора портов.
5
**************************************************************************
6
@details
7
Данный файл содержит объявления всякого для симуляции портов STM32F407xx.
8
**************************************************************************/
9
#ifndef _MATLAB_GPIO_H_
10
#define _MATLAB_GPIO_H_
11
12
#include "stm32f4xx_hal.h"
13
#include "simstruc.h"
14
#include "
mcu_wrapper_conf.h
"
15
16
/**
17
* @addtogroup GPIO_SIMULATOR GPIO Simulator
18
* @ingroup MAIN_SIMULATOR
19
* @brief Симулятор для портов ввода-вывода
20
* @details Определяет взаимодействие портов МК и оболочки (S-Function)
21
* @{
22
*/
23
24
/* Функция для записи буфера выходов S-Function из GPIO */
25
void
SFUNC_to_GPIO
(real_T* out_buff);
26
/* Функция для считывания входов S-Function в МК */
27
void
GPIO_to_SFUNC
(real_T* in);
28
29
/** GPIO_SIMULATOR
30
* @}
31
*/
32
#endif
// _MATLAB_GPIO_H_
SFUNC_to_GPIO
void SFUNC_to_GPIO(real_T *out_buff)
Считывание входов S-Function в МК.
Definition
stm32f4xx_matlab_gpio.c:49
GPIO_to_SFUNC
void GPIO_to_SFUNC(real_T *in)
Запись буфера выходов S-Function из GPIO.
Definition
stm32f4xx_matlab_gpio.c:20
mcu_wrapper_conf.h
Заголовочный файл для оболочки МК.
Generated by
1.10.0