STMicroelectronics' implementation of an I2S driver, also including DMA support.

Dependents:   temp X_NUCLEO_CCA01M1 X_NUCLEO_CCA01M1 X_NUCLEO_CCA02M1

Platform compatibility

This driver has been designed to support a wide range of the Nucleo F4 Family of platforms and MCUs, but not all members of this family support I2S and/or some of the members might require slight modifications to the sources of this driver in order to make it work on those.

This driver has for now been tested only with the following platforms:

hal/stm_dma_api.h

Committer:
Wolfgang Betz
Date:
2017-07-12
Revision:
31:bb4bac0874da
Parent:
9:c4c2240e06d6

File content as of revision 31:bb4bac0874da:

#ifndef STM_DMA_API_H
#define STM_DMA_API_H

#include <stdint.h>

#define STM_DMA_ERROR_OUT_OF_CHANNELS (NULL)

typedef void* channelid_t;

#ifdef __cplusplus
extern "C" {
#endif

    void stm_dma_init(void);

    channelid_t stm_dma_channel_allocate(uint32_t capabilities);

    void stm_dma_channel_free(channelid_t channelid);

#ifdef __cplusplus
}
#endif

#endif

/** @}*/