MODSERIAL with support for mbed OS 5.1
Fork of MODSERIAL by
Diff: MODSERIAL.h
- Revision:
- 7:ffa4a7cb7f8d
- Parent:
- 6:c8f77fe1cc10
- Child:
- 8:775f860e94d3
diff -r c8f77fe1cc10 -r ffa4a7cb7f8d MODSERIAL.h --- a/MODSERIAL.h Sun Nov 21 16:25:44 2010 +0000 +++ b/MODSERIAL.h Mon Nov 22 09:19:50 2010 +0000 @@ -18,6 +18,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @file MODSERIAL.h + @purpose Extends Serial to provide fully buffered IO + @version 1.6 + @date Nov 2010 + @author Andy Kirkham */ #ifndef MODSERIAL_H @@ -134,19 +140,6 @@ , BufferOversize = -2 /*!< Oversized buffer. */ }; - //! DMA channels. - enum dmaChannel { - NotInUse = -1 /*!< DMA not in use */ - , Channel0 = 0 /*!< Channel 0 */ - , Channel1 /*!< Channel 1 */ - , Channel2 /*!< Channel 2 */ - , Channel3 /*!< Channel 3 */ - , Channel4 /*!< Channel 4 */ - , Channel5 /*!< Channel 5 */ - , Channel6 /*!< Channel 6 */ - , Channel7 /*!< Channel 7 */ - }; - /** * The MODSERIAL constructor is used to initialise the serial object. *