Subversion Repositories NaviCtrl

Rev

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

Rev 195 Rev 196
Line 198... Line 198...
198
        /*Configure UART1_Rx pin GPIO3.2*/
198
        /*Configure UART1_Rx pin GPIO3.2*/
199
        GPIO_StructInit(&GPIO_InitStructure);
199
        GPIO_StructInit(&GPIO_InitStructure);
200
        GPIO_InitStructure.GPIO_Direction =     GPIO_PinInput;
200
        GPIO_InitStructure.GPIO_Direction =     GPIO_PinInput;
201
        GPIO_InitStructure.GPIO_Pin =                   GPIO_Pin_2;
201
        GPIO_InitStructure.GPIO_Pin =                   GPIO_Pin_2;
202
        GPIO_InitStructure.GPIO_Type =                  GPIO_Type_PushPull;
202
        GPIO_InitStructure.GPIO_Type =                  GPIO_Type_PushPull;
203
        GPIO_InitStructure.GPIO_IPConnected =   GPIO_IPConnected_Enable;
203
        GPIO_InitStructure.GPIO_IPInputConnected =      GPIO_IPInputConnected_Enable;
204
        GPIO_InitStructure.GPIO_Alternate =     GPIO_InputAlt1; // UART1_RxD
204
        GPIO_InitStructure.GPIO_Alternate =     GPIO_InputAlt1; // UART1_RxD
205
        GPIO_Init(GPIO3, &GPIO_InitStructure);
205
        GPIO_Init(GPIO3, &GPIO_InitStructure);
Line 206... Line 206...
206
 
206
 
207
        /*Configure UART1_Tx pin GPIO3.3*/
207
        /*Configure UART1_Tx pin GPIO3.3*/