Lpuart_Uart_Ip_Irq.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : FLEXIO
  5. * Dependencies :
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. #ifndef LPUART_UART_IP_IRQ_H
  25. #define LPUART_UART_IP_IRQ_H
  26. /**
  27. * @file
  28. * @defgroup lpuart_uart_ip Lpuart UART IPL
  29. * @addtogroup lpuart_uart_ip Lpuart UART IPL
  30. * @{
  31. */
  32. #ifdef __cplusplus
  33. extern "C"{
  34. #endif
  35. /*==================================================================================================
  36. * INCLUDE FILES
  37. * 1) system and project includes
  38. * 2) needed interfaces from external units
  39. * 3) internal and external interfaces from this unit
  40. ==================================================================================================*/
  41. #include "Lpuart_Uart_Ip_Cfg.h"
  42. /*==================================================================================================
  43. * SOURCE FILE VERSION INFORMATION
  44. ==================================================================================================*/
  45. #define LPUART_UART_IP_IRQ_VENDOR_ID 43
  46. #define LPUART_UART_IP_IRQ_AR_RELEASE_MAJOR_VERSION 4
  47. #define LPUART_UART_IP_IRQ_AR_RELEASE_MINOR_VERSION 4
  48. #define LPUART_UART_IP_IRQ_AR_RELEASE_REVISION_VERSION 0
  49. #define LPUART_UART_IP_IRQ_SW_MAJOR_VERSION 1
  50. #define LPUART_UART_IP_IRQ_SW_MINOR_VERSION 0
  51. #define LPUART_UART_IP_IRQ_SW_PATCH_VERSION 0
  52. /*==================================================================================================
  53. * FILE VERSION CHECKS
  54. ==================================================================================================*/
  55. /* Checks against Lpuart_Uart_Ip_Cfg.h */
  56. #if (LPUART_UART_IP_CFG_VENDOR_ID != LPUART_UART_IP_IRQ_VENDOR_ID)
  57. #error "Lpuart_Uart_Ip_Irq.h and Lpuart_Uart_Ip_Cfg.h have different vendor ids"
  58. #endif
  59. #if ((LPUART_UART_IP_CFG_AR_RELEASE_MAJOR_VERSION != LPUART_UART_IP_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  60. (LPUART_UART_IP_CFG_AR_RELEASE_MINOR_VERSION != LPUART_UART_IP_IRQ_AR_RELEASE_MINOR_VERSION) || \
  61. (LPUART_UART_IP_CFG_AR_RELEASE_REVISION_VERSION != LPUART_UART_IP_IRQ_AR_RELEASE_REVISION_VERSION))
  62. #error "AUTOSAR Version Numbers of Lpuart_Uart_Ip_Irq.h and Lpuart_Uart_Ip_Cfg.h are different"
  63. #endif
  64. #if ((LPUART_UART_IP_CFG_SW_MAJOR_VERSION != LPUART_UART_IP_IRQ_SW_MAJOR_VERSION) || \
  65. (LPUART_UART_IP_CFG_SW_MINOR_VERSION != LPUART_UART_IP_IRQ_SW_MINOR_VERSION) || \
  66. (LPUART_UART_IP_CFG_SW_PATCH_VERSION != LPUART_UART_IP_IRQ_SW_PATCH_VERSION))
  67. #error "Software Version Numbers of Lpuart_Uart_Ip_Irq.h and Lpuart_Uart_Ip_Cfg.h are different"
  68. #endif
  69. /*==================================================================================================
  70. * CONSTANTS
  71. ==================================================================================================*/
  72. /*==================================================================================================
  73. * DEFINES AND MACROS
  74. ==================================================================================================*/
  75. /*==================================================================================================
  76. * STRUCTURES AND OTHER TYPEDEFS
  77. ==================================================================================================*/
  78. /*==================================================================================================
  79. * GLOBAL VARIABLE DECLARATIONS
  80. ==================================================================================================*/
  81. /*==================================================================================================
  82. * FUNCTION PROTOTYPES
  83. ==================================================================================================*/
  84. #define UART_START_SEC_CODE
  85. #include "Uart_MemMap.h"
  86. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 0U)
  87. #ifdef LPUART_UART_IP_INSTANCE_USING_0
  88. /* Implementation of Lpuart0 handler named in startup code. */
  89. ISR(LPUART_UART_IP_0_IRQHandler);
  90. #endif
  91. #endif
  92. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 1U)
  93. #ifdef LPUART_UART_IP_INSTANCE_USING_1
  94. /* Implementation of Lpuart1 handler named in startup code. */
  95. ISR(LPUART_UART_IP_1_IRQHandler);
  96. #endif
  97. #endif
  98. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 2U)
  99. #ifdef LPUART_UART_IP_INSTANCE_USING_2
  100. /* Implementation of Lpuart2 handler named in startup code. */
  101. ISR(LPUART_UART_IP_2_IRQHandler);
  102. #endif
  103. #endif
  104. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 3U)
  105. #ifdef LPUART_UART_IP_INSTANCE_USING_3
  106. /* Implementation of Lpuart3 handler named in startup code. */
  107. ISR(LPUART_UART_IP_3_IRQHandler);
  108. #endif
  109. #endif
  110. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 4U)
  111. #ifdef LPUART_UART_IP_INSTANCE_USING_4
  112. /* Implementation of Lpuart4 handler named in startup code. */
  113. ISR(LPUART_UART_IP_4_IRQHandler);
  114. #endif
  115. #endif
  116. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 5U)
  117. #ifdef LPUART_UART_IP_INSTANCE_USING_5
  118. /* Implementation of Lpuart5 handler named in startup code. */
  119. ISR(LPUART_UART_IP_5_IRQHandler);
  120. #endif
  121. #endif
  122. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 6U)
  123. #ifdef LPUART_UART_IP_INSTANCE_USING_6
  124. /* Implementation of Lpuart6 handler named in startup code. */
  125. ISR(LPUART_UART_IP_6_IRQHandler);
  126. #endif
  127. #endif
  128. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 7U)
  129. #ifdef LPUART_UART_IP_INSTANCE_USING_7
  130. /* Implementation of Lpuart7 handler named in startup code. */
  131. ISR(LPUART_UART_IP_7_IRQHandler);
  132. #endif
  133. #endif
  134. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 8U)
  135. #ifdef LPUART_UART_IP_INSTANCE_USING_8
  136. /* Implementation of Lpuart8 handler named in startup code. */
  137. ISR(LPUART_UART_IP_8_IRQHandler);
  138. #endif
  139. #endif
  140. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 9U)
  141. #ifdef LPUART_UART_IP_INSTANCE_USING_9
  142. /* Implementation of Lpuart9 handler named in startup code. */
  143. ISR(LPUART_UART_IP_9_IRQHandler);
  144. #endif
  145. #endif
  146. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 10U)
  147. #ifdef LPUART_UART_IP_INSTANCE_USING_10
  148. /* Implementation of Lpuart10 handler named in startup code. */
  149. ISR(LPUART_UART_IP_10_IRQHandler);
  150. #endif
  151. #endif
  152. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 11U)
  153. #ifdef LPUART_UART_IP_INSTANCE_USING_11
  154. /* Implementation of Lpuart11 handler named in startup code. */
  155. ISR(LPUART_UART_IP_11_IRQHandler);
  156. #endif
  157. #endif
  158. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 12U)
  159. #ifdef LPUART_UART_IP_INSTANCE_USING_12
  160. /* Implementation of Lpuart12 handler named in startup code. */
  161. ISR(LPUART_UART_IP_12_IRQHandler);
  162. #endif
  163. #endif
  164. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 13U)
  165. #ifdef LPUART_UART_IP_INSTANCE_USING_13
  166. /* Implementation of Lpuart13 handler named in startup code. */
  167. ISR(LPUART_UART_IP_13_IRQHandler);
  168. #endif
  169. #endif
  170. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 14U)
  171. #ifdef LPUART_UART_IP_INSTANCE_USING_14
  172. /* Implementation of Lpuart14 handler named in startup code. */
  173. ISR(LPUART_UART_IP_14_IRQHandler);
  174. #endif
  175. #endif
  176. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 15U)
  177. #ifdef LPUART_UART_IP_INSTANCE_USING_15
  178. /* Implementation of Lpuart15 handler named in startup code. */
  179. ISR(LPUART_UART_IP_15_IRQHandler);
  180. #endif
  181. #endif
  182. #if (LPUART_UART_IP_HAS_DMA_ENABLED == STD_ON)
  183. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 0U)
  184. #ifdef LPUART_UART_IP_INSTANCE_USING_0
  185. void Lpuart_0_Uart_Ip_DmaRxCompleteCallback(void);
  186. void Lpuart_0_Uart_Ip_DmaTxCompleteCallback(void);
  187. #endif
  188. #endif
  189. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 1U)
  190. #ifdef LPUART_UART_IP_INSTANCE_USING_1
  191. void Lpuart_1_Uart_Ip_DmaRxCompleteCallback(void);
  192. void Lpuart_1_Uart_Ip_DmaTxCompleteCallback(void);
  193. #endif
  194. #endif
  195. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 2U)
  196. #ifdef LPUART_UART_IP_INSTANCE_USING_2
  197. void Lpuart_2_Uart_Ip_DmaRxCompleteCallback(void);
  198. void Lpuart_2_Uart_Ip_DmaTxCompleteCallback(void);
  199. #endif
  200. #endif
  201. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 3U)
  202. #ifdef LPUART_UART_IP_INSTANCE_USING_3
  203. void Lpuart_3_Uart_Ip_DmaRxCompleteCallback(void);
  204. void Lpuart_3_Uart_Ip_DmaTxCompleteCallback(void);
  205. #endif
  206. #endif
  207. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 4U)
  208. #ifdef LPUART_UART_IP_INSTANCE_USING_4
  209. void Lpuart_4_Uart_Ip_DmaRxCompleteCallback(void);
  210. void Lpuart_4_Uart_Ip_DmaTxCompleteCallback(void);
  211. #endif
  212. #endif
  213. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 5U)
  214. #ifdef LPUART_UART_IP_INSTANCE_USING_5
  215. void Lpuart_5_Uart_Ip_DmaRxCompleteCallback(void);
  216. void Lpuart_5_Uart_Ip_DmaTxCompleteCallback(void);
  217. #endif
  218. #endif
  219. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 6U)
  220. #ifdef LPUART_UART_IP_INSTANCE_USING_6
  221. void Lpuart_6_Uart_Ip_DmaRxCompleteCallback(void);
  222. void Lpuart_6_Uart_Ip_DmaTxCompleteCallback(void);
  223. #endif
  224. #endif
  225. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 7U)
  226. #ifdef LPUART_UART_IP_INSTANCE_USING_7
  227. void Lpuart_7_Uart_Ip_DmaRxCompleteCallback(void);
  228. void Lpuart_7_Uart_Ip_DmaTxCompleteCallback(void);
  229. #endif
  230. #endif
  231. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 8U)
  232. #ifdef LPUART_UART_IP_INSTANCE_USING_8
  233. void Lpuart_8_Uart_Ip_DmaRxCompleteCallback(void);
  234. void Lpuart_8_Uart_Ip_DmaTxCompleteCallback(void);
  235. #endif
  236. #endif
  237. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 9U)
  238. #ifdef LPUART_UART_IP_INSTANCE_USING_9
  239. void Lpuart_9_Uart_Ip_DmaRxCompleteCallback(void);
  240. void Lpuart_9_Uart_Ip_DmaTxCompleteCallback(void);
  241. #endif
  242. #endif
  243. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 10U)
  244. #ifdef LPUART_UART_IP_INSTANCE_USING_10
  245. void Lpuart_10_Uart_Ip_DmaRxCompleteCallback(void);
  246. void Lpuart_10_Uart_Ip_DmaTxCompleteCallback(void);
  247. #endif
  248. #endif
  249. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 11U)
  250. #ifdef LPUART_UART_IP_INSTANCE_USING_11
  251. void Lpuart_11_Uart_Ip_DmaRxCompleteCallback(void);
  252. void Lpuart_11_Uart_Ip_DmaTxCompleteCallback(void);
  253. #endif
  254. #endif
  255. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 12U)
  256. #ifdef LPUART_UART_IP_INSTANCE_USING_12
  257. void Lpuart_12_Uart_Ip_DmaRxCompleteCallback(void);
  258. void Lpuart_12_Uart_Ip_DmaTxCompleteCallback(void);
  259. #endif
  260. #endif
  261. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 13U)
  262. #ifdef LPUART_UART_IP_INSTANCE_USING_13
  263. void Lpuart_13_Uart_Ip_DmaRxCompleteCallback(void);
  264. void Lpuart_13_Uart_Ip_DmaTxCompleteCallback(void);
  265. #endif
  266. #endif
  267. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 14U)
  268. #ifdef LPUART_UART_IP_INSTANCE_USING_14
  269. void Lpuart_14_Uart_Ip_DmaRxCompleteCallback(void);
  270. void Lpuart_14_Uart_Ip_DmaTxCompleteCallback(void);
  271. #endif
  272. #endif
  273. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 15U)
  274. #ifdef LPUART_UART_IP_INSTANCE_USING_15
  275. void Lpuart_15_Uart_Ip_DmaRxCompleteCallback(void);
  276. void Lpuart_15_Uart_Ip_DmaTxCompleteCallback(void);
  277. #endif
  278. #endif
  279. #endif /*(LPUART_UART_IP_HAS_DMA_ENABLED == STD_ON)*/
  280. #define UART_STOP_SEC_CODE
  281. #include "Uart_MemMap.h"
  282. #ifdef __cplusplus
  283. }
  284. #endif
  285. /** @} */
  286. #endif /* LPUART_UART_IP_IRQ_H */