forked from SZV10X_Software/SZV103_FM33A0xxEV_SiZhu

jinlicong
2024-06-14 d352b1982dc9b4fb2135c64cd909bb9cecc62139
Function/OTHER_FUN/other_fun.h
@@ -6,6 +6,12 @@
/****ÆäËûÁãÉ¢¹¦ÄÜ·ÅÔÚÕâÀï´¦Àí****/
//LEDµÆ
#define LED_ON      GPIO_ResetBits(GPIOD,GPIO_Pin_8)
#define LED_OFF      GPIO_SetBits(GPIOD,GPIO_Pin_8)
#define LED_TOG      GPIO_ToggleBits(GPIOD,GPIO_Pin_8)
//¿ª¸Ç¼ì²â
#define UNCAP_PORT    GPIOD
#define UNCAP_PIN    GPIO_Pin_1
@@ -20,9 +26,9 @@
#define   MAGNETIC_INTERFERENCE_IO_READ   GPIO_ReadInputDataBit(MAGNETIC_INTERFERENCE_PORT, MAGNETIC_INTERFERENCE_PIN)
void led_init(void);
void OtherFunPro(void);
#endif
#endif