Setting up simple analog i/o using STMCubeMX and HAL.