Data Structures | Macros | Enumerations | Functions
usbdhidsensor.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tUSBDSensorInstance
 
struct  tUSBDHIDSensorDevice
 
struct  PACKED
 USB_CDC_GET/SET_LINE_CODING request-specific data. More...
 

Macros

#define USBDSENSOR_SUCCESS   0
 
More...
 
#define USBDSENSOR_TX_ERROR   1
 
#define USBDSENSOR_NOT_CONFIGURED   2
 The device is not currently configured and cannot perform any operations. More...
 

Enumerations

enum  tSensorState { eHIDSensorStateNotConnected, eHIDSensorStateIdle, eHIDSensorStateSending }
 

Functions

tUSBDHIDSensorDeviceUSBDHIDSensorInit (uint32_t ui32Index, tUSBDHIDSensorDevice *psHIDSensorDevice)
 
tUSBDHIDSensorDeviceUSBDHIDSensorCompositeInit (uint32_t ui32Index, tUSBDHIDSensorDevice *psHIDSensorDevice, tCompositeEntry *psCompEntry)
 
void USBDHIDSensorTerm (tUSBDHIDSensorDevice *psSensor)
 
uint32_t USBDHIDSensorSendReport (tUSBDHIDSensorDevice *psHIDSensor, void *pvReport, uint32_t ui32Size)
 
Copyright 2018, Texas Instruments Incorporated