| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Public APIs for the I2S (Inter-IC Sound) bus drivers. More...
Go to the source code of this file.
Data Structures | |
| struct | i2s_config | 
| Interface configuration options.  More... | |
Typedefs | |
| typedef uint8_t | i2s_fmt_t | 
| typedef uint8_t | i2s_opt_t | 
Enumerations | |
| enum | i2s_dir { I2S_DIR_RX , I2S_DIR_TX , I2S_DIR_BOTH } | 
| I2C Direction.  More... | |
| enum | i2s_state {  I2S_STATE_NOT_READY , I2S_STATE_READY , I2S_STATE_RUNNING , I2S_STATE_STOPPING , I2S_STATE_ERROR }  | 
| enum | i2s_trigger_cmd {  I2S_TRIGGER_START , I2S_TRIGGER_STOP , I2S_TRIGGER_DRAIN , I2S_TRIGGER_DROP , I2S_TRIGGER_PREPARE }  | 
Functions | |
| int | i2s_configure (const struct device *dev, enum i2s_dir dir, const struct i2s_config *cfg) | 
| Configure operation of a host I2S controller.  More... | |
| static const struct i2s_config * | i2s_config_get (const struct device *dev, enum i2s_dir dir) | 
| Fetch configuration information of a host I2S controller.  More... | |
| static int | i2s_read (const struct device *dev, void **mem_block, size_t *size) | 
| Read data from the RX queue.  More... | |
| int | i2s_buf_read (const struct device *dev, void *buf, size_t *size) | 
| Read data from the RX queue into a provided buffer.  More... | |
| static int | i2s_write (const struct device *dev, void *mem_block, size_t size) | 
| Write data to the TX queue.  More... | |
| int | i2s_buf_write (const struct device *dev, void *buf, size_t size) | 
| Write data to the TX queue from a provided buffer.  More... | |
| int | i2s_trigger (const struct device *dev, enum i2s_dir dir, enum i2s_trigger_cmd cmd) | 
| Send a trigger command.  More... | |
Public APIs for the I2S (Inter-IC Sound) bus drivers.