Set GPIO pin status
Embedded Coder Support Package for STMicroelectronics Discovery Boards/STM32F4-Discovery
Set the logical value of a digital pin of the STM32F4 -Discovery™ board.
expand all
Port_1
The input port to set the GPIO pin status.
Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | fixed point | enumerated | bus
single
double
int8
int16
int32
uint8
uint16
uint32
Boolean
fixed point
enumerated
bus
GPIO port
Select one of GPIOA to GPIOI ports to set a GPIO pin status.
Pin number
Select a GPIO pin to write the logical status.
Initially set GPIO pin
Select this option to set the GPIO pin status during model initialization.
Toggle pin when input is true
Select this option to enable GPIO pin toggling when the input is ‘true’.
Demonstrates how to use the Embedded Coder Support Package for STMicroelectronics Discovery Boards to run a Simulink® model on an STMicroelectronics STM32F4-Discovery, STM32F746G-Discovery, or STM32F769I-Discovery board.
Use the GPIO blocks in the STMicroelectronics STM32F4-Discovery library to control the push-button and the LED's on the STMicroelectronics STM32F4-Discovery board.
Model the ITU-T G.729 Voice Activity Detector (VAD) algorithm and run it on the ARM® Cortex-M based STMicroelectronics® STM32 Discovery boards.
Model asynchronous scheduling using the Hardware Interrupt block for the STMicroelectronics STM32F4-Discovery board.
Analog to Digital Converter | GPIO Read