26#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32660_I2S_H_
27#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32660_I2S_H_
59} mxc_i2s_audio_mode_t;
69 mxc_i2s_sys_map_t map;
70 mxc_i2s_justify_t justify;
71 mxc_i2s_audio_mode_t audio_mode;
74 unsigned int start_immediately;
75 unsigned int dma_reload_en;
int MXC_I2S_Start(void)
Starts I2S Output.
int MXC_I2S_DMA_SetAddrCnt(void *src_addr, void *dst_addr, unsigned int count)
Set DMA Addr (Source or Dest) and bytes to transfer.
int MXC_I2S_Stop(void)
Stops I2S Output.
int MXC_I2S_Pause(void)
Pause I2S Output.
int MXC_I2S_DMA_SetReload(void *src_addr, void *dst_addr, unsigned int count)
Sets the DMA reload address and count.
mxc_i2s_direction_t
I2S audio directions.
Definition: i2s.h:62
int MXC_I2S_Init(const mxc_i2s_config_t *config, void(*dma_ctz_cb)(int, int))
Initialize I2S resources.
int MXC_I2S_Unpause(void)
Unpause I2S Output.
int MXC_I2S_DMA_ClearFlags(void)
Clears DMA Interrupt Flags.
int MXC_I2S_Unmute(void)
Unmute I2S Output.
int MXC_I2S_Shutdown(void)
Release I2S.
int MXC_I2S_Mute(void)
Mute I2S Output.
I2S Configuration Struct.
Definition: i2s.h:68
Registers, Bit Masks and Bit Positions for the SPIMSS Peripheral Module.