Index: firmware/App/Services/Comm.c =================================================================== diff -u -rba60692a9ecaf59cb5cb8490f4276917f43bcd01 -rc74c1d99a011dd0fb7f98f183faecda675221fce --- firmware/App/Services/Comm.c (.../Comm.c) (revision ba60692a9ecaf59cb5cb8490f4276917f43bcd01) +++ firmware/App/Services/Comm.c (.../Comm.c) (revision c74c1d99a011dd0fb7f98f183faecda675221fce) @@ -1,25 +1,52 @@ -/* - * Comm.c - * - * Created on: Aug 19, 2024 - * Author: fw - */ #include "sci.h" #include "sys_dma.h" #include "Comm.h" +/** + * @addtogroup CommInterrupts + * @{ + */ + +// ********** private definitions ********** + +// ********** private data ********** + +/*********************************************************************//** + * @brief + * The setSCI2DMAReceiveInterrupt function enables DMA receive interrupts + * for the SCI2 peripheral. + * @details Inputs: none + * @details Outputs: DMA receive interrupt is enabled. + * @return none + *************************************************************************/ void setSCI2DMAReceiveInterrupt( void ) { scilinREG->SETINT = SCI_DMA_RECEIVE_INT; } +/*********************************************************************//** + * @brief + * The setSCI2DMATransmitInterrupt function enables DMA transmit interrupts + * for the SCI2 peripheral. + * @details Inputs: none + * @details Outputs: DMA transmit interrupt is enabled. + * @return none + *************************************************************************/ void setSCI2DMATransmitInterrupt( void ) { scilinREG->SETINT = SCI_DMA_TRANSMIT_INT; } +/*********************************************************************//** + * @brief + * The clearSCI2DMAReceiveInterrupt function disables DMA receive interrupts + * for the SCI2 peripheral. + * @details Inputs: none + * @details Outputs: DMA receive interrupt is disabled. + * @return none + *************************************************************************/ void clearSCI2DMAReceiveInterrupt( void ) { scilinREG->CLEARINT = SCI_DMA_RECEIVE_INT;