Struct daisy::SaiHandle::Config¶
ClassList > daisy > SaiHandle > Config
#include <sai.h>
Public Types¶
Type | Name |
---|---|
enum | BitDepth |
enum | Direction |
enum | Peripheral |
enum | SampleRate |
enum | Sync |
Public Attributes¶
Type | Name |
---|---|
Direction | a_dir |
Sync | a_sync |
Direction | b_dir |
Sync | b_sync |
BitDepth | bit_depth |
Pin | fs |
Pin | mclk |
Peripheral | periph |
struct daisy::SaiHandle::Config | pin_config |
Pin | sa |
Pin | sb |
Pin | sck |
SampleRate | sr |
Detailed Description¶
Contains settings for initialising an SAI Interface
Public Types Documentation¶
enum BitDepth¶
Bit Depth that the hardware expects to be transferred to/from the device.
enum Direction¶
Specifies the direction for each peripheral block.
enum Peripheral¶
Specifies the internal peripheral to use (mapped to different hardware pins)
enum SampleRate¶
Rate at which samples will be streaming to/from the device.
enum Sync¶
Specifies whether a particular block is the master or the slave If both are set to slave, no MCLK signal will be used, and it is expected that the codec will have its own xtal.
Public Attributes Documentation¶
variable a_dir¶
variable a_sync¶
variable b_dir¶
variable b_sync¶
variable bit_depth¶
variable fs¶
variable mclk¶
variable periph¶
variable pin_config¶
variable sa¶
variable sb¶
variable sck¶
variable sr¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/per/sai.h