Contains settings for initialising an SAI Interface
#include <sai.h>
Public Types | |
enum class | Peripheral { SAI_1 , SAI_2 } |
enum class | SampleRate { SAI_8KHZ , SAI_16KHZ , SAI_32KHZ , SAI_48KHZ , SAI_96KHZ } |
enum class | BitDepth { SAI_16BIT , SAI_24BIT , SAI_32BIT } |
enum class | Sync { MASTER , SLAVE } |
enum class | Direction { TRANSMIT , RECEIVE } |
Public Attributes | ||
Peripheral | periph | |
struct { | ||
Pin mclk | ||
Pin fs | ||
Pin sck | ||
Pin sa | ||
Pin sb | ||
} | pin_config | |
SampleRate | sr | |
BitDepth | bit_depth | |
Sync | a_sync | |
Sync | b_sync | |
Direction | a_dir | |
Direction | b_dir | |
Direction daisy::SaiHandle::Config::a_dir |
Sync daisy::SaiHandle::Config::a_sync |
Direction daisy::SaiHandle::Config::b_dir |
Sync daisy::SaiHandle::Config::b_sync |
BitDepth daisy::SaiHandle::Config::bit_depth |
Pin daisy::SaiHandle::Config::fs |
Pin daisy::SaiHandle::Config::mclk |
Peripheral daisy::SaiHandle::Config::periph |
struct { ... } daisy::SaiHandle::Config::pin_config |
Pin daisy::SaiHandle::Config::sa |
Pin daisy::SaiHandle::Config::sb |
Pin daisy::SaiHandle::Config::sck |
SampleRate daisy::SaiHandle::Config::sr |