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 MODSERIAL by
Diff: MODSERIAL.h
- Revision:
- 4:28de979b77cf
- Parent:
- 3:0f10f536456e
- Child:
- 6:c8f77fe1cc10
diff -r 0f10f536456e -r 28de979b77cf MODSERIAL.h --- a/MODSERIAL.h Sun Nov 21 13:58:53 2010 +0000 +++ b/MODSERIAL.h Sun Nov 21 14:44:02 2010 +0000 @@ -613,16 +613,7 @@ */ int scanf(const char* format, ...); #endif - - /** - * DMA channel in use. - * @ingroup INTERNALS - */ - int dmaInUse[2]; - - void isr_rx_dma(void); - void isr_tx_dma(void); - + protected: /** @@ -767,40 +758,7 @@ * @ingroup INTERNALS */ int upSizeBuffer(int size, IrqType type, bool memory_check); - - /** - * Function: this_reset - * @see DMA.cpp - * @ingroup INTERNALS - */ - void this_reset(void); - /** - * Function: dmaSetup - * @see DMA.cpp - * @ingroup INTERNALS - */ - LPC_GPDMACH_TypeDef * dmaSetup(dmaChannel q); - - /** - * Function: dmaSelectChannel - * @see DMA.cpp - * @ingroup INTERNALS - */ - LPC_GPDMACH_TypeDef * dmaSelectChannel(dmaChannel q = Channel7) { - switch (q) { - case Channel0: return LPC_GPDMACH0; - case Channel1: return LPC_GPDMACH1; - case Channel2: return LPC_GPDMACH2; - case Channel3: return LPC_GPDMACH3; - case Channel4: return LPC_GPDMACH4; - case Channel5: return LPC_GPDMACH5; - case Channel6: return LPC_GPDMACH6; - case Channel7: return LPC_GPDMACH7; - } - return (LPC_GPDMACH_TypeDef *)NULL; - } - }; }; // namespace AjK ends