#include "bsp/gpio.h" /* * gpio.c * all pins used as gpio(in/out/irq) must be init&accessed here */ void gpio_pin_init(void){ rcu_periph_clock_enable(RCU_GPIOA); rcu_periph_clock_enable(RCU_GPIOB); rcu_periph_clock_enable(RCU_GPIOC); rcu_periph_clock_enable(RCU_GPIOD); rcu_periph_clock_enable(RCU_GPIOF); rcu_periph_clock_enable(RCU_AF); }