SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
sdrv_i2s_config

#include <sdrv_i2s.h>

Data Fields

paddr_t base
 
int id
 
uint32_t irq
 
sdrv_ckgen_node_tclk
 
paddr_t dma_base
 
sdrv_dma_channel_id_e tx_channel_id
 
sdrv_dma_channel_id_e rx_channel_id
 
sdrv_i2s_clk_sync_type_t sync_mode
 
uint8_t tx_chsel
 
uint8_t rx_chsel
 
sdrv_i2s_mclk_dir_t mclk_dir
 
sdrv_i2s_mclk_sel_t mclk_sel
 

Field Documentation

◆ base

paddr_t base

i2s module base addr

◆ clk

i2s module clk

◆ dma_base

paddr_t dma_base

dma used by i2s, which is dma base addr

◆ id

int id

reserved

◆ irq

uint32_t irq

i2s module irq num

◆ mclk_dir

mclk in or out ,default out

◆ mclk_sel

which mclk is selected

◆ rx_channel_id

sdrv_dma_channel_id_e rx_channel_id

dma used by i2s, which is dma channel

◆ rx_chsel

uint8_t rx_chsel

rx data pin

◆ sync_mode

tx rx synchronization

◆ tx_channel_id

sdrv_dma_channel_id_e tx_channel_id

dma used by i2s, which is dma channel

◆ tx_chsel

uint8_t tx_chsel

tx data pin


The documentation for this struct was generated from the following file: