mfxstm32l152_IO_Config() is only used within mfxstm32l152.
 
Symbols
loading...
Files
loading...

mfxstm32l152_IO_Config() function

Configures the IO pin(s) according to IO mode structure value.

Syntax

uint8_t mfxstm32l152_IO_Config(uint16_t DeviceAddr,     uint32_t IO_Pin,     IO_ModeTypedef IO_Mode);
Implemented in mfxstm32l152.c:516

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

References

LocationText
mfxstm32l152.c:516
uint8_t mfxstm32l152_IO_Config(uint16_t DeviceAddr, uint32_t IO_Pin, IO_ModeTypedef IO_Mode)
mfxstm32l152.h:546
uint8_t mfxstm32l152_IO_Config(uint16_t DeviceAddr, uint32_t IO_Pin, IO_ModeTypedef IO_Mode);
mfxstm32l152.c:85
mfxstm32l152_IO_Config,

Call Tree

Implementations
mfxstm32l152_IO_Config()
all items filtered out
Type of mfxstm32l152_IO_Config()
mfxstm32l152_IO_Config()
uint8_t
all items filtered out