/* Initialize GPIO pin(s) as analog input. Must be called separately for each port. Does not initialize the ADC itself. Must be initialized separately.  */
void analog_gpio_init(GPIO_TypeDef *GPIOx, uint32_t pin_mask)
/* Initialize GPIO pin(s) as analog input. Must be called separately for each port. Does not initialize the ADC itself. Must be initialized separately.  */
void analog_gpio_init(GPIO_TypeDef *GPIOx, uint32_t pin_mask)
{};
    GPIO_InitStruct.Pin = pin_mask;
    GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
    GPIO_InitStruct.Pull = GPIO_NOPULL;
    HAL_GPIO_Init(GPIOx, &GPIO_InitStruct);
}