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.
Fork of WncControllerLibrary by
Diff: WncControllerK64F.h
- Revision:
- 2:30d78cda6779
- Parent:
- 1:ac2de545b981
diff -r ac2de545b981 -r 30d78cda6779 WncControllerK64F.h
--- a/WncControllerK64F.h Thu Sep 01 02:28:10 2016 +0000
+++ b/WncControllerK64F.h Thu Sep 01 22:28:10 2016 +0000
@@ -71,6 +71,22 @@
*/
WncControllerK64F(struct WncGpioPinListK64F * pPins, MODSERIAL * wnc_uart, MODSERIAL * debug_uart = NULL);
+ /**
+ * \brief Activates a mode where the user can send text to and from the K64F
+ * debug Serial port directly to the WNC.
+ *
+ * \param [in] echoOn - set to true to enable terminal echo
+ *
+ * \return true - if terminal mode was successfully entered and exited.
+ *
+ * \details Activates a mode where the user can send text to and from the K64F
+ * debug Serial port directly to the WNC. The mode is entered via this
+ * call. The mode is exited when the user types CTRL-Q. While in this
+ * mode all text to and from the WNC is consumed by the debug Serial port.
+ * No other methods in the class will receive any of the WNC output.
+ */
+ bool enterWncTerminalMode(bool echoOn);
+
private:
// Disallow copy
