PROJ515 / Mbed 2 deprecated PROJ514-MASTER

Dependencies:   mbed mbed-rtos ShiftReg2 TextLCD

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Serial_Board.hpp Source File

Serial_Board.hpp

00001 #ifndef _SERIAL_Board_HPP_
00002 #define _SERIAL_Board_HPP_
00003 
00004 #include "mbed.h"
00005 #include "rtos.h" 
00006 
00007 #include "Serial_PC.hpp"
00008 
00009 class SERIAL_BOARD
00010 {
00011     public://Public member functions and variables
00012     
00013     SERIAL_BOARD();
00014     ~SERIAL_BOARD();
00015     void Init();
00016     int Post();
00017     void Main();
00018     //Public Functions
00019     
00020     
00021     private://Private member functions and variables
00022     int _POST_Value;
00023     int _Received_Data;
00024     int _Output_Data;
00025     
00026     //Mutex Locks
00027     Mutex _POST_Value_Mutex;
00028     Mutex _Received_Data_Mutex;
00029     Mutex _Output_Data_Mutex;
00030 };
00031 
00032 
00033 #endif //_SERIAL_BOARD_HPP_