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

#include <devices.h>

Data Fields

DEVICE device
 The Device entry for this Random device.
uint32_t randomid
 Unique Id of this Random device in the Random device table.
uint32_t randomstate
 Random device state (eg RANDOM_STATE_ENABLED).
random_device_start_proc devicestart
 A device specific DeviceStart method implementing a standard random device interface (Mandatory).
random_device_stop_proc devicestop
 A device specific DeviceStop method implementing a standard random device interface (Or nil if the default method is suitable).
random_device_seed_proc deviceseed
 A device specific DeviceSeed method implementing a standard random device interface (Or nil if the default method is suitable).
random_device_read_byte_proc devicereadbyte
 A device specific DeviceReadByte method implementing a standard random device interface (Or nil if the default method is suitable).
random_device_read_word_proc devicereadword
 A device specific DeviceReadWord method implementing a standard random device interface (Or nil if the default method is suitable).
random_device_read_longword_proc devicereadlongword
 A device specific DeviceReadLongWord method implementing a standard random device interface (Mandatory).
random_device_read_long_long_proc devicereadquadword
 A device specific DeviceReadQuadWord method implementing a standard random device interface (Or nil if the default method is suitable).
random_device_read_double_proc devicereaddouble
 A device specific DeviceReadFloat method implementing a standard random device interface (Or nil if the default method is suitable).
uint32_t seedcount
uint32_t readcount
MUTEX_HANDLE lock
 Device lock.
void * address
 Device register base address.
RANDOM_DEVICEprev
 Previous entry in Random device table.
RANDOM_DEVICEnext
 Next entry in Random device table.

Detailed Description

Random Device

Field Documentation

◆ device

DEVICE device

The Device entry for this Random device.

◆ randomid

uint32_t randomid

Unique Id of this Random device in the Random device table.

◆ randomstate

uint32_t randomstate

Random device state (eg RANDOM_STATE_ENABLED).

◆ devicestart

A device specific DeviceStart method implementing a standard random device interface (Mandatory).

◆ devicestop

A device specific DeviceStop method implementing a standard random device interface (Or nil if the default method is suitable).

◆ deviceseed

A device specific DeviceSeed method implementing a standard random device interface (Or nil if the default method is suitable).

◆ devicereadbyte

A device specific DeviceReadByte method implementing a standard random device interface (Or nil if the default method is suitable).

◆ devicereadword

A device specific DeviceReadWord method implementing a standard random device interface (Or nil if the default method is suitable).

◆ devicereadlongword

A device specific DeviceReadLongWord method implementing a standard random device interface (Mandatory).

◆ devicereadquadword

A device specific DeviceReadQuadWord method implementing a standard random device interface (Or nil if the default method is suitable).

◆ devicereaddouble

A device specific DeviceReadFloat method implementing a standard random device interface (Or nil if the default method is suitable).

◆ seedcount

uint32_t seedcount

◆ readcount

uint32_t readcount

◆ lock

Device lock.

◆ address

void* address

Device register base address.

◆ prev

Previous entry in Random device table.

◆ next

Next entry in Random device table.


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