Start doxygen documentation

This commit is contained in:
2020-02-16 17:35:35 +01:00
parent 9629c08da2
commit f8076920fe
6 changed files with 54 additions and 19 deletions

View File

@@ -18,6 +18,15 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file dma-ring-buffer.h
* @brief Header for DMA Ring buffer implemenation
*/
/**
* @defgroup dma-ring-buffer DMA Ring Buffers from and to Peripherals
*/
#ifndef __DMA_RING_BUFFER_H__
#define __DMA_RING_BUFFER_H__
@@ -25,6 +34,11 @@
#include <stm32/stm32f4xx.h>
#include <stddef.h>
/**
* @addtogroup dma-ring-buffer
* @{
*/
/**
* @brief DMA ring buffer for data transfer from peripheral to memory
*/
@@ -124,6 +138,8 @@ void dma_ring_buffer_mem_to_periph_int_callback(struct dma_ring_buffer_to_periph
*/
void dma_ring_buffer_mem_to_periph_stop(struct dma_ring_buffer_to_periph *buff);
/** @} */
#endif /* __DMA_RING_BUFFER_H__ */