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:
- 1:ac2de545b981
- Parent:
- 0:affdbb35faa4
- Child:
- 2:30d78cda6779
--- a/WncControllerK64F.h Wed Aug 31 02:06:26 2016 +0000
+++ b/WncControllerK64F.h Thu Sep 01 02:28:10 2016 +0000
@@ -69,7 +69,7 @@
* constructor below. Assumes UART is enabled, setup and ready to go. This
* class will read and write to this UART.
*/
- WncControllerK64F( const char * const apnStr, struct WncGpioPinListK64F * pPins, Serial * wnc_uart, Serial * debug_uart = NULL);
+ WncControllerK64F(struct WncGpioPinListK64F * pPins, MODSERIAL * wnc_uart, MODSERIAL * debug_uart = NULL);
private:
@@ -80,9 +80,9 @@
virtual int putc(char c);
virtual int puts(const char * s);
virtual char getc(void);
- virtual int byteReady(void);
- virtual int dbgWriteByte(char b);
- virtual int dbgWriteBytes(const char *b);
+ virtual int charReady(void);
+ virtual int dbgWriteChar(char b);
+ virtual int dbgWriteChars(const char *b);
virtual bool initWncModem(uint8_t powerUpTimeoutSecs);
virtual void waitMs(int t);
virtual void waitUs(int t);
@@ -90,13 +90,13 @@
virtual int getLogTimerTicks(void);
virtual void startTimerA(void);
virtual void stopTimerA(void);
- virtual int getUsTimerTicksA(void);
+ virtual int getTimerTicksA_mS(void);
virtual void startTimerB(void);
virtual void stopTimerB(void);
- virtual int getUsTimerTicksB(void);
+ virtual int getTimerTicksB_mS(void);
- Serial * m_pDbgUart;
- Serial * m_pWncUart;
+ MODSERIAL * m_pDbgUart;
+ MODSERIAL * m_pWncUart;
WncGpioPinListK64F m_gpioPinList;
Timer m_logTimer;
Timer m_timerA;
