159 return pimpl_ ==
nullptr ?
false :
true;
Definition leddriver.h:33
Result StartDma(int32_t *buffer_rx, int32_t *buffer_tx, size_t size, CallbackFunctionPtr callback)
const Config & GetConfig() const
SaiHandle(const SaiHandle &other)=default
Result
Definition sai.h:104
SaiHandle()
Definition sai.h:109
bool IsInitialized() const
Definition sai.h:157
void(* CallbackFunctionPtr)(int32_t *in, int32_t *out, size_t size)
Definition sai.h:128
SaiHandle & operator=(const SaiHandle &other)=default
Result Init(const Config &config)
Hardware defines and helpers for daisy field platform.
Definition index.h:2
representation of hardware port/pin combination
Definition daisy_core.h:193
SampleRate sr
Definition sai.h:96
BitDepth bit_depth
Definition sai.h:97
Pin sck
Definition sai.h:94
Direction a_dir
Definition sai.h:99
Pin sa
Definition sai.h:94
Direction b_dir
Definition sai.h:99
Pin fs
Definition sai.h:94
Peripheral
Definition sai.h:51
Direction
Definition sai.h:86
struct daisy::SaiHandle::Config::@17 pin_config
Pin sb
Definition sai.h:94
BitDepth
Definition sai.h:68
Sync a_sync
Definition sai.h:98
Peripheral periph
Definition sai.h:91
SampleRate
Definition sai.h:58
Sync b_sync
Definition sai.h:98
Pin mclk
Definition sai.h:94