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.
Dependencies: AUDIO_DISCO_F746NG BSP_DISCO_F746NG EEPROM_DISCO_F746NG LCD_DISCO_F746NG QSPI_DISCO_F746NG SD_DISCO_F746NG SDRAM_DISCO_F746NG TS_DISCO_F746NG FATFileSystem mbed-rtos mbed
Fork of DISCO-F746NG_Monttory_Base by
IUSBHostSerial Class Reference
Generic interface to abstract 3G dongles' impl. More...
#include <IUSBHostSerial.h>
Inherited by WANDongleSerialPort.
Public Member Functions | |
virtual int | readable ()=0 |
Check the number of bytes available. | |
virtual int | writeable ()=0 |
Check the free space in output. | |
virtual void | attach (IUSBHostSerialListener *pListener)=0 |
Attach a handler to call when a packet is received / when a packet has been transmitted. | |
virtual void | setupIrq (bool en, IrqType irq=RxIrq)=0 |
Enable or disable readable/writeable callbacks. |
Detailed Description
Generic interface to abstract 3G dongles' impl.
Definition at line 37 of file IUSBHostSerial.h.
Member Function Documentation
virtual void attach | ( | IUSBHostSerialListener * | pListener ) | [pure virtual] |
Attach a handler to call when a packet is received / when a packet has been transmitted.
- Parameters:
-
pListener instance of the listener deriving from the IUSBHostSerialListener
Implemented in WANDongleSerialPort.
virtual int readable | ( | ) | [pure virtual] |
Check the number of bytes available.
- Returns:
- the number of bytes available
Implemented in WANDongleSerialPort.
virtual void setupIrq | ( | bool | en, |
IrqType | irq = RxIrq |
||
) | [pure virtual] |
Enable or disable readable/writeable callbacks.
Implemented in WANDongleSerialPort.
virtual int writeable | ( | ) | [pure virtual] |
Check the free space in output.
- Returns:
- the number of bytes available
Implemented in WANDongleSerialPort.
Generated on Wed Jul 13 2022 18:23:14 by
