mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-07 00:59:00 +08:00
[Bsp][STM32F10x-HAL]优化GPIO驱动减小Flash占用
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -12,14 +12,7 @@
|
||||
* 2015-01-05 Bernard the first version
|
||||
* 2017-11-35 ZYH update to 3.0.0
|
||||
*/
|
||||
#ifndef GPIO_H__
|
||||
#define GPIO_H__
|
||||
struct stm32_hw_pin_userdata
|
||||
{
|
||||
int pin;
|
||||
uint32_t mode;
|
||||
};
|
||||
#define PIN_USERDATA_END {-1,0}
|
||||
extern struct stm32_hw_pin_userdata stm32_pins[];
|
||||
int rt_hw_pin_init(void);
|
||||
#ifndef __DRV_GPIO_H__
|
||||
#define __DRV_GPIO_H__
|
||||
extern int rt_hw_pin_init(void);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user