Subversion Repositories NaviCtrl

Rev

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

Rev 190 Rev 196
Line 129... Line 129...
129
        // GPIO_DeInit(P0.1);
129
        // GPIO_DeInit(P0.1);
130
        GPIO_StructInit(&GPIO_InitStructure);
130
        GPIO_StructInit(&GPIO_InitStructure);
131
        GPIO_InitStructure.GPIO_Direction = GPIO_PinOutput;
131
        GPIO_InitStructure.GPIO_Direction = GPIO_PinOutput;
132
        GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1;
132
        GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1;
133
        GPIO_InitStructure.GPIO_Type = GPIO_Type_PushPull ;
133
        GPIO_InitStructure.GPIO_Type = GPIO_Type_PushPull ;
134
        GPIO_InitStructure.GPIO_IPConnected=GPIO_IPConnected_Enable;
134
        GPIO_InitStructure.GPIO_IPInputConnected = GPIO_IPInputConnected_Enable;
135
        GPIO_InitStructure.GPIO_Alternate=GPIO_OutputAlt1;
135
        GPIO_InitStructure.GPIO_Alternate=GPIO_OutputAlt1;
136
        GPIO_Init (GPIO0, &GPIO_InitStructure);
136
        GPIO_Init (GPIO0, &GPIO_InitStructure);
Line 137... Line 137...
137
 
137
 
138
        // initialize txd buffer
138
        // initialize txd buffer