USB Host Shield 2.0
|
#include <cdc_XR21B1411.h>
Public Member Functions | |
XR21B1411 (USB *pusb, CDCAsyncOper *pasync) | |
virtual bool | VIDPIDOK (uint16_t vid, uint16_t pid) |
uint8_t | Init (uint8_t parent, uint8_t port, bool lowspeed) |
virtual tty_features | enhanced_features (void) |
uint8_t | read_register (uint16_t reg, uint16_t *val) |
uint8_t | write_register (uint16_t reg, uint16_t val) |
virtual void | autoflowRTS (bool s) |
virtual void | autoflowDSR (bool s) |
virtual void | autoflowXON (bool s) |
virtual void | half_duplex (bool s) |
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 | Init (uint8_t parent, uint8_t port, bool lowspeed) |
uint8_t | Release () |
uint8_t | Poll () |
bool | available (void) |
virtual uint8_t | GetAddress () |
virtual bool | isReady () |
virtual tty_features | enhanced_status (void) |
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 | 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 | |
USB * | pUsb |
CDCAsyncOper * | pAsync |
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 |
Definition at line 103 of file cdc_XR21B1411.h.
XR21B1411::XR21B1411 | ( | USB * | pusb, |
CDCAsyncOper * | pasync | ||
) |
Definition at line 19 of file cdc_XR21B1411.cpp.
|
inlinevirtual |
Used by the USB core to check what this driver support.
vid | The device's VID. |
pid | The device's PID. |
Reimplemented from USBDeviceConfig.
Definition at line 115 of file cdc_XR21B1411.h.
|
virtual |
Reimplemented from USBDeviceConfig.
Definition at line 25 of file cdc_XR21B1411.cpp.
|
inlinevirtual |
Reimplemented from ACM.
Definition at line 121 of file cdc_XR21B1411.h.
|
inline |
Definition at line 132 of file cdc_XR21B1411.h.
|
inline |
Definition at line 136 of file cdc_XR21B1411.h.
|
inlinevirtual |
Reimplemented from ACM.
Definition at line 145 of file cdc_XR21B1411.h.
|
inlinevirtual |
Reimplemented from ACM.
Definition at line 176 of file cdc_XR21B1411.h.
|
inlinevirtual |
Reimplemented from ACM.
Definition at line 211 of file cdc_XR21B1411.h.
|
inlinevirtual |
Reimplemented from ACM.
Definition at line 243 of file cdc_XR21B1411.h.