STM MATLAB Simulator
Loading...
Searching...
No Matches
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 */
25void SFUNC_to_GPIO(real_T* out_buff);
26/* Функция для считывания входов S-Function в МК */
27void GPIO_to_SFUNC(real_T* in);
28
29/** GPIO_SIMULATOR
30 * @}
31 */
32#endif // _MATLAB_GPIO_H_
void SFUNC_to_GPIO(real_T *out_buff)
Считывание входов S-Function в МК.
void GPIO_to_SFUNC(real_T *in)
Запись буфера выходов S-Function из GPIO.
Заголовочный файл для оболочки МК.