# mios32/LPC17xx/mios32_i2s.c File Reference

`#include <mios32.h>`

## Defines
#define | MIOS32_I2S_PERIPHERAL_FRQ (MIOS32_SYS_CPU_FREQUENCY)
#define | MIOS32_I2S_DIV2 1
#define | MIOS32_I2S_CLK_INIT { MIOS32_SYS_LPC_PINSEL(2, 11, 3); }
#define | MIOS32_I2S_WS_INIT { MIOS32_SYS_LPC_PINSEL(2, 12, 3); }
#define | MIOS32_I2S_SDA_INIT { MIOS32_SYS_LPC_PINSEL(2, 13, 3); }
#define | MIOS32_I2S_MCLK_INIT { MIOS32_SYS_LPC_PINSEL(4, 29, 1); }
#define | MIOS32_I2S_DMA_REQ 5
#define | MIOS32_I2S_DMA_CHN 5
## Functions
s32 | MIOS32_I2S_Init (u32 mode)
s32 | MIOS32_I2S_Start (u32 *buffer, u16 len, void *_callback)
s32 | MIOS32_I2S_Stop (void)