Il y avait des problèmes dans la libraire...

Dependents:   X_NUCLEO_CCA02M1

Fork of ST_I2S by ST

hal/stm_dma_api.h

Committer:
Wolfgang Betz
Date:
2016-11-29
Revision:
1:f90318e0923b
Child:
7:e9105ae127ad

File content as of revision 1:f90318e0923b:

#ifndef STM_DMA_API_H
#define STM_DMA_API_H

#include <stdint.h>

#define 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

/** @}*/