ChibiOS/HAL  6.1.0
hal_i2s.h File Reference

I2S Driver macros and structures. More...

#include "hal_i2s_lld.h"

Go to the source code of this file.

Macros

I2S modes
#define I2S_MODE_SLAVE   0
 
#define I2S_MODE_MASTER   1
 
Macro Functions
#define i2sStartExchangeI(i2sp)
 Starts a I2S data exchange. More...
 
#define i2sStopExchangeI(i2sp)
 Stops the ongoing data exchange. More...
 
#define _i2s_isr_half_code(i2sp)
 Common ISR code, half buffer event. More...
 
#define _i2s_isr_full_code(i2sp)
 Common ISR code. More...
 

Enumerations

Functions

void i2sInit (void)
 I2S Driver initialization. More...
 
void i2sObjectInit (I2SDriver *i2sp)
 Initializes the standard part of a I2SDriver structure. More...
 
void i2sStart (I2SDriver *i2sp, const I2SConfig *config)
 Configures and activates the I2S peripheral. More...
 
void i2sStop (I2SDriver *i2sp)
 Deactivates the I2S peripheral. More...
 
void i2sStartExchange (I2SDriver *i2sp)
 Starts a I2S data exchange. More...
 
void i2sStopExchange (I2SDriver *i2sp)
 Stops the ongoing data exchange. More...
 

Detailed Description

I2S Driver macros and structures.

Definition in file hal_i2s.h.