[stm32] Added *DECLS in stm32/common/gpio_common_all.h and stm32/l1/rcc.h
This commit is contained in:
parent
93f2b1ad5b
commit
af8c5a85d6
|
@ -60,6 +60,8 @@
|
|||
#define GPIO_ALL 0xffff
|
||||
/**@}*/
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void gpio_set(u32 gpioport, u16 gpios);
|
||||
void gpio_clear(u32 gpioport, u16 gpios);
|
||||
u16 gpio_get(u32 gpioport, u16 gpios);
|
||||
|
@ -68,6 +70,8 @@ u16 gpio_port_read(u32 gpioport);
|
|||
void gpio_port_write(u32 gpioport, u16 data);
|
||||
void gpio_port_config_lock(u32 gpioport, u16 gpios);
|
||||
|
||||
END_DECLS
|
||||
|
||||
/**@}*/
|
||||
#endif
|
||||
|
||||
|
|
|
@ -418,6 +418,8 @@ typedef enum {
|
|||
PLL, HSE, HSI, MSI, LSE, LSI
|
||||
} osc_t;
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void rcc_osc_ready_int_clear(osc_t osc);
|
||||
void rcc_osc_ready_int_enable(osc_t osc);
|
||||
void rcc_osc_ready_int_disable(osc_t osc);
|
||||
|
@ -452,6 +454,8 @@ void rcc_clock_setup_hsi(const clock_scale_t *clock);
|
|||
void rcc_clock_setup_pll(const clock_scale_t *clock);
|
||||
void rcc_backupdomain_reset(void);
|
||||
|
||||
END_DECLS
|
||||
|
||||
/**@}*/
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue