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.
RMS_UART.cpp File Reference
Command for Mini-RMS <> RMS via UART. More...
Go to the source code of this file.
Functions | |
| void | Init_SerialDevice () |
| Initials bsp and interrupt of serial communication. | |
| void | RxMsgInterruptCallback () |
| Intertupt callback function. | |
| void | DoTheContent () |
| Fill serial data as in contents buffer. | |
| void | DoTheMsgCmd () |
| Fill serial data as in command buffer. | |
| void | CheckContentMsg () |
| Checking and processing contents data. | |
| void | CheckCmdType () |
| Checking and processing command type. | |
| void | CheckReadEditCmd () |
| Categorization commands type. | |
| void | GetCmdError () |
| Received command error. | |
| void | GetFileName () |
| FileName process. | |
| void | SendContentToFile () |
| Request sent contents to main. | |
| void | GetHelpCmd () |
| Command help. | |
| void | ClearCmdIndexAndBuf () |
| Clear index and buffer of command and file name. | |
| void | ClearContentIndexAndBuf () |
| Clear index and buffer of contents. | |
| void | ClearFileNameBuf () |
| Clear fileName buffer. | |
Detailed Description
Command for Mini-RMS <> RMS via UART.
- Version:
- V2
- Date:
- 20/09/2016
Definition in file RMS_UART.cpp.
Function Documentation
| void CheckCmdType | ( | ) |
Checking and processing command type.
- Note:
- $ls, $ed, $rd, $rs and $df and etc.
- Return values:
-
Definition at line 140 of file RMS_UART.cpp.
| void CheckContentMsg | ( | ) |
Checking and processing contents data.
- Note:
- Check command *end* and clear buffer
- Return values:
-
Definition at line 113 of file RMS_UART.cpp.
| void CheckReadEditCmd | ( | ) |
Categorization commands type.
- Note:
- Received file name and type
- Return values:
-
Definition at line 249 of file RMS_UART.cpp.
| void ClearCmdIndexAndBuf | ( | ) |
Clear index and buffer of command and file name.
- Note:
- Return values:
-
Definition at line 385 of file RMS_UART.cpp.
| void ClearContentIndexAndBuf | ( | ) |
Clear index and buffer of contents.
- Note:
- Return values:
-
Definition at line 399 of file RMS_UART.cpp.
| void ClearFileNameBuf | ( | ) |
| void DoTheContent | ( | ) |
Fill serial data as in contents buffer.
- Note:
- Return values:
-
Definition at line 74 of file RMS_UART.cpp.
| void DoTheMsgCmd | ( | ) |
Fill serial data as in command buffer.
- Note:
- Command type and FileName
- Return values:
-
Definition at line 94 of file RMS_UART.cpp.
| void GetCmdError | ( | ) |
| void GetFileName | ( | ) |
FileName process.
- Note:
- Fill file name as buffer
- Return values:
-
Definition at line 331 of file RMS_UART.cpp.
| void GetHelpCmd | ( | ) |
| void Init_SerialDevice | ( | ) |
Initials bsp and interrupt of serial communication.
- Note:
- BPS have 9600bps only
- Return values:
-
Definition at line 38 of file RMS_UART.cpp.
| void RxMsgInterruptCallback | ( | ) |
Intertupt callback function.
- Note:
- Management fill buffer direction
- Return values:
-
Definition at line 52 of file RMS_UART.cpp.
| void SendContentToFile | ( | ) |
Generated on Wed Jul 13 2022 06:05:38 by
1.7.2