USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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)
 
virtual 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 RcvData (uint16_t *nbytesptr, uint8_t *dataptr)
 
uint8_t SndData (uint16_t nbytes, uint8_t *dataptr)
 
virtual uint8_t Release ()
 
virtual uint8_t Poll ()
 
virtual uint8_t GetAddress ()
 
virtual void EndpointXtract (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)
 

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
 
bool bPollEnable
 
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 137 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: