RT-AICHIPV3-sample
|
マクロ定義 | |
#define | USB_ERR_PID 0x0001 /* PID Error */ |
#define | USB_ERR_UEPKT 0x0002 /* Unexpected Packet */ |
#define | USB_ERR_DCRC 0x0004 /* Data CRC Error */ |
#define | USB_ERR_TIMOUT 0x0008 /* Bus Time-out Error */ |
#define | USB_ERR_EOP 0x0010 /* End of Packet Error */ |
#define | USB_ERR_B_OVRN 0x0020 /* Buffer Overrun */ |
#define | USB_ERR_BTSTF 0x0040 /* Bit Stuff Error */ |
#define | USB_ERR_TGL 0x0080 /* Toggle Bit Error */ |
関数 | |
void | USBIOClkConfig (void) |
void | USB_Init (void) |
void | USB_Connect (uint32_t con) |
void | USB_Reset (void) |
void | USB_Suspend (void) |
void | USB_Resume (void) |
void | USB_WakeUp (void) |
void | USB_WakeUpCfg (uint32_t cfg) |
void | USB_SetAddress (uint32_t adr) |
void | USB_Configure (uint32_t cfg) |
void | USB_ConfigEP (USB_ENDPOINT_DESCRIPTOR *pEPD) |
void | USB_DirCtrlEP (uint32_t dir) |
void | USB_EnableEP (uint32_t EPNum) |
void | USB_DisableEP (uint32_t EPNum) |
void | USB_ResetEP (uint32_t EPNum) |
void | USB_SetStallEP (uint32_t EPNum) |
void | USB_ClrStallEP (uint32_t EPNum) |
void | USB_ClearEPBuf (uint32_t EPNum) |
uint32_t | USB_ReadEP (uint32_t EPNum, uint8_t *pData) |
uint32_t | USB_WriteEP (uint32_t EPNum, uint8_t *pData, uint32_t cnt) |
uint32_t | USB_GetFrame (void) |
void | USB_IRQHandler (void) |
void | USB_IRQ (void) |
#define USB_ERR_B_OVRN 0x0020 /* Buffer Overrun */ |
#define USB_ERR_BTSTF 0x0040 /* Bit Stuff Error */ |
#define USB_ERR_DCRC 0x0004 /* Data CRC Error */ |
#define USB_ERR_EOP 0x0010 /* End of Packet Error */ |
#define USB_ERR_PID 0x0001 /* PID Error */ |
#define USB_ERR_TGL 0x0080 /* Toggle Bit Error */ |
#define USB_ERR_TIMOUT 0x0008 /* Bus Time-out Error */ |
#define USB_ERR_UEPKT 0x0002 /* Unexpected Packet */ |
void USB_ClearEPBuf | ( | uint32_t | EPNum | ) |
void USB_ClrStallEP | ( | uint32_t | EPNum | ) |
void USB_ConfigEP | ( | USB_ENDPOINT_DESCRIPTOR * | pEPD | ) |
void USB_Configure | ( | uint32_t | cfg | ) |
void USB_Connect | ( | uint32_t | con | ) |
void USB_DirCtrlEP | ( | uint32_t | dir | ) |
void USB_DisableEP | ( | uint32_t | EPNum | ) |
void USB_EnableEP | ( | uint32_t | EPNum | ) |
uint32_t USB_GetFrame | ( | void | ) |
void USB_Init | ( | void | ) |
void USB_IRQ | ( | void | ) |
void USB_IRQHandler | ( | void | ) |
void USB_Reset | ( | void | ) |
void USB_ResetEP | ( | uint32_t | EPNum | ) |
void USB_Resume | ( | void | ) |
void USB_SetAddress | ( | uint32_t | adr | ) |
void USB_SetStallEP | ( | uint32_t | EPNum | ) |
void USB_Suspend | ( | void | ) |
void USB_WakeUp | ( | void | ) |
void USB_WakeUpCfg | ( | uint32_t | cfg | ) |
void USBIOClkConfig | ( | void | ) |