//***************************************************************************** // (C) Automotive Lighting China // // Automotive Lighting Reutlingen GmbH owns all the rights to this work. // This work shall not be copied, reproduced, used, modified, transferred // or its information shall not be disclosed without the prior written // authorization of Automotive Lighting China. //***************************************************************************** // ---------------------------------------------------------------------------- /// \file CddUartEng_Notif.c /// /// \author f24301c [mailto:walker.lv@marelli.com] /// /// \date 05.27.2024 /// /// \brief UartEng notification wrapper, Uart/Timer and any other if necessary /// // ---------------------------------------------------------------------------- //============================================================================= // Includes //============================================================================= #include "CddUartEng.h" // End declaration or definitions of functions //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- // Start definition of functions //----------------------------------------------------------------------------- // GPT notifications // ASSUMPTION: GPT channel index is the same as index Uart_Config.channelCofig[idx] in Uart_PBcfg.c // Bad Idea. void TOM_Notifi_0_0_0(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_0_0); } void TOM_Notifi_0_0_1(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_0_1); } void TOM_Notifi_0_1_0(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_1_0); } void TOM_Notifi_0_1_1(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_1_1); } void TOM_Notifi_0_2_0(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_2_0); } void TOM_Notifi_0_2_1(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_2_1); } void TOM_Notifi_0_3_0(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_3_0); } void TOM_Notifi_0_3_1(void) { Uart_GptTimerNotification(GptConf_GptChannelConfiguration_GptChConf_0_3_1); } // Uart Read/Write notifications void Uart0_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(0u, ErrorId); } void Uart0_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(0u, ErrorId); } void Uart1_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(1u, ErrorId); } void Uart1_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(1u, ErrorId); } void Uart2_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(2u, ErrorId); } void Uart2_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(2u, ErrorId); } void Uart3_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(3u, ErrorId); } void Uart3_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(3u, ErrorId); } void Uart4_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(4u, ErrorId); } void Uart4_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(4u, ErrorId); } void Uart5_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(5u, ErrorId); } void Uart5_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(5u, ErrorId); } void Uart6_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(6u, ErrorId); } void Uart6_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(6u, ErrorId); } void Uart7_WriteNotification(Uart_ErrorIdType ErrorId) { Uart_WriteNotification(7u, ErrorId); } void Uart7_ReadNotification(Uart_ErrorIdType ErrorId) { Uart_ReadNotification(7u, ErrorId); }