...
Code Block |
---|
typedef struct { uint32_t Pin; /* GPIO pins to be configured */ uint32_t Mode; /* Operating mode for the selected pins */ uint32_t Pull; /* Pull-up or Pull-Down activation for the selected pins */ uint32_t Speed; /* Speed for the selected pins */ uint32_t Alternate;/* Peripheral to be connected to the selected pin */ } GPIO_InitTypeDef; |
FreeRTOS LED and Push-Button Tasks
The FreeRTOS demos application provides two threads illustrating use of the GPIO API from a FreeRTOS application. Specifically:
...