Skip to content

Class daisy::MAX11300MultiSlaveSpiTransport

ClassList > daisy > MAX11300MultiSlaveSpiTransport

Classes

Type Name
struct Config <numDevices>

Public Types

Type Name
enum Result

Public Functions

Type Name
size_t GetNumDevices () const
Result Init (Config< num_devices > config)
bool Ready ()
Result TransmitAndReceiveBlocking (size_t device_index, uint8_t * tx_buff, uint8_t * rx_buff, size_t size)
Result TransmitAndReceiveDma (size_t device_index, uint8_t * tx_buff, uint8_t * rx_buff, size_t size, MAX11300Types::TransportCallbackFunctionPtr complete_callback, void * callback_context)
Result TransmitBlocking (size_t device_index, uint8_t * buff, size_t size)
Result TransmitDma (size_t device_index, uint8_t * buff, size_t size, MAX11300Types::TransportCallbackFunctionPtr complete_callback, void * callback_context)

Public Types Documentation

enum Result

enum daisy::MAX11300MultiSlaveSpiTransport::Result {
    OK,
    ERR
};

Public Functions Documentation

function GetNumDevices

inline size_t daisy::MAX11300MultiSlaveSpiTransport::GetNumDevices () const

function Init

template<size_t num_devices>
inline Result daisy::MAX11300MultiSlaveSpiTransport::Init (
    Config < num_devices > config
) 

function Ready

inline bool daisy::MAX11300MultiSlaveSpiTransport::Ready () 

function TransmitAndReceiveBlocking

inline Result daisy::MAX11300MultiSlaveSpiTransport::TransmitAndReceiveBlocking (
    size_t device_index,
    uint8_t * tx_buff,
    uint8_t * rx_buff,
    size_t size
) 

function TransmitAndReceiveDma

inline Result daisy::MAX11300MultiSlaveSpiTransport::TransmitAndReceiveDma (
    size_t device_index,
    uint8_t * tx_buff,
    uint8_t * rx_buff,
    size_t size,
    MAX11300Types::TransportCallbackFunctionPtr complete_callback,
    void * callback_context
) 

function TransmitBlocking

inline Result daisy::MAX11300MultiSlaveSpiTransport::TransmitBlocking (
    size_t device_index,
    uint8_t * buff,
    size_t size
) 

function TransmitDma

inline Result daisy::MAX11300MultiSlaveSpiTransport::TransmitDma (
    size_t device_index,
    uint8_t * buff,
    size_t size,
    MAX11300Types::TransportCallbackFunctionPtr complete_callback,
    void * callback_context
) 


The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/max11300.h