mfxstm32l152_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 MFXSTM32L152_GPIO_PIN_x: where x can be from 0 to 23.
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 @arg IO_MODE_INPUT_PU, @arg IO_MODE_INPUT_PD, @arg IO_MODE_OUTPUT_OD_PU, @arg IO_MODE_OUTPUT_OD_PD, @arg IO_MODE_OUTPUT_PP_PU, @arg IO_MODE_OUTPUT_PP_PD, @arg IO_MODE_IT_RISING_EDGE_PU @arg IO_MODE_IT_FALLING_EDGE_PU @arg IO_MODE_IT_LOW_LEVEL_PU @arg IO_MODE_IT_HIGH_LEVEL_PU @arg IO_MODE_IT_RISING_EDGE_PD @arg IO_MODE_IT_FALLING_EDGE_PD @arg IO_MODE_IT_LOW_LEVEL_PD @arg IO_MODE_IT_HIGH_LEVEL_PD
Return value
None