Index: firmware/App/Services/Interrupts.c =================================================================== diff -u -r8dad6fab1c33602ad94908fd31b8b15153a9eb6e -r8e7158d8231435496fcf1d5649e51babf859ccc7 --- firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 8dad6fab1c33602ad94908fd31b8b15153a9eb6e) +++ firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 8e7158d8231435496fcf1d5649e51babf859ccc7) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file Interrupts.c * -* @author (last) Sean -* @date (last) 12-May-2020 +* @author (last) Sean Nash +* @date (last) 24-Sep-2020 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -71,9 +71,8 @@ /*********************************************************************//** * @brief * The initInterrupts function initializes the Interrupts module. - * @details - * Inputs : none - * Outputs : Interrupts module initialized. + * @details Inputs: none + * @details Outputs: Interrupts module initialized. * @return none *************************************************************************/ void initInterrupts( void ) @@ -89,9 +88,8 @@ /*********************************************************************//** * @brief * The phantomInterrupt function handles phantom interrupts. - * @details - * Inputs : none - * Outputs : phantom interrupt handled. + * @details Inputs: none + * @details Outputs: phantom interrupt handled. * @return none *************************************************************************/ void phantomInterrupt(void) @@ -111,9 +109,8 @@ /*********************************************************************//** * @brief * The rtiNotification function handles real-time interrupt notifications. - * @details - * Inputs : none - * Outputs : RTI notification handled. + * @details Inputs: none + * @details Outputs: RTI notification handled. * @param notification Which RTI timer caused this interrupt * @return none *************************************************************************/ @@ -146,9 +143,8 @@ /*********************************************************************//** * @brief * The canMessageNotification function handles CAN message notifications. - * @details - * Inputs : none - * Outputs : CAN message notification handled. + * @details Inputs: none + * @details Outputs: CAN message notification handled. * @param node which CAN controller * @param messageBox which message box triggered the message notification * @return none @@ -164,9 +160,8 @@ /*********************************************************************//** * @brief * The canErrorNotification function handles CAN error notifications. - * @details - * Inputs : none - * Outputs : CAN error notification handled. + * @details Inputs: none + * @details Outputs: CAN error notification handled. * @param node which CAN controller * @param notification canLEVEL_PASSIVE (0x20) : When RX- or TX error counter are between 32 and 63 * canLEVEL_WARNING (0x40) : When RX- or TX error counter are between 64 and 127 @@ -241,9 +236,8 @@ * @brief * The sciNotification function handles UART communication error interrupts. * Frame and Over-run errors are handled. - * @details - * Inputs : none - * Outputs : UART error interrupts handled. + * @details Inputs: none + * @details Outputs: UART error interrupts handled. * @param sci Pointer to the SCI peripheral that detected the error * @param flags error flag(s) * @return none @@ -312,9 +306,8 @@ /*********************************************************************//** * @brief * The dmaGroupANotification function handles communication DMA interrupts. - * @details - * Inputs : none - * Outputs : DMA interrupt is handled. + * @details Inputs: none + * @details Outputs: DMA interrupt is handled. * @param inttype type of DMA interrupt * @param channel DMA channel that caused the interrupt * @return none @@ -359,9 +352,8 @@ /*********************************************************************//** * @brief * The edgeNotification function handles rotor hall sensor interrupts. - * @details - * Inputs : none - * Outputs : Rotor hall sensor interrupt is handled according to pin associated with given edge. + * @details Inputs: none + * @details Outputs: Rotor hall sensor interrupt is handled according to pin associated with given edge. * @param hetREG HET controller associated with the edge * @param edge Which edge was detected * @return none