BSP_IO_ConfigPin() function
Configures the IO pin(s) according to IO mode structure value.
Syntax
void BSP_IO_ConfigPin(uint16_t IoPin,
IO_ModeTypedef IoMode);
Arguments
IoPin
IO pin(s) to be configured. This parameter could be any combination of the following values: @arg STMPE811_PIN_x: where x can be from 0 to 7.
IoMode
The IO pin mode to configure, could be one of the following values: @arg IO_MODE_INPUT @arg IO_MODE_OUTPUT @arg IO_MODE_IT_RISING_EDGE @arg IO_MODE_IT_FALLING_EDGE @arg IO_MODE_IT_LOW_LEVEL @arg IO_MODE_IT_HIGH_LEVEL