Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
usbcore.h
00001 /*---------------------------------------------------------------------------- 00002 * U S B - K e r n e l 00003 *---------------------------------------------------------------------------- 00004 * Name: usbcore.h 00005 * Purpose: USB Core Definitions 00006 * Version: V1.20 00007 *---------------------------------------------------------------------------- 00008 * This software is supplied "AS IS" without any warranties, express, 00009 * implied or statutory, including but not limited to the implied 00010 * warranties of fitness for purpose, satisfactory quality and 00011 * noninfringement. Keil extends you a royalty-free right to reproduce 00012 * and distribute executable files created using this software for use 00013 * on NXP Semiconductors LPC microcontroller devices only. Nothing else 00014 * gives you the right to use this software. 00015 * 00016 * Copyright (c) 2009 Keil - An ARM Company. All rights reserved. 00017 *---------------------------------------------------------------------------*/ 00018 00019 #ifndef __USBCORE_H__ 00020 #define __USBCORE_H__ 00021 00022 00023 /* USB Endpoint Data Structure */ 00024 typedef struct _USB_EP_DATA { 00025 uint8_t *pData; 00026 uint16_t Count; 00027 } USB_EP_DATA; 00028 00029 /* USB Core Global Variables */ 00030 extern uint16_t USB_DeviceStatus; 00031 extern uint8_t USB_DeviceAddress; 00032 extern uint8_t USB_Configuration; 00033 extern uint32_t USB_EndPointMask; 00034 extern uint32_t USB_EndPointHalt; 00035 extern uint32_t USB_EndPointStall; 00036 extern uint8_t USB_AltSetting[USB_IF_NUM]; 00037 00038 /* USB Endpoint 0 Buffer */ 00039 extern uint8_t EP0Buf[USB_MAX_PACKET0]; 00040 00041 /* USB Endpoint 0 Data Info */ 00042 extern USB_EP_DATA EP0Data; 00043 00044 /* USB Setup Packet */ 00045 extern USB_SETUP_PACKET SetupPacket; 00046 00047 /* USB Core Functions */ 00048 extern void USB_ResetCore (void); 00049 00050 00051 00052 #endif /* __USBCORE_H__ */
Generated on Thu Jul 14 2022 04:45:41 by
1.7.2