FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
i2s_itf_data_s Struct Reference

Data Fields

struct pi_task * fifo_head
 
struct pi_task * fifo_tail
 
uint32_t device_id
 
uint32_t nb_open
 
uint32_t frequency
 
uint32_t frame_clk_freq
 
uint32_t udma_cfg
 
uint32_t pending_size
 
size_t block_size
 
uint8_t i2s_id
 
uint16_t pdm_decimation
 
int8_t pdm_shift
 
uint8_t pdm_filter_ena
 
uint8_t word_size
 
uint8_t channels
 
uint8_t clk
 
uint8_t cur_buffer
 
uint8_t cur_read_buffer
 
uint8_t nb_ready_buffer
 
uint8_t reenqueue
 
pi_i2s_fmt_t format
 
pi_i2s_opt_t options
 
void * pending_buffer
 
void * pingpong_buffers [2]
 
void ** ring_buffer
 
uint32_t ring_buffer_nb_elem
 
uint32_t ring_buffer_head
 
uint32_t ring_buffer_tail
 
pi_mem_slab_t * mem_slab
 
uint32_t clkcfg
 
uint32_t glb_setup
 
struct i2s_itf_slot_sslots
 

Field Documentation

uint32_t i2s_itf_data_s::clkcfg

Referenced by __pi_i2s_open(), and __pi_i2s_resume().

uint8_t i2s_itf_data_s::cur_buffer
uint8_t i2s_itf_data_s::cur_read_buffer
struct pi_task* i2s_itf_data_s::fifo_head
struct pi_task* i2s_itf_data_s::fifo_tail
pi_i2s_fmt_t i2s_itf_data_s::format
uint32_t i2s_itf_data_s::frame_clk_freq
uint32_t i2s_itf_data_s::frequency
uint32_t i2s_itf_data_s::glb_setup

Referenced by __pi_i2s_open(), and __pi_i2s_resume().

pi_mem_slab_t* i2s_itf_data_s::mem_slab
uint32_t i2s_itf_data_s::nb_open

Referenced by __pi_i2s_close(), and __pi_i2s_open().

uint8_t i2s_itf_data_s::nb_ready_buffer
uint16_t i2s_itf_data_s::pdm_decimation
uint8_t i2s_itf_data_s::pdm_filter_ena
int8_t i2s_itf_data_s::pdm_shift
void* i2s_itf_data_s::pending_buffer

Referenced by __pi_i2s_enqueue().

uint32_t i2s_itf_data_s::pending_size

Referenced by __pi_i2s_enqueue(), and __pi_i2s_open().

uint8_t i2s_itf_data_s::reenqueue
void** i2s_itf_data_s::ring_buffer
uint32_t i2s_itf_data_s::ring_buffer_head
uint32_t i2s_itf_data_s::ring_buffer_nb_elem
uint32_t i2s_itf_data_s::ring_buffer_tail
uint32_t i2s_itf_data_s::udma_cfg