![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
PDMCC26XX_I2S Audio Pin configuration. More...
#include <PDMCC26XX_util.h>
Data Fields | |
struct { | |
uint16_t ad1 | |
uint16_t ad0 | |
} | driverLibParams |
struct { | |
uint8_t ad1Usage:2 | |
uint8_t enableMclkPin:1 | |
uint8_t reserved:1 | |
uint8_t ad1NumOfChannels:4 | |
uint8_t ad1ChannelMask | |
uint8_t ad0Usage:2 | |
uint8_t enableWclkPin:1 | |
uint8_t enableBclkPin:1 | |
uint8_t ad0NumOfChannels:4 | |
uint8_t ad0ChannelMask | |
} | bitFields |
PDMCC26XX_I2S Audio Pin configuration.
These fields are used by the driver to set up the I2S module
A sample structure is shown below (single PDM microphone):
uint16_t PDMCC26XX_I2S_AudioPinConfig::ad1 |
Field that can be used to set pin configuration in DriverLib
uint16_t PDMCC26XX_I2S_AudioPinConfig::ad0 |
Field that can be used to set pin configuration in DriverLib
struct { ... } PDMCC26XX_I2S_AudioPinConfig::driverLibParams |
Can be used to set pin configurations in DriverLib
uint8_t PDMCC26XX_I2S_AudioPinConfig::ad1Usage |
I2S AD1 usage (0: Disabled, 1: Input, 2: Output)
uint8_t PDMCC26XX_I2S_AudioPinConfig::enableMclkPin |
I2S Enable Master clock output on pin (0: Disabled, 1: Enabled)
uint8_t PDMCC26XX_I2S_AudioPinConfig::reserved |
Reserved bit field
uint8_t PDMCC26XX_I2S_AudioPinConfig::ad1NumOfChannels |
I2S AD1 number of channels (1 - 8). !Must match channel mask
uint8_t PDMCC26XX_I2S_AudioPinConfig::ad1ChannelMask |
I2S AD1 Channel Mask bitwise 0:Disabled, 1:Enabled) E.g. Mono: 0x01, Stereo: 0x03
uint8_t PDMCC26XX_I2S_AudioPinConfig::ad0Usage |
I2S AD0 usage (0: Disabled, 1: Input, 2: Output)
uint8_t PDMCC26XX_I2S_AudioPinConfig::enableWclkPin |
I2S Enable Word clock output on pin (0: Disabled, 1: Enabled)
uint8_t PDMCC26XX_I2S_AudioPinConfig::enableBclkPin |
I2S Enable Bit clock output on pin (0: Disabled, 1: Enabled)
uint8_t PDMCC26XX_I2S_AudioPinConfig::ad0NumOfChannels |
I2S AD0 number of channels (1 - 8). !Must match channel mask
uint8_t PDMCC26XX_I2S_AudioPinConfig::ad0ChannelMask |
I2S AD0 Channel Mask bitwise(0:Disabled, 1:Enabled) E.g. Mono: 0x01, Stereo: 0x03
struct { ... } PDMCC26XX_I2S_AudioPinConfig::bitFields |
Used to configure various aspects of the I2S hardware during initialisation