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.
Dependents: mtsas mtsas mtsas mtsas
Terminal Class Reference
This class provides terminal style access to a serial interface on the processor. More...
#include <Terminal.h>
Public Member Functions | |
| Terminal (MTSBufferedIO *io) | |
| This constructs a Terminal object that connects the standard mbed USB serial inteface to the passed in serial interface. | |
| ~Terminal () | |
| Destructs an Terminal object and frees all created resources. | |
| void | start () |
| This starts the terminal functionality and is a blocking call until you send the exit sequence "emtech" through you terminal program, at which point this method returns. | |
Detailed Description
This class provides terminal style access to a serial interface on the processor.
This is done by seamlessly "connecting" the data traffic between the mbed debug interface, usually accessed through the USB port, and the serial interface in question. Once started you can also exit this mode by sending the appropraite exit sequence through your terminal program. This sequence is: emtech
Definition at line 19 of file Terminal.h.
Constructor & Destructor Documentation
| Terminal | ( | MTSBufferedIO * | io ) |
This constructs a Terminal object that connects the standard mbed USB serial inteface to the passed in serial interface.
In odrder for this class to function you must call the start method.
- Parameters:
-
io the serial interface to connect to the console as an MTSBufferedIO object.
Definition at line 7 of file Terminal.cpp.
| ~Terminal | ( | ) |
Destructs an Terminal object and frees all created resources.
Definition at line 12 of file Terminal.cpp.
Member Function Documentation
| void start | ( | ) |
This starts the terminal functionality and is a blocking call until you send the exit sequence "emtech" through you terminal program, at which point this method returns.
Definition at line 17 of file Terminal.cpp.
Generated on Tue Jul 12 2022 21:59:42 by
1.7.2