Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_DEVICE Struct Reference

#include <devices.h>

Data Fields

uint32_t signature
 Signature for entry validation.
uint32_t deviceid
 Unique Id of this Device in the Device table.
uint32_t devicestate
 Device state (eg Registered/Unregistered).
char devicename [DEVICE_NAME_LENGTH]
 The name of the Device (eg Keyboard0, Storage0 or Network0 etc).
uint32_t deviceclass
 The class of this Device (eg DEVICE_CLASS_USB, DEVICE_CLASS_NETWORK, DEVICE_CLASS_STORAGE etc).
uint32_t devicebus
 The Bus type for the Device (eg DEVICE_BUS_USB).
uint32_t devicetype
 A class specific Device type (eg KEYBOARD_TYPE_USB, MOUSE_TYPE_USB, NETWORK_TYPE_ETHERNET etc).
uint32_t deviceflags
 The class specific Device flags.
void * devicedata
 A pointer to a class specific Device interface (eg PUSBDevice, PNetworkDevice or PStorageDevice etc) (Used by Drivers).
char devicedescription [DEVICE_DESC_LENGTH]
 A description of the Device (eg BCM2835 PL011 UART).
DEVICEprev
 Previous entry in Device table.
DEVICEnext
 Next entry in Device table.

Detailed Description

Device Entry

Field Documentation

◆ signature

uint32_t signature

Signature for entry validation.

◆ deviceid

uint32_t deviceid

Unique Id of this Device in the Device table.

◆ devicestate

uint32_t devicestate

Device state (eg Registered/Unregistered).

◆ devicename

char devicename[DEVICE_NAME_LENGTH]

The name of the Device (eg Keyboard0, Storage0 or Network0 etc).

◆ deviceclass

uint32_t deviceclass

The class of this Device (eg DEVICE_CLASS_USB, DEVICE_CLASS_NETWORK, DEVICE_CLASS_STORAGE etc).

◆ devicebus

uint32_t devicebus

The Bus type for the Device (eg DEVICE_BUS_USB).

◆ devicetype

uint32_t devicetype

A class specific Device type (eg KEYBOARD_TYPE_USB, MOUSE_TYPE_USB, NETWORK_TYPE_ETHERNET etc).

◆ deviceflags

uint32_t deviceflags

The class specific Device flags.

◆ devicedata

void* devicedata

A pointer to a class specific Device interface (eg PUSBDevice, PNetworkDevice or PStorageDevice etc) (Used by Drivers).

◆ devicedescription

char devicedescription[DEVICE_DESC_LENGTH]

A description of the Device (eg BCM2835 PL011 UART).

◆ prev

DEVICE* prev

Previous entry in Device table.

◆ next

DEVICE* next

Next entry in Device table.


The documentation for this struct was generated from the following file: