Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos ShiftReg2 TextLCD
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_
Generated on Sun Jul 17 2022 08:28:43 by
1.7.2