STM MATLAB Simulator
Loading...
Searching...
No Matches
stm32f4xx_matlab_gpio.h
Go to the documentation of this file.
1#ifndef _MATLAB_GPIO_H_
2#define _MATLAB_GPIO_H_
3
4#include "stm32f4xx_hal.h"
5#include "simstruc.h"
6#include "mcu_wrapper_conf.h"
7
16/* Функция для записи дискретных выходов S-Function из GPIO */
17void SFUNC_to_GPIO(real_T* disc);
18/* Функция для считывания входов S-Function в МК */
19void GPIO_to_SFUNC(real_T* in);
20
24#endif // _MATLAB_GPIO_H_
void GPIO_to_SFUNC(real_T *in)
Write S-Function disc ports from MCU GPIOs.
Definition stm32f4xx_matlab_gpio.c:10
void SFUNC_to_GPIO(real_T *disc)
Write S-Function inputs to MCU.
Definition stm32f4xx_matlab_gpio.c:37