Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Syntax
void USBEP0SendROMPtr(uint8_t* src, uint16_t size, uint8_t Options);
Remarks
None
Preconditions
None
Parameters
Parameters Description
src address of the data to send
size the size of the data needing to be transmitted
options the various options that you want when sending the control
data. Options are:
USB_EP0_ROM
USB_EP0_RAM
USB_EP0_BUSY
USB_EP0_INCLUDE_ZERO
USB_EP0_NO_DATA
USB_EP0_NO_OPTIONS
Function
void USBEP0SendROMPtr(uint8_t* src, uint16_t size, uint8_t Options)
1.4.1.1.1.16 USBEP0Transmit Function
Sets the address of the data to send over the control endpoint
File
usb_device.h
Syntax
void USBEP0Transmit(uint8_t options);
Remarks
None
Preconditions
None
Paramters: options - the various options that you want when sending the control data. Options are: USB_EP0_ROM
USB_EP0_RAM USB_EP0_BUSY USB_EP0_INCLUDE_ZERO USB_EP0_NO_DATA USB_EP0_NO_OPTIONS
Function
void USBEP0Transmit(uint8_t options)
1.4.1.1.1.17 USBGetDeviceState Function
This function will return the current state of the device on the USB. This function should return CONFIGURED_STATE
before an application tries to send information on the bus.
1.4 Library Interface MLA - USB Library Help Device/Peripheral
50

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh