#include <p18cxxx.h>
#include "system\typedefs.h"
#include "system\usb\usb.h"
Go to the source code of this file.
Functions | |
void | USBCtrlTrfSetupHandler (void) |
void | USBCtrlTrfOutHandler (void) |
void | USBCtrlTrfInHandler (void) |
void | USBCtrlEPService (void) |
void | USBCtrlTrfTxService (void) |
void | USBCtrlTrfRxService (void) |
void | USBCtrlEPServiceComplete (void) |
void | USBPrepareForNextSetupTrf (void) |
Variables | |
byte | ctrl_trf_state |
byte | ctrl_trf_session_owner |
POINTER | pSrc |
POINTER | pDst |
WORD | wCount |
|
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 221 of file usbctrltrf.c. References _BD_STAT::_byte, _DAT0, _DAT1, _DTSEN, _USIE, ctrl_trf_state, CTRL_TRF_TX, _BD_STAT::DTS, ep0Bi, mUSBCheckAdrPendingState, _BDT::Stat, USBCtrlTrfTxService(), and USBPrepareForNextSetupTrf(). Referenced by USBCtrlEPService(). |
|
Definition at line 176 of file usbctrltrf.c. References _BD_STAT::_byte, _DAT0, _DAT1, _DTSEN, _USIE, CTRL_TRF_RX, ctrl_trf_state, _BD_STAT::DTS, ep0Bo, _BDT::Stat, USBCtrlTrfRxService(), and USBPrepareForNextSetupTrf(). Referenced by USBCtrlEPService(). |
|
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(). |
|
P R I V A T E P R O T O T Y P E S Definition at line 133 of file usbctrltrf.c. References _WORD::_word, ClassReqHandler, ctrl_trf_session_owner, ctrl_trf_state, MUID_NULL, USBCheckStdRequest(), USBCtrlEPServiceComplete(), and WAIT_SETUP. Referenced by USBCtrlEPService(). |
|
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(). |
|
V A R I A B L E S Definition at line 44 of file usbctrltrf.c. Referenced by USBCtrlEPServiceComplete(), USBCtrlTrfInHandler(), USBCtrlTrfOutHandler(), USBCtrlTrfSetupHandler(), and USBPrepareForNextSetupTrf(). |
|
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(). |