]> rtime.felk.cvut.cz Git - mirosot.git/blobdiff - bluetooth/h2638_pkt_controll.c
Comments translated to english
[mirosot.git] / bluetooth / h2638_pkt_controll.c
index 0793d34e5f6136582a0d054c2e398e122567aee0..20463825079de7bdb71e62765f934d2d82c34230 100644 (file)
@@ -19,7 +19,7 @@
 long int timer;
 
 /**
- * obsluha preruseni, inkrementuje promennou timer a blika diodami
+ * interrupt hanlder, increments the timer variable and blinks LEDs
  */
 void bth_inruppt_pkt_controll(void) __attribute__ ((interrupt_handler));
 
@@ -39,7 +39,7 @@ void bth_inruppt_pkt_controll(void)
 
 
 /**
- * spusteni TPU casovace kanalu 1
+ * Starts TPU channel 1
 */
 void bth_start_TPU_counter(void)
 {
@@ -48,7 +48,7 @@ void bth_start_TPU_counter(void)
 
 
 /**
- * zastaveni TPU casovace kanalu 1
+ * Stop TPU 1
  */
 void bth_stop_TPU_counter(void)
 {
@@ -57,7 +57,7 @@ void bth_stop_TPU_counter(void)
 
 
 /**
- * vynulovani TPU casovace kanalu 1
+ * Reset TPU 1
  */
 void bth_clear_TPU_counter(void)
 {
@@ -66,7 +66,7 @@ void bth_clear_TPU_counter(void)
 
 
 /**
- * funkce vraci pocet presuseni casovace
+ * Returns the number of timer interrupts
  */
 long int bth_get_timer(void)
 {
@@ -74,7 +74,7 @@ long int bth_get_timer(void)
 };
 
 /**
- * nulovani poctu preruseni casovace
+ * Zeroes the timer variable
  */
 void bth_nul_timer(void)
 {
@@ -83,7 +83,7 @@ void bth_nul_timer(void)
 
 
 /**
- * inicializace casovace - HW 1-preteceni citace; 2-Dosazeni citace hodnoty TIER1_TGIEAm
+ * Timer initialization - HW 1-timer overflow; 2-???Dosazeni citace hodnoty TIER1_TGIEAm
  */
 void bth_init_pkt_controll(void)
 {