forked from SZV10X_Software/SZV103_FM33A0xxEV_SiZhu

jinlicong
2024-05-29 6c7e61a54ef9b96f79704f0b965664e89f57dd52
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,7 +26,7 @@
#define   MAGNETIC_INTERFERENCE_IO_READ   GPIO_ReadInputDataBit(MAGNETIC_INTERFERENCE_PORT, MAGNETIC_INTERFERENCE_PIN)
void led_init(void);
void OtherFunPro(void);