I2S handle Structure definition. More...
#include <gr55xx_hal_i2s.h>
Data Fields | |
i2s_regs_t * | p_instance |
i2s_init_t | init |
uint16_t * | p_tx_buffer |
__IO uint32_t | tx_xfer_size |
__IO uint32_t | tx_xfer_count |
uint16_t * | p_rx_buffer |
__IO uint32_t | rx_xfer_size |
__IO uint32_t | rx_xfer_count |
void(* | write_fifo )(struct _i2s_handle *p_i2s) |
void(* | read_fifo )(struct _i2s_handle *p_i2s) |
dma_handle_t * | p_dmatx |
dma_handle_t * | p_dmarx |
__IO hal_lock_t | lock |
__IO hal_i2s_state_t | state |
__IO uint32_t | error_code |
uint32_t | timeout |
uint32_t | retention [7] |
I2S handle Structure definition.
__IO uint32_t _i2s_handle::error_code |
I2S Error code
i2s_init_t _i2s_handle::init |
I2S communication parameters
__IO hal_lock_t _i2s_handle::lock |
Locking object
dma_handle_t* _i2s_handle::p_dmarx |
I2S RX DMA Handle parameters
dma_handle_t* _i2s_handle::p_dmatx |
I2S TX DMA Handle parameters
i2s_regs_t* _i2s_handle::p_instance |
I2S registers base address
uint16_t* _i2s_handle::p_rx_buffer |
Pointer to I2S RX transfer Buffer
uint16_t* _i2s_handle::p_tx_buffer |
Pointer to I2S TX transfer Buffer
void(* _i2s_handle::read_fifo) (struct _i2s_handle *p_i2s) |
Pointer to I2S Rx transfer FIFO read function
uint32_t _i2s_handle::retention[7] |
I2S important register information.
__IO uint32_t _i2s_handle::rx_xfer_count |
I2S RX Transfer Counter
__IO uint32_t _i2s_handle::rx_xfer_size |
I2S RX Transfer size
__IO hal_i2s_state_t _i2s_handle::state |
I2S communication state
uint32_t _i2s_handle::timeout |
Timeout for the I2S memory access
__IO uint32_t _i2s_handle::tx_xfer_count |
I2S TX Transfer Counter
__IO uint32_t _i2s_handle::tx_xfer_size |
I2S TX Transfer size
void(* _i2s_handle::write_fifo) (struct _i2s_handle *p_i2s) |
Pointer to I2S Tx transfer FIFO write function