]>
git.zerfleddert.de Git - proxmark3-svn/blob - bootrom/usb_hid.h
7 //--------------------------------
10 #define USB_D_PLUS_PULLUP_ON() { \
12 AT91C_BASE_PIOA->PIO_OER = GPIO_USB_PU; \
14 #define USB_D_PLUS_PULLUP_OFF() AT91C_BASE_PIOA->PIO_ODR = GPIO_USB_PU
16 //--------------------------------
19 void UsbSendPacket(uint8_t *packet
, int len
);
21 int UsbPoll(int blinkLeds
);
24 // This function is provided by the apps/bootrom, and called from UsbPoll
25 // if data are available.
26 void UsbPacketReceived(uint8_t *packet
, int len
);