fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
21:bc8c1cec3da6
Parent:
0:8ad47e2b6f00
Child:
28:1c9acd3b224d
--- a/Parameters.h	Tue Feb 02 17:14:25 2016 +0000
+++ b/Parameters.h	Wed Feb 03 07:19:30 2016 +0000
@@ -4,29 +4,29 @@
 *        Constants for the uHost card                  *
 ********************************************************/
 /*r.****************************************************
-*        ��������� ��� ����� uHost                     *
+*        Константы для платы uHost                     *
 ********************************************************/
 /*e.  file for the C code                              */
-/*r.  ���� ��� ���� �� �                               */
+/*r.  файл для кода на С                               */
 
-#define FIRMWARE_VER	 0x00			 //e. firmware version number //r. ����� ������ ��������������
+#define FIRMWARE_VER	 0x00			 //e. firmware version number //r. номер версии микропрограммы
 
-	        //e. ====================== registers of the system controller of the DSP card ================ //r. ====================== �������� ���������� ����������� ����� DSP ================
-#define  Sys_RgE         0x07fb          //e. the line1_err register of line errors  //r. ������� ������ ����� line1_err  
-#define  Sys_RgR         0x07fc          //e. the register of a mode of the system (only write) //r. ������� ������ ������� (������ ������)  
-#define  Sys_RgS         0x07fc          //e. the register of a status of the system (only read) //r. ������� ������� ������� (������ ������)  
-#define  Trm_data        0x07fd          //e. the data stack of the transmitter //r. ���� ������ �����������  
-#define  Rcv_data        0x07fd          //e. the data stack of the receiver //r. ���� ������ ���������  
-#define  Rcv_cntr        0x07fe          //e. the counter of the received bytes //r. ������� �������� ���� ���������  
+	        //e. ====================== registers of the system controller of the DSP card ================ //r. ====================== регистры системного контроллера платы DSP ================
+#define  Sys_RgE         0x07fb          //e. the line1_err register of line errors  //r. регистр ошибок линии line1_err  
+#define  Sys_RgR         0x07fc          //e. the register of a mode of the system (only write) //r. регистр режима системы (только запись)  
+#define  Sys_RgS         0x07fc          //e. the register of a status of the system (only read) //r. регистр статуса системы (только чтение)  
+#define  Trm_data        0x07fd          //e. the data stack of the transmitter //r. стек данных передатчика  
+#define  Rcv_data        0x07fd          //e. the data stack of the receiver //r. стек данных приемника  
+#define  Rcv_cntr        0x07fe          //e. the counter of the received bytes //r. счетчик принятых байт приемника  
 
-        //e. ====================== bits of the Sys_RgS status register ========================= //r. ====================== ���� �������� ��������� Sys_RgS =========================
-#define  RCV_RDY_MASK    0x0040          //e. a mask of the readiness bit of the receiver //r. ����� ���� ���������� ���������  
-#define  RCV_FERR_MASK   0x0020          //e. a mask of the "format error" bit //r. ����� ���� "������ �������" 
-#define  RCV_TOUT_MASK   0x0010          //e. a mask of the "time-out" bit //r. ����� ���� "����-���" 
-#define  RCV_RFUL_MASK   0x0008          //e. a mask of the "stack is full" bit//r. ����� ���� "���� �����"  
-#define  RCV_FERR        0x0020          //e. a mask of the "format error" bit //r. ����� ���� "������ �������" 
-#define  RCV_TOUT        0x0010          //e. a mask of the "time-out" bit //r. ����� ���� "����-���" 
-#define  RCV_RFUL        0x0008          //e. a mask of the "stack is full" bit//r. ����� ���� "���� �����"  
+        //e. ====================== bits of the Sys_RgS status register ========================= //r. ====================== биты регистра состояния Sys_RgS =========================
+#define  RCV_RDY_MASK    0x0040          //e. a mask of the readiness bit of the receiver //r. маска бита готовности приемника  
+#define  RCV_FERR_MASK   0x0020          //e. a mask of the "format error" bit //r. маска бита "ошибка формата" 
+#define  RCV_TOUT_MASK   0x0010          //e. a mask of the "time-out" bit //r. маска бита "тайм-аут" 
+#define  RCV_RFUL_MASK   0x0008          //e. a mask of the "stack is full" bit//r. маска бита "стек полон"  
+#define  RCV_FERR        0x0020          //e. a mask of the "format error" bit //r. маска бита "ошибка формата" 
+#define  RCV_TOUT        0x0010          //e. a mask of the "time-out" bit //r. маска бита "тайм-аут" 
+#define  RCV_RFUL        0x0008          //e. a mask of the "stack is full" bit//r. маска бита "стек полон"  
 
 #define INT_ERR_TC		0x00000008 
 
@@ -35,9 +35,9 @@
 
 
 
+
 #define  SetV1 LPC_GPIO1->FIOSET=(1<<25);
 #define  ClrV1 LPC_GPIO1->FIOCLR = (1<<25);
-
 #define  SetV2 LPC_GPIO1->FIOSET = (1<<28);
 #define  ClrV2 LPC_GPIO1->FIOCLR = (1<<28);
 #define  LoopOn  LPC_GPIO1->FIOSET  = (1<<30);	
@@ -55,4 +55,3 @@
 void init_DefaultParam(void);
 #endif
 
-