int main(void)
{
PINSEL_ConfigPin(0,21,0);
PINSEL_ConfigPin(2,21,0);
PINSEL_ConfigPin(3,17,0);
PINSEL_ConfigPin(3,21,0);
GPIO_SetDir ( 0 , (1<<21) , 1) ;
GPIO_SetDir ( 2 , (1<<21) , 1) ;
GPIO_SetDir ( 3 , (1<<17) , 1) ;
GPIO_SetDir ( 3 , (1<<21) , 1) ;
while(1)
{
FIO_SetValue( 0 , (1<<21));
FIO_SetValue( 2 , (1<<21));
FIO_SetValue( 3 , (1<<17));
FIO_SetValue( 3 , (1<<21));
Delay(0xfffff);
Delay(0xfffff);
FIO_ClearValue( 0 ,(1<< 21) ) ;
FIO_ClearValue( 2 ,(1<< 21) ) ;
FIO_ClearValue( 3 ,(1<< 17) ) ;
FIO_ClearValue( 3 ,(1<< 21) ) ;
Delay(0xfffff);
Delay(0xfffff);
};
}