#include "system\typedefs.h"
Go to the source code of this file.
Defines | |
#define | WAIT_SETUP 0 |
#define | CTRL_TRF_TX 1 |
#define | CTRL_TRF_RX 2 |
#define | SETUP_TOKEN 0b00001101 |
#define | OUT_TOKEN 0b00000001 |
#define | IN_TOKEN 0b00001001 |
#define | HOST_TO_DEV 0 |
#define | DEV_TO_HOST 1 |
#define | STANDARD 0x00 |
#define | CLASS 0x01 |
#define | VENDOR 0x02 |
#define | RCPT_DEV 0 |
#define | RCPT_INTF 1 |
#define | RCPT_EP 2 |
#define | RCPT_OTH 3 |
Functions | |
void | USBCtrlEPService (void) |
void | USBCtrlTrfTxService (void) |
void | USBCtrlTrfRxService (void) |
void | USBCtrlEPServiceComplete (void) |
void | USBPrepareForNextSetupTrf (void) |
Variables | |
byte | ctrl_trf_session_owner |
POINTER | pSrc |
POINTER | pDst |
WORD | wCount |
|
Definition at line 59 of file usbctrltrf.h. |
|
Definition at line 47 of file usbctrltrf.h. Referenced by USBCtrlEPServiceComplete(), and USBCtrlTrfOutHandler(). |
|
Definition at line 46 of file usbctrltrf.h. Referenced by USBCtrlEPServiceComplete(), and USBCtrlTrfInHandler(). |
|
Definition at line 56 of file usbctrltrf.h. Referenced by USBCtrlEPServiceComplete(). |
|
Definition at line 55 of file usbctrltrf.h. |
|
Definition at line 52 of file usbctrltrf.h. |
|
Definition at line 51 of file usbctrltrf.h. |
|
Definition at line 62 of file usbctrltrf.h. Referenced by USBStdFeatureReqHandler(), and USBStdGetStatusHandler(). |
|
Definition at line 64 of file usbctrltrf.h. Referenced by USBStdFeatureReqHandler(), and USBStdGetStatusHandler(). |
|
Definition at line 63 of file usbctrltrf.h. Referenced by USBStdGetStatusHandler(). |
|
Definition at line 65 of file usbctrltrf.h. |
|
Definition at line 50 of file usbctrltrf.h. Referenced by USBCtrlEPService(). |
|
Definition at line 58 of file usbctrltrf.h. Referenced by USBCheckStdRequest(). |
|
Definition at line 60 of file usbctrltrf.h. |
|
D E F I N I T I O N S Definition at line 45 of file usbctrltrf.h. Referenced by USBCtrlTrfSetupHandler(), and USBPrepareForNextSetupTrf(). |
|
D E C L A R A T I O N S Definition at line 78 of file usbctrltrf.c. References EP00_IN, EP00_OUT, ep0Bo, _BD_STAT::PID, SETUP_TOKEN, _BDT::Stat, USBCtrlTrfInHandler(), USBCtrlTrfOutHandler(), and USBCtrlTrfSetupHandler(). Referenced by USBDriverService(). |
|
Definition at line 382 of file usbctrltrf.c. References _BSTALL, _BD_STAT::_byte, _DAT1, _DTSEN, _USIE, _WORD::_word, _BDT::ADR, _BDT::Cnt, CTRL_TRF_RX, ctrl_trf_session_owner, ctrl_trf_state, CTRL_TRF_TX, CtrlTrfData, _CTRL_TRF_SETUP::DataDir, DEV_TO_HOST, EP0_BUFF_SIZE, ep0Bi, ep0Bo, MUID_NULL, SetupPkt, _BDT::Stat, USBCtrlTrfTxService(), and _CTRL_TRF_SETUP::wLength. Referenced by USBCtrlTrfSetupHandler(). |
|
Definition at line 330 of file usbctrltrf.c. References _BD_STAT::_byte, _WORD::_word, _POINTER::bRam, _BDT::Cnt, CtrlTrfData, ep0Bo, LSB, MSB, and _BDT::Stat. Referenced by USBCtrlTrfOutHandler(). |
|
Definition at line 260 of file usbctrltrf.c. References _BD_STAT::_byte, _ROM, _WORD::_word, _BD_STAT::BC8, _BD_STAT::BC9, _POINTER::bRam, _POINTER::bRom, _BDT::Cnt, _USB_DEVICE_STATUS::ctrl_trf_mem, CtrlTrfData, EP0_BUFF_SIZE, ep0Bi, LSB, MSB, _BDT::Stat, and usb_stat. Referenced by USBCtrlEPServiceComplete(), and USBCtrlTrfInHandler(). |
|
Definition at line 490 of file usbctrltrf.c. References _BD_STAT::_byte, _DAT0, _DTSEN, _UCPU, _USIE, _BDT::ADR, _BDT::Cnt, ctrl_trf_state, EP0_BUFF_SIZE, ep0Bi, ep0Bo, SetupPkt, _BDT::Stat, and WAIT_SETUP. Referenced by USBCtrlTrfInHandler(), USBCtrlTrfOutHandler(), USBProtocolResetHandler(), and USBStallHandler(). |
|
E X T E R N S Definition at line 45 of file usbctrltrf.c. Referenced by USBCheckStdRequest(), USBCtrlEPServiceComplete(), USBCtrlTrfSetupHandler(), USBStdFeatureReqHandler(), USBStdGetDscHandler(), USBStdGetStatusHandler(), and USBStdSetCfgHandler(). |
|
Definition at line 48 of file usbctrltrf.c. Referenced by USBStdFeatureReqHandler(), and USBStdGetStatusHandler(). |
|
Definition at line 47 of file usbctrltrf.c. Referenced by USBCheckStdRequest(), USBStdGetDscHandler(), and USBStdGetStatusHandler(). |
|
Definition at line 49 of file usbctrltrf.c. Referenced by USBCheckStdRequest(), USBStdGetDscHandler(), and USBStdGetStatusHandler(). |