[stm32f1] gpio_setup_pin_af with uint16_t for af