Subversion Repositories NaviCtrl

Rev

Rev 483 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 483 Rev 489
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 -... Line 9...
-
 
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);
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
 
10
 
11
 
Line 11... Line 12...
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_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);}
-
 
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);}
-
 
16
 
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);}
17
 
14
 
Line 18... Line 15...
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);}
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);}
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);}
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);}