I2S Hardware attributes. More...
#include <I2SCC26XX.h>
Data Fields | |
PIN_Id | pinSD1 |
PIN_Id | pinSD0 |
PIN_Id | pinSCK |
PIN_Id | pinMCLK |
PIN_Id | pinWS |
uint8_t | intPriority |
I2S Hardware attributes.
intPriority is the I2S peripheral's interrupt priority, as defined by the TI-RTOS kernel. This value is passed unmodified to Hwi_create().
pinSD1 and pinSD0 define the SD0 and SD1 data pin mapping, respectively. pinSCK, pinMCLK and pinWS define the SCK, MCLK and WS clock pin mapping, respectively. All these pins are typically defined with a macro in a header file, which maps to an IOID.
A sample structure is shown below:
PIN_Id I2SCC26XX_HWAttrs_::pinSD1 |
Pin used for SD1 signal.
PIN_Id I2SCC26XX_HWAttrs_::pinSD0 |
Pin used for SD0 signal.
PIN_Id I2SCC26XX_HWAttrs_::pinSCK |
Pin used for SCK signal.
PIN_Id I2SCC26XX_HWAttrs_::pinMCLK |
Pin used for MCLK signal. Non used in most of the applications.
PIN_Id I2SCC26XX_HWAttrs_::pinWS |
Pin used for WS signal.
uint8_t I2SCC26XX_HWAttrs_::intPriority |
I2S Peripheral's interrupt priority.