Quentin Roche / ST_I2S

Dependents:   X_NUCLEO_CCA02M1

Fork of ST_I2S by ST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers stm_dma_api.h Source File

stm_dma_api.h

00001 #ifndef STM_DMA_API_H
00002 #define STM_DMA_API_H
00003 
00004 #include <stdint.h>
00005 
00006 #define STM_DMA_ERROR_OUT_OF_CHANNELS (NULL)
00007 
00008 typedef void* channelid_t;
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014     void stm_dma_init(void);
00015 
00016     channelid_t stm_dma_channel_allocate(uint32_t capabilities);
00017 
00018     void stm_dma_channel_free(channelid_t channelid);
00019 
00020 #ifdef __cplusplus
00021 }
00022 #endif
00023 
00024 #endif
00025 
00026 /** @}*/