STM MATLAB Simulator
Loading...
Searching...
No Matches
MCU_STM32F4xx_Matlab
Drivers
STM32F4xx_SIMULINK
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 */
17
void
SFUNC_to_GPIO
(real_T* disc);
18
/* Функция для считывания входов S-Function в МК */
19
void
GPIO_to_SFUNC
(real_T* in);
20
24
#endif
// _MATLAB_GPIO_H_
GPIO_to_SFUNC
void GPIO_to_SFUNC(real_T *in)
Write S-Function disc ports from MCU GPIOs.
Definition
stm32f4xx_matlab_gpio.c:10
SFUNC_to_GPIO
void SFUNC_to_GPIO(real_T *disc)
Write S-Function inputs to MCU.
Definition
stm32f4xx_matlab_gpio.c:37
mcu_wrapper_conf.h
Generated by
1.10.0