IS31FL3733 Async Driver 1.0.0
Asynchronous DMA-driven IS31FL3733 LED driver for Arduino SAMD
Loading...
Searching...
No Matches
Public Attributes | List of all members
IS31FL3733::IS31FL3733::CmdTxnContext Struct Reference

Context passed to SERCOM ISR callback for command-chain transactions. More...

Collaboration diagram for IS31FL3733::IS31FL3733::CmdTxnContext:
Collaboration graph
[legend]

Public Attributes

IS31FL3733self
 Driver instance owning the transaction chain.
 
uint8_t index
 Index of this transaction in the chain.
 
void(* userCallback )(void *, int)
 Optional user callback for final status.
 
void * user
 User pointer passed to callback.
 
bool isFinal
 If true, invoke userCallback on this transaction.
 
int initialStatus
 First error status observed in the chain.
 

Detailed Description

Context passed to SERCOM ISR callback for command-chain transactions.

Definition at line 574 of file is31fl3733.hpp.

Member Data Documentation

◆ index

uint8_t IS31FL3733::IS31FL3733::CmdTxnContext::index

Index of this transaction in the chain.

Definition at line 576 of file is31fl3733.hpp.

◆ initialStatus

int IS31FL3733::IS31FL3733::CmdTxnContext::initialStatus

First error status observed in the chain.

Definition at line 580 of file is31fl3733.hpp.

Referenced by IS31FL3733::IS31FL3733::_asyncRead(), and IS31FL3733::IS31FL3733::_asyncWrite().

◆ isFinal

bool IS31FL3733::IS31FL3733::CmdTxnContext::isFinal

If true, invoke userCallback on this transaction.

Definition at line 579 of file is31fl3733.hpp.

Referenced by IS31FL3733::IS31FL3733::_asyncRead(), and IS31FL3733::IS31FL3733::_asyncWrite().

◆ self

IS31FL3733* IS31FL3733::IS31FL3733::CmdTxnContext::self

Driver instance owning the transaction chain.

Definition at line 575 of file is31fl3733.hpp.

◆ user

void* IS31FL3733::IS31FL3733::CmdTxnContext::user

User pointer passed to callback.

Definition at line 578 of file is31fl3733.hpp.

Referenced by IS31FL3733::IS31FL3733::_asyncRead(), and IS31FL3733::IS31FL3733::_asyncWrite().

◆ userCallback

void(* IS31FL3733::IS31FL3733::CmdTxnContext::userCallback) (void *, int)

Optional user callback for final status.

Definition at line 577 of file is31fl3733.hpp.

Referenced by IS31FL3733::IS31FL3733::_asyncRead(), and IS31FL3733::IS31FL3733::_asyncWrite().


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