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

#include <devices.h>

Data Fields

DEVICE device
 The Device entry for this Mailbox device.
uint32_t mailboxid
 Unique Id of this Mailbox device in the Mailbox device table.
uint32_t mailboxstate
 Mailbox device state (eg MAILBOX_STATE_ENABLED).
mailbox_device_start_proc devicestart
 A device specific DeviceStart method implementing a standard mailbox device interface (Or nil if the default method is suitable).
mailbox_device_stop_proc devicestop
 A device specific DeviceStop method implementing a standard mailbox device interface (Or nil if the default method is suitable).
mailbox_device_receive_proc devicereceive
 A device specific DeviceReceive method implementing a standard mailbox device interface (Mandatory).
mailbox_device_send_proc devicesend
 A device specific DeviceSend method implementing a standard mailbox device interface (Mandatory).
mailbox_device_call_proc devicecall
 A device specific DeviceCall method implementing a standard mailbox device interface (Mandatory).
mailbox_device_get_timeout_proc devicegettimeout
 A device specific DeviceGetTimeout method implementing a standard mailbox device interface (Or nil if the default method is suitable).
mailbox_device_set_timeout_proc devicesettimeout
 A device specific DeviceSetTimeout method implementing a standard mailbox device interface (Or nil if the default method is suitable).
uint32_t receivecount
uint32_t sendcount
uint32_t callcount
MUTEX_HANDLE lock
 Device lock.
void * address
 Device register base address.
uint32_t timeout
 Device timeout (Milliseconds).
MAILBOX_DEVICEprev
 Previous entry in Mailbox device table.
MAILBOX_DEVICEnext
 Next entry in Mailbox device table.

Detailed Description

Mailbox Device

Field Documentation

◆ device

DEVICE device

The Device entry for this Mailbox device.

◆ mailboxid

uint32_t mailboxid

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

◆ mailboxstate

uint32_t mailboxstate

Mailbox device state (eg MAILBOX_STATE_ENABLED).

◆ devicestart

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

◆ devicestop

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

◆ devicereceive

A device specific DeviceReceive method implementing a standard mailbox device interface (Mandatory).

◆ devicesend

A device specific DeviceSend method implementing a standard mailbox device interface (Mandatory).

◆ devicecall

A device specific DeviceCall method implementing a standard mailbox device interface (Mandatory).

◆ devicegettimeout

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

◆ devicesettimeout

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

◆ receivecount

uint32_t receivecount

◆ sendcount

uint32_t sendcount

◆ callcount

uint32_t callcount

◆ lock

Device lock.

◆ address

void* address

Device register base address.

◆ timeout

uint32_t timeout

Device timeout (Milliseconds).

◆ prev

Previous entry in Mailbox device table.

◆ next

Next entry in Mailbox device table.


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