Subversion Repositories NaviCtrl

Rev

Rev 480 | Rev 489 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 480 Rev 483
Line 6... Line 6...
6
 
6
 
7
#define LED_GRN_ON      {if(Led_Grn_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_SET);}
7
#define LED_GRN_ON      {if(Led_Grn_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_SET);}
8
#define LED_GRN_OFF {if(Led_Grn_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_RESET);}
8
#define LED_GRN_OFF {if(Led_Grn_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_RESET);}
Line 9... Line -...
9
#define LED_GRN_TOGGLE  if (GPIO_ReadBit(GPIO5, GPIO_Pin_6)) GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_SET);
-
 
10
 
9
#define LED_GRN_TOGGLE  if (GPIO_ReadBit(GPIO5, GPIO_Pin_6)) GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_6, Bit_SET);
11
 
10
 
-
 
11
#define LED_RED_ON_T // {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);}
-
 
12
#define LED_RED_OFF_T //  {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET);}
-
 
13
 
-
 
14
#define LED_RED_ON_Q    {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);}
Line 12... Line 15...
12
#define LED_RED_ON_T // {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);}
15
#define LED_RED_OFF_Q   {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET);}
13
#define LED_RED_OFF_T//   {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET);}
16
 
14
 
17
 
Line 15... Line 18...
15
#define LED_RED_ON      {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);}
18
#define LED_RED_ON //   {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET); else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);}
16
#define LED_RED_OFF {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET);}
19
#define LED_RED_OFF// {if(Led_Red_Inv) GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_SET);   else GPIO_WriteBit(GPIO5, GPIO_Pin_7, Bit_RESET);}