Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS > Class Template Reference

#include <DotStarEsp32DmaSpiMethod.h>

Public Types

typedef T_SPISPEED::SettingsObject SettingsObject
 

Public Member Functions

 DotStarEsp32DmaSpiMethodBase (uint16_t pixelCount, size_t elementSize, size_t settingsSize)
 
 DotStarEsp32DmaSpiMethodBase (uint8_t, uint8_t, uint16_t pixelCount, size_t elementSize, size_t settingsSize)
 
 ~DotStarEsp32DmaSpiMethodBase ()
 
bool IsReadyToUpdate () const
 
void Initialize (int8_t sck, int8_t dat0, int8_t dat1, int8_t dat2, int8_t dat3, int8_t dat4, int8_t dat5, int8_t dat6, int8_t dat7, int8_t ss)
 
void Initialize (int8_t sck, int8_t dat0, int8_t dat1, int8_t dat2, int8_t dat3, int8_t ss)
 
void Initialize (int8_t sck, int8_t miso, int8_t mosi, int8_t ss)
 
void Initialize ()
 
void Update (bool)
 
bool AlwaysUpdate ()
 
uint8_t * getData () const
 
size_t getDataSize () const
 
void applySettings ([[maybe_unused]] const SettingsObject &settings)
 

Member Typedef Documentation

◆ SettingsObject

template<typename T_SPISPEED , typename T_SPIBUS >
typedef T_SPISPEED::SettingsObject DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::SettingsObject

Constructor & Destructor Documentation

◆ DotStarEsp32DmaSpiMethodBase() [1/2]

template<typename T_SPISPEED , typename T_SPIBUS >
DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::DotStarEsp32DmaSpiMethodBase ( uint16_t  pixelCount,
size_t  elementSize,
size_t  settingsSize 
)
inline

◆ DotStarEsp32DmaSpiMethodBase() [2/2]

template<typename T_SPISPEED , typename T_SPIBUS >
DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::DotStarEsp32DmaSpiMethodBase ( uint8_t  ,
uint8_t  ,
uint16_t  pixelCount,
size_t  elementSize,
size_t  settingsSize 
)
inline

◆ ~DotStarEsp32DmaSpiMethodBase()

template<typename T_SPISPEED , typename T_SPIBUS >
DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::~DotStarEsp32DmaSpiMethodBase ( )
inline

Member Function Documentation

◆ AlwaysUpdate()

template<typename T_SPISPEED , typename T_SPIBUS >
bool DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::AlwaysUpdate ( )
inline

◆ applySettings()

template<typename T_SPISPEED , typename T_SPIBUS >
void DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::applySettings ( [[maybe_unused] ] const SettingsObject settings)
inline

◆ getData()

template<typename T_SPISPEED , typename T_SPIBUS >
uint8_t* DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::getData ( ) const
inline

◆ getDataSize()

template<typename T_SPISPEED , typename T_SPIBUS >
size_t DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::getDataSize ( ) const
inline

◆ Initialize() [1/4]

template<typename T_SPISPEED , typename T_SPIBUS >
void DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::Initialize ( )
inline

◆ Initialize() [2/4]

template<typename T_SPISPEED , typename T_SPIBUS >
void DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::Initialize ( int8_t  sck,
int8_t  dat0,
int8_t  dat1,
int8_t  dat2,
int8_t  dat3,
int8_t  dat4,
int8_t  dat5,
int8_t  dat6,
int8_t  dat7,
int8_t  ss 
)
inline

◆ Initialize() [3/4]

template<typename T_SPISPEED , typename T_SPIBUS >
void DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::Initialize ( int8_t  sck,
int8_t  dat0,
int8_t  dat1,
int8_t  dat2,
int8_t  dat3,
int8_t  ss 
)
inline

◆ Initialize() [4/4]

template<typename T_SPISPEED , typename T_SPIBUS >
void DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::Initialize ( int8_t  sck,
int8_t  miso,
int8_t  mosi,
int8_t  ss 
)
inline

◆ IsReadyToUpdate()

template<typename T_SPISPEED , typename T_SPIBUS >
bool DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::IsReadyToUpdate ( ) const
inline

◆ Update()

template<typename T_SPISPEED , typename T_SPIBUS >
void DotStarEsp32DmaSpiMethodBase< T_SPISPEED, T_SPIBUS >::Update ( bool  )
inline