#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_types.h"
#include "driverlib/rom.h"
#include "driverlib/rom_map.h"
#include "driverlib/usb.h"
#include "usblib/usblib.h"
#include "usblib/usbcdc.h"
#include "usblib/usb-ids.h"
#include "usblib/device/usbdevice.h"
#include "usblib/device/usbdcdc.h"
#include "usb_serial_structs.h"
Go to the source code of this file.
Macros | |
#define | NUM_STRING_DESCRIPTORS |
Functions | |
uint32_t | ControlHandler (void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgValue, void *pvMsgData) |
uint32_t | RxHandler (void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgValue, void *pvMsgData) |
uint32_t | TxHandler (void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgValue, void *pvMsgData) |
Variables | |
static volatile bool | g_bUSBConfigured = false |
const uint8_t *const | g_ppui8StringDescriptors [] |
const uint8_t | g_pui8ConfigString [] |
const uint8_t | g_pui8ControlInterfaceString [] |
const uint8_t | g_pui8LangDescriptor [] |
const uint8_t | g_pui8ManufacturerString [] |
const uint8_t | g_pui8ProductString [] |
const uint8_t | g_pui8SerialNumberString [] |
uint8_t | g_pui8USBRxBuffer [UART_BUFFER_SIZE] |
uint8_t | g_pui8USBTxBuffer [UART_BUFFER_SIZE] |
tUSBDCDCDevice | g_sCDCDevice |
tUSBBuffer | g_sRxBuffer |
tUSBBuffer | g_sTxBuffer |
#define NUM_STRING_DESCRIPTORS |
Definition at line 151 of file usb_serial_structs.c.
uint32_t ControlHandler | ( | void * | pvCBData, |
uint32_t | ui32Event, | ||
uint32_t | ui32MsgValue, | ||
void * | pvMsgData | ||
) |
Definition at line 370 of file usb_serial_structs.c.
uint32_t RxHandler | ( | void * | pvCBData, |
uint32_t | ui32Event, | ||
uint32_t | ui32MsgValue, | ||
void * | pvMsgData | ||
) |
Definition at line 287 of file usb_serial_structs.c.
uint32_t TxHandler | ( | void * | pvCBData, |
uint32_t | ui32Event, | ||
uint32_t | ui32MsgValue, | ||
void * | pvMsgData | ||
) |
Definition at line 239 of file usb_serial_structs.c.
|
static |
Definition at line 44 of file usb_serial_structs.c.
const uint8_t* const g_ppui8StringDescriptors[] |
Definition at line 141 of file usb_serial_structs.c.
const uint8_t g_pui8ConfigString[] |
Definition at line 126 of file usb_serial_structs.c.
const uint8_t g_pui8ControlInterfaceString[] |
Definition at line 112 of file usb_serial_structs.c.
const uint8_t g_pui8LangDescriptor[] |
Definition at line 62 of file usb_serial_structs.c.
const uint8_t g_pui8ManufacturerString[] |
Definition at line 74 of file usb_serial_structs.c.
const uint8_t g_pui8ProductString[] |
Definition at line 87 of file usb_serial_structs.c.
const uint8_t g_pui8SerialNumberString[] |
Definition at line 100 of file usb_serial_structs.c.
uint8_t g_pui8USBRxBuffer[UART_BUFFER_SIZE] |
Definition at line 189 of file usb_serial_structs.c.
uint8_t g_pui8USBTxBuffer[UART_BUFFER_SIZE] |
Definition at line 207 of file usb_serial_structs.c.
tUSBDCDCDevice g_sCDCDevice |
Definition at line 168 of file usb_serial_structs.c.
tUSBBuffer g_sRxBuffer |
Definition at line 190 of file usb_serial_structs.c.
tUSBBuffer g_sTxBuffer |
Definition at line 208 of file usb_serial_structs.c.