USB Host Shield 2.0
Public Member Functions | List of all members
PL2303 Class Reference

#include <cdcprolific.h>

Inheritance diagram for PL2303:
Inheritance graph
[legend]
Collaboration diagram for PL2303:
Collaboration graph
[legend]

Public Member Functions

 PL2303 (USB *pusb, CDCAsyncOper *pasync)
 
uint8_t Init (uint8_t parent, uint8_t port, bool lowspeed)
 
- Public Member Functions inherited from ACM
 ACM (USB *pusb, CDCAsyncOper *pasync)
 
uint8_t SetCommFeature (uint16_t fid, uint8_t nbytes, uint8_t *dataptr)
 
uint8_t GetCommFeature (uint16_t fid, uint8_t nbytes, uint8_t *dataptr)
 
uint8_t ClearCommFeature (uint16_t fid)
 
uint8_t SetLineCoding (const LINE_CODING *dataptr)
 
uint8_t GetLineCoding (LINE_CODING *dataptr)
 
uint8_t SetControlLineState (uint8_t state)
 
uint8_t SendBreak (uint16_t duration)
 
uint8_t GetNotif (uint16_t *bytes_rcvd, uint8_t *dataptr)
 
uint8_t RcvData (uint16_t *nbytesptr, uint8_t *dataptr)
 
uint8_t SndData (uint16_t nbytes, uint8_t *dataptr)
 
uint8_t Release ()
 
uint8_t Poll ()
 
bool available (void)
 
virtual uint8_t GetAddress ()
 
virtual bool isReady ()
 
virtual tty_features enhanced_status (void)
 
virtual tty_features enhanced_features (void)
 
virtual void autoflowRTS (bool s)
 
virtual void autoflowDSR (bool s)
 
virtual void autoflowXON (bool s)
 
virtual void half_duplex (bool s)
 
virtual void wide (bool s)
 
void EndpointXtract (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)
 
- Public Member Functions inherited from USBDeviceConfig
virtual uint8_t ConfigureDevice (uint8_t parent, uint8_t port, bool lowspeed)
 
virtual void ResetHubPort (uint8_t port)
 
virtual bool VIDPIDOK (uint16_t vid, uint16_t pid)
 
virtual bool DEVCLASSOK (uint8_t klass)
 
virtual bool DEVSUBCLASSOK (uint8_t subklass)
 

Additional Inherited Members

- Protected Member Functions inherited from ACM
void PrintEndpointDescriptor (const USB_ENDPOINT_DESCRIPTOR *ep_ptr)
 
- Protected Attributes inherited from ACM
USBpUsb
 
CDCAsyncOperpAsync
 
uint8_t bAddress
 
uint8_t bConfNum
 
uint8_t bControlIface
 
uint8_t bDataIface
 
uint8_t bNumEP
 
uint32_t qNextPollTime
 
volatile bool bPollEnable
 
volatile bool ready
 
tty_features _enhanced_status
 
EpInfo epInfo [ACM_MAX_ENDPOINTS]
 
- Static Protected Attributes inherited from ACM
static const uint8_t epDataInIndex = 1
 
static const uint8_t epDataOutIndex = 2
 
static const uint8_t epInterruptInIndex = 3
 

Detailed Description

Definition at line 122 of file cdcprolific.h.

Constructor & Destructor Documentation

PL2303::PL2303 ( USB pusb,
CDCAsyncOper pasync 
)

Definition at line 19 of file cdcprolific.cpp.

Member Function Documentation

uint8_t PL2303::Init ( uint8_t  parent,
uint8_t  port,
bool  lowspeed 
)
virtual

Reimplemented from ACM.

Definition at line 24 of file cdcprolific.cpp.


The documentation for this class was generated from the following files: