Lpuart_Uart_Ip_Irq.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  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. /**
  25. * @file
  26. * @defgroup lpuart_uart_ip Lpuart UART IPL
  27. * @addtogroup lpuart_uart_ip Lpuart UART IPL
  28. * @{
  29. */
  30. #ifdef __cplusplus
  31. extern "C"{
  32. #endif
  33. /*==================================================================================================
  34. * INCLUDE FILES
  35. * 1) system and project includes
  36. * 2) needed interfaces from external units
  37. * 3) internal and external interfaces from this unit
  38. ==================================================================================================*/
  39. #include "Lpuart_Uart_Ip.h"
  40. #include "Lpuart_Uart_Ip_Irq.h"
  41. /*==================================================================================================
  42. * SOURCE FILE VERSION INFORMATION
  43. ==================================================================================================*/
  44. #define LPUART_UART_IP_IRQ_VENDOR_ID_C 43
  45. #define LPUART_UART_IP_IRQ_AR_RELEASE_MAJOR_VERSION_C 4
  46. #define LPUART_UART_IP_IRQ_AR_RELEASE_MINOR_VERSION_C 4
  47. #define LPUART_UART_IP_IRQ_AR_RELEASE_REVISION_VERSION_C 0
  48. #define LPUART_UART_IP_IRQ_SW_MAJOR_VERSION_C 1
  49. #define LPUART_UART_IP_IRQ_SW_MINOR_VERSION_C 0
  50. #define LPUART_UART_IP_IRQ_SW_PATCH_VERSION_C 0
  51. /*==================================================================================================
  52. * FILE VERSION CHECKS
  53. ==================================================================================================*/
  54. /* Checks against Lpuart_Uart_Ip.h */
  55. #if (LPUART_UART_IP_IRQ_VENDOR_ID_C != LPUART_UART_IP_VENDOR_ID)
  56. #error "Lpuart_Uart_Ip_Irq.c and Lpuart_Uart_Ip.h have different vendor ids"
  57. #endif
  58. #if ((LPUART_UART_IP_IRQ_AR_RELEASE_MAJOR_VERSION_C != LPUART_UART_IP_AR_RELEASE_MAJOR_VERSION) || \
  59. (LPUART_UART_IP_IRQ_AR_RELEASE_MINOR_VERSION_C != LPUART_UART_IP_AR_RELEASE_MINOR_VERSION) || \
  60. (LPUART_UART_IP_IRQ_AR_RELEASE_REVISION_VERSION_C != LPUART_UART_IP_AR_RELEASE_REVISION_VERSION))
  61. #error "AUTOSAR Version Numbers of Lpuart_Uart_Ip_Irq.c and Lpuart_Uart_Ip.h are different"
  62. #endif
  63. #if ((LPUART_UART_IP_IRQ_SW_MAJOR_VERSION_C != LPUART_UART_IP_SW_MAJOR_VERSION) || \
  64. (LPUART_UART_IP_IRQ_SW_MINOR_VERSION_C != LPUART_UART_IP_SW_MINOR_VERSION) || \
  65. (LPUART_UART_IP_IRQ_SW_PATCH_VERSION_C != LPUART_UART_IP_SW_PATCH_VERSION))
  66. #error "Software Version Numbers of Lpuart_Uart_Ip_Irq.c and Lpuart_Uart_Ip.h are different"
  67. #endif
  68. /* Checks against Lpuart_Uart_Ip_Irq.h */
  69. #if (LPUART_UART_IP_IRQ_VENDOR_ID_C != LPUART_UART_IP_IRQ_VENDOR_ID)
  70. #error "Lpuart_Uart_Ip_Irq.c and Lpuart_Uart_Ip_Irq.h have different vendor ids"
  71. #endif
  72. #if ((LPUART_UART_IP_IRQ_AR_RELEASE_MAJOR_VERSION_C != LPUART_UART_IP_IRQ_AR_RELEASE_MAJOR_VERSION) || \
  73. (LPUART_UART_IP_IRQ_AR_RELEASE_MINOR_VERSION_C != LPUART_UART_IP_IRQ_AR_RELEASE_MINOR_VERSION) || \
  74. (LPUART_UART_IP_IRQ_AR_RELEASE_REVISION_VERSION_C != LPUART_UART_IP_IRQ_AR_RELEASE_REVISION_VERSION))
  75. #error "AUTOSAR Version Numbers of Lpuart_Uart_Ip_Irq.c and Lpuart_Uart_Ip_Irq.h are different"
  76. #endif
  77. #if ((LPUART_UART_IP_IRQ_SW_MAJOR_VERSION_C != LPUART_UART_IP_IRQ_SW_MAJOR_VERSION) || \
  78. (LPUART_UART_IP_IRQ_SW_MINOR_VERSION_C != LPUART_UART_IP_IRQ_SW_MINOR_VERSION) || \
  79. (LPUART_UART_IP_IRQ_SW_PATCH_VERSION_C != LPUART_UART_IP_IRQ_SW_PATCH_VERSION))
  80. #error "Software Version Numbers of Lpuart_Uart_Ip_Irq.c and Lpuart_Uart_Ip_Irq.h are different"
  81. #endif
  82. /*==================================================================================================
  83. * LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
  84. ==================================================================================================*/
  85. /*==================================================================================================
  86. * LOCAL MACROS
  87. ==================================================================================================*/
  88. /*==================================================================================================
  89. * LOCAL CONSTANTS
  90. ==================================================================================================*/
  91. /*==================================================================================================
  92. * LOCAL VARIABLES
  93. ==================================================================================================*/
  94. /*==================================================================================================
  95. * GLOBAL CONSTANTS
  96. ==================================================================================================*/
  97. /*==================================================================================================
  98. * GLOBAL VARIABLES
  99. ==================================================================================================*/
  100. /*==================================================================================================
  101. * LOCAL FUNCTION PROTOTYPES
  102. ==================================================================================================*/
  103. /*==================================================================================================
  104. * LOCAL FUNCTIONS
  105. ==================================================================================================*/
  106. /*==================================================================================================
  107. * GLOBAL FUNCTIONS
  108. ==================================================================================================*/
  109. #define UART_START_SEC_CODE
  110. #include "Uart_MemMap.h"
  111. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 0U)
  112. #ifdef LPUART_UART_IP_INSTANCE_USING_0
  113. /* Implementation of Lpuart0 handler named in startup code. */
  114. ISR(LPUART_UART_IP_0_IRQHandler)
  115. {
  116. Lpuart_Uart_Ip_IrqHandler(0U);
  117. EXIT_INTERRUPT();
  118. }
  119. #endif
  120. #endif
  121. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 1U)
  122. #ifdef LPUART_UART_IP_INSTANCE_USING_1
  123. /* Implementation of Lpuart1 handler named in startup code. */
  124. ISR(LPUART_UART_IP_1_IRQHandler)
  125. {
  126. Lpuart_Uart_Ip_IrqHandler(1U);
  127. EXIT_INTERRUPT();
  128. }
  129. #endif
  130. #endif
  131. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 2U)
  132. #ifdef LPUART_UART_IP_INSTANCE_USING_2
  133. /* Implementation of Lpuart2 handler named in startup code. */
  134. ISR(LPUART_UART_IP_2_IRQHandler)
  135. {
  136. Lpuart_Uart_Ip_IrqHandler(2U);
  137. EXIT_INTERRUPT();
  138. }
  139. #endif
  140. #endif
  141. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 3U)
  142. #ifdef LPUART_UART_IP_INSTANCE_USING_3
  143. /* Implementation of Lpuart3 handler named in startup code. */
  144. ISR(LPUART_UART_IP_3_IRQHandler)
  145. {
  146. Lpuart_Uart_Ip_IrqHandler(3U);
  147. EXIT_INTERRUPT();
  148. }
  149. #endif
  150. #endif
  151. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 4U)
  152. #ifdef LPUART_UART_IP_INSTANCE_USING_4
  153. /* Implementation of Lpuart4 handler named in startup code. */
  154. ISR(LPUART_UART_IP_4_IRQHandler)
  155. {
  156. Lpuart_Uart_Ip_IrqHandler(4U);
  157. EXIT_INTERRUPT();
  158. }
  159. #endif
  160. #endif
  161. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 5U)
  162. #ifdef LPUART_UART_IP_INSTANCE_USING_5
  163. /* Implementation of Lpuart5 handler named in startup code. */
  164. ISR(LPUART_UART_IP_5_IRQHandler)
  165. {
  166. Lpuart_Uart_Ip_IrqHandler(5U);
  167. EXIT_INTERRUPT();
  168. }
  169. #endif
  170. #endif
  171. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 6U)
  172. #ifdef LPUART_UART_IP_INSTANCE_USING_6
  173. /* Implementation of Lpuart6 handler named in startup code. */
  174. ISR(LPUART_UART_IP_6_IRQHandler)
  175. {
  176. Lpuart_Uart_Ip_IrqHandler(6U);
  177. EXIT_INTERRUPT();
  178. }
  179. #endif
  180. #endif
  181. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 7U)
  182. #ifdef LPUART_UART_IP_INSTANCE_USING_7
  183. /* Implementation of Lpuart7 handler named in startup code. */
  184. ISR(LPUART_UART_IP_7_IRQHandler)
  185. {
  186. Lpuart_Uart_Ip_IrqHandler(7U);
  187. EXIT_INTERRUPT();
  188. }
  189. #endif
  190. #endif
  191. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 8U)
  192. #ifdef LPUART_UART_IP_INSTANCE_USING_8
  193. /* Implementation of Lpuart8 handler named in startup code. */
  194. ISR(LPUART_UART_IP_8_IRQHandler)
  195. {
  196. Lpuart_Uart_Ip_IrqHandler(8U);
  197. EXIT_INTERRUPT();
  198. }
  199. #endif
  200. #endif
  201. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 9U)
  202. #ifdef LPUART_UART_IP_INSTANCE_USING_9
  203. /* Implementation of Lpuart9 handler named in startup code. */
  204. ISR(LPUART_UART_IP_9_IRQHandler)
  205. {
  206. Lpuart_Uart_Ip_IrqHandler(9U);
  207. EXIT_INTERRUPT();
  208. }
  209. #endif
  210. #endif
  211. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 10U)
  212. #ifdef LPUART_UART_IP_INSTANCE_USING_10
  213. /* Implementation of Lpuart10 handler named in startup code. */
  214. ISR(LPUART_UART_IP_10_IRQHandler)
  215. {
  216. Lpuart_Uart_Ip_IrqHandler(10U);
  217. EXIT_INTERRUPT();
  218. }
  219. #endif
  220. #endif
  221. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 11U)
  222. #ifdef LPUART_UART_IP_INSTANCE_USING_11
  223. /* Implementation of Lpuart11 handler named in startup code. */
  224. ISR(LPUART_UART_IP_11_IRQHandler)
  225. {
  226. Lpuart_Uart_Ip_IrqHandler(11U);
  227. EXIT_INTERRUPT();
  228. }
  229. #endif
  230. #endif
  231. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 12U)
  232. #ifdef LPUART_UART_IP_INSTANCE_USING_12
  233. /* Implementation of Lpuart12 handler named in startup code. */
  234. ISR(LPUART_UART_IP_12_IRQHandler)
  235. {
  236. Lpuart_Uart_Ip_IrqHandler(12U);
  237. EXIT_INTERRUPT();
  238. }
  239. #endif
  240. #endif
  241. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 13U)
  242. #ifdef LPUART_UART_IP_INSTANCE_USING_13
  243. /* Implementation of Lpuart13 handler named in startup code. */
  244. ISR(LPUART_UART_IP_13_IRQHandler)
  245. {
  246. Lpuart_Uart_Ip_IrqHandler(13U);
  247. EXIT_INTERRUPT();
  248. }
  249. #endif
  250. #endif
  251. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 14U)
  252. #ifdef LPUART_UART_IP_INSTANCE_USING_14
  253. /* Implementation of Lpuart14 handler named in startup code. */
  254. ISR(LPUART_UART_IP_14_IRQHandler)
  255. {
  256. Lpuart_Uart_Ip_IrqHandler(14U);
  257. EXIT_INTERRUPT();
  258. }
  259. #endif
  260. #endif
  261. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 15U)
  262. #ifdef LPUART_UART_IP_INSTANCE_USING_15
  263. /* Implementation of Lpuart15 handler named in startup code. */
  264. ISR(LPUART_UART_IP_15_IRQHandler)
  265. {
  266. Lpuart_Uart_Ip_IrqHandler(15U);
  267. EXIT_INTERRUPT();
  268. }
  269. #endif
  270. #endif
  271. #if (LPUART_UART_IP_HAS_DMA_ENABLED == STD_ON)
  272. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 0U)
  273. #ifdef LPUART_UART_IP_INSTANCE_USING_0
  274. void Lpuart_0_Uart_Ip_DmaRxCompleteCallback(void)
  275. {
  276. Lpuart_Uart_Ip_CompleteReceiveUsingDma(0);
  277. }
  278. void Lpuart_0_Uart_Ip_DmaTxCompleteCallback(void)
  279. {
  280. Lpuart_Uart_Ip_CompleteSendUsingDma(0);
  281. }
  282. #endif
  283. #endif
  284. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 1U)
  285. #ifdef LPUART_UART_IP_INSTANCE_USING_1
  286. void Lpuart_1_Uart_Ip_DmaRxCompleteCallback(void)
  287. {
  288. Lpuart_Uart_Ip_CompleteReceiveUsingDma(1);
  289. }
  290. void Lpuart_1_Uart_Ip_DmaTxCompleteCallback(void)
  291. {
  292. Lpuart_Uart_Ip_CompleteSendUsingDma(1);
  293. }
  294. #endif
  295. #endif
  296. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 2U)
  297. #ifdef LPUART_UART_IP_INSTANCE_USING_2
  298. void Lpuart_2_Uart_Ip_DmaRxCompleteCallback(void)
  299. {
  300. Lpuart_Uart_Ip_CompleteReceiveUsingDma(2);
  301. }
  302. void Lpuart_2_Uart_Ip_DmaTxCompleteCallback(void)
  303. {
  304. Lpuart_Uart_Ip_CompleteSendUsingDma(2);
  305. }
  306. #endif
  307. #endif
  308. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 3U)
  309. #ifdef LPUART_UART_IP_INSTANCE_USING_3
  310. void Lpuart_3_Uart_Ip_DmaRxCompleteCallback(void)
  311. {
  312. Lpuart_Uart_Ip_CompleteReceiveUsingDma(3);
  313. }
  314. void Lpuart_3_Uart_Ip_DmaTxCompleteCallback(void)
  315. {
  316. Lpuart_Uart_Ip_CompleteSendUsingDma(3);
  317. }
  318. #endif
  319. #endif
  320. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 4U)
  321. #ifdef LPUART_UART_IP_INSTANCE_USING_4
  322. void Lpuart_4_Uart_Ip_DmaRxCompleteCallback(void)
  323. {
  324. Lpuart_Uart_Ip_CompleteReceiveUsingDma(4);
  325. }
  326. void Lpuart_4_Uart_Ip_DmaTxCompleteCallback(void)
  327. {
  328. Lpuart_Uart_Ip_CompleteSendUsingDma(4);
  329. }
  330. #endif
  331. #endif
  332. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 5U)
  333. #ifdef LPUART_UART_IP_INSTANCE_USING_5
  334. void Lpuart_5_Uart_Ip_DmaRxCompleteCallback(void)
  335. {
  336. Lpuart_Uart_Ip_CompleteReceiveUsingDma(5);
  337. }
  338. void Lpuart_5_Uart_Ip_DmaTxCompleteCallback(void)
  339. {
  340. Lpuart_Uart_Ip_CompleteSendUsingDma(5);
  341. }
  342. #endif
  343. #endif
  344. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 6U)
  345. #ifdef LPUART_UART_IP_INSTANCE_USING_6
  346. void Lpuart_6_Uart_Ip_DmaRxCompleteCallback(void)
  347. {
  348. Lpuart_Uart_Ip_CompleteReceiveUsingDma(6);
  349. }
  350. void Lpuart_6_Uart_Ip_DmaTxCompleteCallback(void)
  351. {
  352. Lpuart_Uart_Ip_CompleteSendUsingDma(6);
  353. }
  354. #endif
  355. #endif
  356. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 7U)
  357. #ifdef LPUART_UART_IP_INSTANCE_USING_7
  358. void Lpuart_7_Uart_Ip_DmaRxCompleteCallback(void)
  359. {
  360. Lpuart_Uart_Ip_CompleteReceiveUsingDma(7);
  361. }
  362. void Lpuart_7_Uart_Ip_DmaTxCompleteCallback(void)
  363. {
  364. Lpuart_Uart_Ip_CompleteSendUsingDma(7);
  365. }
  366. #endif
  367. #endif
  368. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 8U)
  369. #ifdef LPUART_UART_IP_INSTANCE_USING_8
  370. void Lpuart_8_Uart_Ip_DmaRxCompleteCallback(void)
  371. {
  372. Lpuart_Uart_Ip_CompleteReceiveUsingDma(8);
  373. }
  374. void Lpuart_8_Uart_Ip_DmaTxCompleteCallback(void)
  375. {
  376. Lpuart_Uart_Ip_CompleteSendUsingDma(8);
  377. }
  378. #endif
  379. #endif
  380. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 9U)
  381. #ifdef LPUART_UART_IP_INSTANCE_USING_9
  382. void Lpuart_9_Uart_Ip_DmaRxCompleteCallback(void)
  383. {
  384. Lpuart_Uart_Ip_CompleteReceiveUsingDma(9);
  385. }
  386. void Lpuart_9_Uart_Ip_DmaTxCompleteCallback(void)
  387. {
  388. Lpuart_Uart_Ip_CompleteSendUsingDma(9);
  389. }
  390. #endif
  391. #endif
  392. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 10U)
  393. #ifdef LPUART_UART_IP_INSTANCE_USING_10
  394. void Lpuart_10_Uart_Ip_DmaRxCompleteCallback(void)
  395. {
  396. Lpuart_Uart_Ip_CompleteReceiveUsingDma(10);
  397. }
  398. void Lpuart_10_Uart_Ip_DmaTxCompleteCallback(void)
  399. {
  400. Lpuart_Uart_Ip_CompleteSendUsingDma(10);
  401. }
  402. #endif
  403. #endif
  404. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 11U)
  405. #ifdef LPUART_UART_IP_INSTANCE_USING_11
  406. void Lpuart_11_Uart_Ip_DmaRxCompleteCallback(void)
  407. {
  408. Lpuart_Uart_Ip_CompleteReceiveUsingDma(11);
  409. }
  410. void Lpuart_11_Uart_Ip_DmaTxCompleteCallback(void)
  411. {
  412. Lpuart_Uart_Ip_CompleteSendUsingDma(11);
  413. }
  414. #endif
  415. #endif
  416. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 12U)
  417. #ifdef LPUART_UART_IP_INSTANCE_USING_12
  418. void Lpuart_12_Uart_Ip_DmaRxCompleteCallback(void)
  419. {
  420. Lpuart_Uart_Ip_CompleteReceiveUsingDma(12);
  421. }
  422. void Lpuart_12_Uart_Ip_DmaTxCompleteCallback(void)
  423. {
  424. Lpuart_Uart_Ip_CompleteSendUsingDma(12);
  425. }
  426. #endif
  427. #endif
  428. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 13U)
  429. #ifdef LPUART_UART_IP_INSTANCE_USING_13
  430. void Lpuart_13_Uart_Ip_DmaRxCompleteCallback(void)
  431. {
  432. Lpuart_Uart_Ip_CompleteReceiveUsingDma(13);
  433. }
  434. void Lpuart_13_Uart_Ip_DmaTxCompleteCallback(void)
  435. {
  436. Lpuart_Uart_Ip_CompleteSendUsingDma(13);
  437. }
  438. #endif
  439. #endif
  440. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 14U)
  441. #ifdef LPUART_UART_IP_INSTANCE_USING_14
  442. void Lpuart_14_Uart_Ip_DmaRxCompleteCallback(void)
  443. {
  444. Lpuart_Uart_Ip_CompleteReceiveUsingDma(14);
  445. }
  446. void Lpuart_14_Uart_Ip_DmaTxCompleteCallback(void)
  447. {
  448. Lpuart_Uart_Ip_CompleteSendUsingDma(14);
  449. }
  450. #endif
  451. #endif
  452. #if (LPUART_UART_IP_NUMBER_OF_INSTANCES > 15U)
  453. #ifdef LPUART_UART_IP_INSTANCE_USING_15
  454. void Lpuart_15_Uart_Ip_DmaRxCompleteCallback(void)
  455. {
  456. Lpuart_Uart_Ip_CompleteReceiveUsingDma(15);
  457. }
  458. void Lpuart_15_Uart_Ip_DmaTxCompleteCallback(void)
  459. {
  460. Lpuart_Uart_Ip_CompleteSendUsingDma(15);
  461. }
  462. #endif
  463. #endif
  464. #endif /*(LPUART_UART_IP_HAS_DMA_ENABLED == STD_ON)*/
  465. #define UART_STOP_SEC_CODE
  466. #include "Uart_MemMap.h"
  467. #ifdef __cplusplus
  468. }
  469. /** @} */
  470. #endif