yuhang zhu / Mbed 2 deprecated ADAM_menu

Dependencies:   mbed

Revision:
23:0b6901c9302c
Parent:
21:4d6b26eecdac
Child:
24:f8fea5e5bf73
diff -r 311523c6a152 -r 0b6901c9302c handlers.cpp
--- a/handlers.cpp	Sun Jul 21 06:19:30 2013 +0000
+++ b/handlers.cpp	Mon Jul 22 17:53:24 2013 +0000
@@ -1,7 +1,18 @@
-//The function mode_idle_handler converts character inputs to state information, which is used for later stages in main function
-//The function parse_phase checks data in the line buffer if it's good write the converted value into address adam_pha otherwise returns error code
-//The function parse_amp checks data in the line buffer if it's good write the converted value into address adam_amp otherwise returns error code
+/********************************************
+Function: void mode_idle_handler(int* state, char sel) 
+Function description:
+This function converts character inputs to state information, which is used for later stages in main function
 
+Function: int parse_phase(char* line_buf, char* adam_pha)
+Function description:
+This function checks data in the line buffer. If it's good then write the converted value into address adam_pha 
+otherwise it returns error code
+
+Function: int parse_amp(char* line_buf, char* adam_amp)
+Function description:
+This function checks data in the line buffer. If it's good then write the converted value into address adam_amp 
+otherwise it returns error code
+*********************************************/
 
 #include "parameters.h"