17#ifndef MBED_TRANSACTION_H
18#define MBED_TRANSACTION_H
20#include "platform/platform.h"
47template<
typename Class>
Transaction class defines a transaction.
transaction_t * get_transaction()
Get the transaction.
Class * get_object()
Get object's instance for the transaction.
uint8_t width
Buffer's word width (8, 16, 32, 64)
size_t rx_length
Length of Rx buffer.
void * rx_buffer
Rx buffer.
event_callback_t callback
User's callback.
size_t tx_length
Length of Tx buffer.
void * tx_buffer
Tx buffer.
uint32_t event
Event for a transaction.