Hello, I have one question: Is it possible to deinit one pin instead of whole port? I have STM8S00F3 and ST Visual Develop.
" Is it possible to deinit one pin instead of whole port?"
the answer depends on your or your toolchain's definition of "deinit".
Yes. It is very simple by using HAL driver. See example how to do it. .../STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/main.c I'll add. To deinitialize a single port pin, use the function with GPIO_Init(...) with mode GPIO_MODE_IN_FL_NO_IT. It is equivalent to deinit. I wish you success.
Retrieving data ...