MCUSW
Pwm_Irq.h
Go to the documentation of this file.
1 /*
2 *
3 * Copyright (c) 2019 Texas Instruments Incorporated
4 *
5 * All rights reserved not granted herein.
6 *
7 * Limited License.
8 *
9 * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
10 * license under copyrights and patents it now or hereafter owns or controls to make,
11 * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
12 * terms herein. With respect to the foregoing patent license, such license is granted
13 * solely to the extent that any such patent is necessary to Utilize the software alone.
14 * The patent license shall not apply to any combinations which include this software,
15 * other than combinations with devices manufactured by or for TI ("TI Devices").
16 * No hardware patent is licensed hereunder.
17 *
18 * Redistributions must preserve existing copyright notices and reproduce this license
19 * (including the above copyright notice and the disclaimer and (if applicable) source
20 * code license limitations below) in the documentation and/or other materials provided
21 * with the distribution
22 *
23 * Redistribution and use in binary form, without modification, are permitted provided
24 * that the following conditions are met:
25 *
26 * * No reverse engineering, decompilation, or disassembly of this software is
27 * permitted with respect to any software provided in binary form.
28 *
29 * * any redistribution and use are licensed by TI for use only with TI Devices.
30 *
31 * * Nothing shall obligate TI to provide you with source code for the software
32 * licensed and provided to you in object code.
33 *
34 * If software source code is provided to you, modification and redistribution of the
35 * source code are permitted provided that the following conditions are met:
36 *
37 * * any redistribution and use of the source code, including any resulting derivative
38 * works, are licensed by TI for use only with TI Devices.
39 *
40 * * any redistribution and use of any object code compiled from the source code
41 * and any resulting derivative works, are licensed by TI for use only with TI Devices.
42 *
43 * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
44 *
45 * may be used to endorse or promote products derived from this software without
46 * specific prior written permission.
47 *
48 * DISCLAIMER.
49 *
50 * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
51 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
52 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
54 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
55 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
56 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
57 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
58 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
59 * OF THE POSSIBILITY OF SUCH DAMAGE.
60 *
61 */
62 
78 #ifndef PWM_IRQ_H_
79 #define PWM_IRQ_H_
80 
81 /* ========================================================================== */
82 /* Include Files */
83 /* ========================================================================== */
84 /* Design : DES_PWM_006 */
85 /* Requirements : MCAL-3508 */
86 #include "Pwm.h"
87 #ifdef __cplusplus
88 extern "C"
89 {
90 #endif
91 
92 /* ========================================================================== */
93 /* Macros & Typedefs */
94 /* ========================================================================== */
95 
96 
104 #define PWM_ISR_VOID (0x00U)
105 
106 #define PWM_ISR_CAT1 (0x01U)
107 
108 #define PWM_ISR_CAT2 (0x02U)
109 /* @} */
110 
111 /* ========================================================================== */
112 /* Structures and Enums */
113 /* ========================================================================== */
114 
115 /* None */
116 
117 /* ========================================================================== */
118 /* GLOBAL VARIABLES */
119 /* ========================================================================== */
120 /* None */
121 
122 /* ========================================================================== */
123 /* Function Declarations */
124 /* ========================================================================== */
125 #if (STD_ON == PWM_NOTIFICATION_SUPPORTED)
126 #if ((PWM_ISR_TYPE == PWM_ISR_CAT1) || (PWM_ISR_TYPE == PWM_ISR_VOID))
127 
128 FUNC(void, PWM_CODE_FAST) Pwm_Ch1Isr(void);
130 FUNC(void, PWM_CODE_FAST) Pwm_Ch2Isr(void);
132 FUNC(void, PWM_CODE_FAST) Pwm_Ch3Isr(void);
134 FUNC(void, PWM_CODE_FAST) Pwm_Ch4Isr(void);
136 FUNC(void, PWM_CODE_FAST) Pwm_Ch5Isr(void);
138 FUNC(void, PWM_CODE_FAST) Pwm_Ch6Isr(void);
140 FUNC(void, PWM_CODE_FAST) Pwm_Ch7Isr(void);
142 FUNC(void, PWM_CODE_FAST) Pwm_Ch8Isr(void);
144 FUNC(void, PWM_CODE_FAST) Pwm_Ch9Isr(void);
146 FUNC(void, PWM_CODE_FAST) Pwm_Ch10Isr(void);
148 FUNC(void, PWM_CODE_FAST) Pwm_Ch11Isr(void);
150 FUNC(void, PWM_CODE_FAST) Pwm_Ch12Isr(void);
152 FUNC(void, PWM_CODE_FAST) Pwm_Ch13Isr(void);
154 FUNC(void, PWM_CODE_FAST) Pwm_Ch14Isr(void);
156 FUNC(void, PWM_CODE_FAST) Pwm_Ch15Isr(void);
158 FUNC(void, PWM_CODE_FAST) Pwm_Ch16Isr(void);
159 
160 #if defined (SOC_J721E)
161 
163 FUNC(void, PWM_CODE_FAST) Pwm_Ch17Isr(void);
165 FUNC(void, PWM_CODE_FAST) Pwm_Ch18Isr(void);
167 FUNC(void, PWM_CODE_FAST) Pwm_Ch19Isr(void);
169 FUNC(void, PWM_CODE_FAST) Pwm_Ch20Isr(void);
171 FUNC(void, PWM_CODE_FAST) Pwm_Ch21Isr(void);
173 FUNC(void, PWM_CODE_FAST) Pwm_Ch22Isr(void);
175 FUNC(void, PWM_CODE_FAST) Pwm_Ch23Isr(void);
177 FUNC(void, PWM_CODE_FAST) Pwm_Ch24Isr(void);
179 FUNC(void, PWM_CODE_FAST) Pwm_Ch25Isr(void);
181 FUNC(void, PWM_CODE_FAST) Pwm_Ch26Isr(void);
183 FUNC(void, PWM_CODE_FAST) Pwm_Ch27Isr(void);
185 FUNC(void, PWM_CODE_FAST) Pwm_Ch28Isr(void);
187 FUNC(void, PWM_CODE_FAST) Pwm_Ch29Isr(void);
189 FUNC(void, PWM_CODE_FAST) Pwm_Ch30Isr(void);
190 
191 #endif /* SOC_J721E */
192 
193 #elif (PWM_ISR_TYPE == PWM_ISR_CAT2)
194 /* Function prototype is declared by OS */
195 #endif
196 #endif
197 #ifdef __cplusplus
198 }
199 #endif
200 
201 #endif /* #ifndef PWM_IRQ_H_ */
202 
203 /* @} */
void Pwm_Ch4Isr(void)
PWM Channel 4 ISR.
void Pwm_Ch3Isr(void)
PWM Channel 3 ISR.
void Pwm_Ch7Isr(void)
PWM Channel 7 ISR.
void Pwm_Ch13Isr(void)
PWM Channel 13 ISR.
void Pwm_Ch23Isr(void)
PWM Channel 23 ISR.
void Pwm_Ch1Isr(void)
PWM Channel 1 ISR.
void Pwm_Ch22Isr(void)
PWM Channel 22 ISR.
void Pwm_Ch6Isr(void)
PWM Channel 6 ISR.
void Pwm_Ch28Isr(void)
PWM Channel 28 ISR.
void Pwm_Ch14Isr(void)
PWM Channel 14 ISR.
void Pwm_Ch15Isr(void)
PWM Channel 15 ISR.
void Pwm_Ch18Isr(void)
PWM Channel 18 ISR.
void Pwm_Ch9Isr(void)
PWM Channel 9 ISR.
void Pwm_Ch11Isr(void)
PWM Channel 11 ISR.
void Pwm_Ch27Isr(void)
PWM Channel 27 ISR.
void Pwm_Ch26Isr(void)
PWM Channel 26 ISR.
void Pwm_Ch20Isr(void)
PWM Channel 20 ISR.
void Pwm_Ch8Isr(void)
PWM Channel 8 ISR.
This file contains interface header for PWM MCAL driver.
void Pwm_Ch30Isr(void)
PWM Channel 30 ISR.
void Pwm_Ch19Isr(void)
PWM Channel 19 ISR.
void Pwm_Ch24Isr(void)
PWM Channel 24 ISR.
void Pwm_Ch25Isr(void)
PWM Channel 25 ISR.
void Pwm_Ch17Isr(void)
PWM Channel 17 ISR.
void Pwm_Ch10Isr(void)
PWM Channel 10 ISR.
void Pwm_Ch2Isr(void)
PWM Channel 2 ISR.
void Pwm_Ch29Isr(void)
PWM Channel 29 ISR.
void Pwm_Ch5Isr(void)
PWM Channel 5 ISR.
void Pwm_Ch16Isr(void)
PWM Channel 16 ISR.
void Pwm_Ch21Isr(void)
PWM Channel 21 ISR.
void Pwm_Ch12Isr(void)
PWM Channel 12 ISR.