fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
91:a2bb81eaa183
Parent:
47:d902ef6f7564
Child:
92:c892f0311aa7
--- a/uart_m.c	Thu Mar 24 14:05:18 2016 +0000
+++ b/uart_m.c	Thu Mar 24 14:46:58 2016 +0000
@@ -47,8 +47,12 @@
 #define   UART_LCR_ODD  0x0b
 #define   UART_LCR_EVEN  0x1b
 
+
 int UART_LCR   =  UART_LCR_EVEN   ;
 
+
+
+
 char InCon[1024];
 char OutCon[1024];
 
@@ -216,6 +220,9 @@
 		LPC_UART3->FCR  = 	0x07;
 }
 
+
+
+
 void UART_InitSet (unsigned int Num,unsigned int Speed, unsigned int SetLsr)
 {
 	uint16_t usFdiv;
@@ -228,8 +235,8 @@
 		LPC_PINCON->PINSEL0 |= (1 << 4);             /* Pin P0.2 used as TXD0 (Com0) */
 		LPC_PINCON->PINSEL0 |= (1 << 6);             /* Pin P0.3 used as RXD0 (Com0) */
 		LPC_UART0->LCR  = 0x83;                      /* ����������               */
-	 //	LPC_UART0->FDR = 0x00000085; // c��  ��� LPC17xx-User-Manual_0[1].05 �� ���  311
-								 //���������� �� 8 �������� �� 5 
+	 //	LPC_UART0->FDR = 0x00000085; 				// c��  ��� LPC17xx-User-Manual_0[1].05 �� ���  311
+									 				//���������� �� 8 �������� �� 5 
 	//  	usFdiv = 4;
 		LPC_UART0->DLM  = usFdiv / 256;
 		LPC_UART0->DLL  = usFdiv % 256; 
@@ -277,6 +284,9 @@
 
 
 
+ 
+
+