Functions | |
void | Error_Handler (void) |
This function is executed in case of error occurrence. | |
static void | BSP_GPIOStruct_DefaultConfig (GPIO_InitTypeDef *GPIO_InitStruct, uint32_t pin, uint32_t mode, uint32_t alternate) |
Configure the GPIO struct with default values. | |
static void | BSP_GPIOStruct_IOConfig (GPIO_InitTypeDef *GPIO_InitStruct, uint32_t pin, uint32_t mode, uint32_t speed) |
Configure the GPIO struct as IO. | |
|
inlinestatic |
GPIO_InitStruct | struct |
pin | Specifies the GPIO pins to be configured. This parameter can be any value of GPIO_pins_define. |
mode | Specifies the operating mode for the selected pins. This parameter can be a value of GPIO_mode_define. |
alternate | Peripheral to be connected to the selected pins. This parameter can be a value of GPIO_Alternate_function_selection. |
|
inlinestatic |
GPIO_InitStruct | struct |
pin | Specifies the GPIO pins to be configured. This parameter can be any value of GPIO_pins_define. |
mode | Specifies the operating mode for the selected pins. This parameter can be a value of GPIO_mode_define. |
speed | Specifies the speed for the selected pins. This parameter can be a value of GPIO_speed_define. |