HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
GPIO output handling. More...
Functions | |
FctERR | GPIO_out_init (GPIO_out *const out, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState polarity) |
Initialize GPIO_out instance. | |
GPIO output handling.
FctERR GPIO_out_init | ( | GPIO_out *const | out, |
GPIO_TypeDef *const | GPIOx, | ||
const uint16_t | GPIO_Pin, | ||
const GPIO_PinState | polarity ) |
Initialize GPIO_out instance.
[in,out] | out | - GPIO_out instance to initialize |
[in] | GPIOx | - port to write to |
[in] | GPIO_Pin | - pin to write to |
[in] | polarity | - set to GPIO_PIN_RESET if active state is GND, GPIO_PIN_SET if Vdd |