MCUSW
Loading...
Searching...
No Matches
Cdd_Uart_Irq.h
Go to the documentation of this file.
1/* ===============================================================================================
2 * Copyright (C) 2024 Texas Instruments Incorporated
3 *
4 * All rights reserved. Property of Texas Instruments Incorporated.
5 * Restricted rights to use, duplicate or disclose this code are
6 * granted through contract.
7 *
8 * The program may not be used without the written permission
9 * of Texas Instruments Incorporated or against the terms and conditions
10 * stipulated in the agreement under which this program has been
11 * supplied.
12 * ============================================================================================ */
13
26#ifndef CDD_UART_IRQ_H_
27#define CDD_UART_IRQ_H_
28
29/*************************************************************************************************
30 * INCLUDES
31 ************************************************************************************************/
32
33#include "Cdd_Uart.h"
34
35#ifdef __cplusplus
36extern "C"
37{
38#endif
39
40/*************************************************************************************************
41 * GLOBAL MACROS
42 ************************************************************************************************/
43
51#define CDD_UART_ISR_VOID (0x00U)
53#define CDD_UART_ISR_CAT1 (0x01U)
55#define CDD_UART_ISR_CAT2 (0x02U)
56/* @} */
57
58
59/*************************************************************************************************
60 * FUNCTION DECLARATIONS
61 ************************************************************************************************/
62
64FUNC(void, CDD_UART_CODE) Cdd_Uart_ChannelIsr(uint8 ChannelID);
65
67#ifdef CDD_UART_UNIT_UART0_ACTIVE
68#if ((CDD_UART_ISR_TYPE == CDD_UART_ISR_CAT1) || (CDD_UART_ISR_TYPE == CDD_UART_ISR_VOID))
69void Cdd_Uart_Channel0Isr( void );
70#elif (CDD_UART_ISR_TYPE == CDD_UART_ISR_CAT2)
71ISR( Cdd_Uart_Channel0Isr );
72#endif
73#endif
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
This file contains interface header for UART Complex Device Driver.
void Cdd_Uart_ChannelIsr(uint8 ChannelID)
UART Master ISR function.