stmpe811_IO_Config() function
Configures the IO pin(s) according to IO mode structure value.
Arguments
DeviceAddr
Device address on communication Bus.
IO_Pin
The output pin to be set or reset. This parameter can be one of the following values: @arg STMPE811_PIN_x: where x can be from 0 to 7.
IO_Mode
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
Return value
0 if no error, IO_Mode if error