1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| #ifndef _OTHER_FUN_H_
| #define _OTHER_FUN_H_
|
| #include "define_all.h"
|
|
| /****ÆäËûÁãÉ¢¹¦ÄÜ·ÅÔÚÕâÀï´¦Àí****/
|
| //¿ª¸Ç¼ì²â
| #define UNCAP_PORT GPIOD
| #define UNCAP_PIN GPIO_Pin_1
|
| #define UNCAP_IO_READ GPIO_ReadInputDataBit(UNCAP_PORT, UNCAP_PIN)
|
|
| //´Å¸ÉÈżì²â
| #define MAGNETIC_INTERFERENCE_PORT GPIOG
| #define MAGNETIC_INTERFERENCE_PIN GPIO_Pin_7
|
| #define MAGNETIC_INTERFERENCE_IO_READ GPIO_ReadInputDataBit(MAGNETIC_INTERFERENCE_PORT, MAGNETIC_INTERFERENCE_PIN)
|
|
|
| void OtherFunPro(void);
|
|
|
| #endif
|
|