interrupt_mtu2.c 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  1. /*""FILE COMMENT""*******************************************************
  2. * System Name : Interrupt program for RX62Nxx
  3. * File Name : Interrupt_MTU2.c
  4. * Version : 1.02
  5. * Contents : Interrupt handlers for the MTU channels
  6. * Customer :
  7. * Model :
  8. * Order :
  9. * CPU : RX
  10. * Compiler : RXC
  11. * OS : Nothing
  12. * Programmer :
  13. * Note :
  14. ************************************************************************
  15. * Copyright, 2011. Renesas Electronics Corporation
  16. * and Renesas Solutions Corporation
  17. ************************************************************************
  18. * History : 2011.04.08
  19. * : Ver 1.02
  20. * : CS-5 release.
  21. *""FILE COMMENT END""**************************************************/
  22. #include "r_pdl_mtu2.h"
  23. #include "r_pdl_definitions.h"
  24. #include "r_pdl_user_definitions.h"
  25. /*""FUNC COMMENT""***************************************************
  26. * Module outline: Timer interrupt processing
  27. *-------------------------------------------------------------------
  28. * Declaration : void Interrupt_MTUn_TGIA0(void)
  29. *-------------------------------------------------------------------
  30. * Function : TGIAn interrupt processing
  31. *-------------------------------------------------------------------
  32. * Argument : Nothing
  33. *-------------------------------------------------------------------
  34. * Return value : Nothing
  35. *-------------------------------------------------------------------
  36. * Input :
  37. * Output :
  38. *-------------------------------------------------------------------
  39. * Use function : rpdl_MTU2_func1_callback_func[n]
  40. *-------------------------------------------------------------------
  41. * Notes :
  42. *-------------------------------------------------------------------
  43. * History : 2011.04.08
  44. * : Ver 1.02
  45. * : CS-5 release.
  46. *""FUNC COMMENT END""**********************************************/
  47. #if FAST_INTC_VECTOR == VECT_MTU0_TGIA0
  48. __fast_interrupt void Interrupt_MTU0_TGIA0(void)
  49. #else
  50. #pragma vector = VECT_MTU0_TGIA0
  51. __interrupt void Interrupt_MTU0_TGIA0(void)
  52. #endif
  53. {
  54. /* Call the user function */
  55. if (rpdl_MTU2_func1_callback_func[0] != PDL_NO_FUNC)
  56. {
  57. rpdl_MTU2_func1_callback_func[0]();
  58. }
  59. }
  60. #if FAST_INTC_VECTOR == VECT_MTU1_TGIA1
  61. __fast_interrupt void Interrupt_MTU1_TGIA1(void)
  62. #else
  63. #pragma vector = VECT_MTU1_TGIA1
  64. __interrupt void Interrupt_MTU1_TGIA1(void)
  65. #endif
  66. {
  67. /* Call the user function */
  68. if (rpdl_MTU2_func1_callback_func[1] != PDL_NO_FUNC)
  69. {
  70. rpdl_MTU2_func1_callback_func[1]();
  71. }
  72. }
  73. #if FAST_INTC_VECTOR == VECT_MTU2_TGIA2
  74. __fast_interrupt void Interrupt_MTU2_TGIA2(void)
  75. #else
  76. #pragma vector = VECT_MTU2_TGIA2
  77. __interrupt void Interrupt_MTU2_TGIA2(void)
  78. #endif
  79. {
  80. /* Call the user function */
  81. if (rpdl_MTU2_func1_callback_func[2] != PDL_NO_FUNC)
  82. {
  83. rpdl_MTU2_func1_callback_func[2]();
  84. }
  85. }
  86. #if FAST_INTC_VECTOR == VECT_MTU3_TGIA3
  87. __fast_interrupt void Interrupt_MTU3_TGIA3(void)
  88. #else
  89. #pragma vector = VECT_MTU3_TGIA3
  90. __interrupt void Interrupt_MTU3_TGIA3(void)
  91. #endif
  92. {
  93. /* Call the user function */
  94. if (rpdl_MTU2_func1_callback_func[3] != PDL_NO_FUNC)
  95. {
  96. rpdl_MTU2_func1_callback_func[3]();
  97. }
  98. }
  99. #if FAST_INTC_VECTOR == VECT_MTU4_TGIA4
  100. __fast_interrupt void Interrupt_MTU4_TGIA4(void)
  101. #else
  102. #pragma vector = VECT_MTU4_TGIA4
  103. __interrupt void Interrupt_MTU4_TGIA4(void)
  104. #endif
  105. {
  106. /* Call the user function */
  107. if (rpdl_MTU2_func1_callback_func[4] != PDL_NO_FUNC)
  108. {
  109. rpdl_MTU2_func1_callback_func[4]();
  110. }
  111. }
  112. #if FAST_INTC_VECTOR == VECT_MTU6_TGIA6
  113. __fast_interrupt void Interrupt_MTU6_TGIA6(void)
  114. #else
  115. #pragma vector = VECT_MTU6_TGIA6
  116. __interrupt void Interrupt_MTU6_TGIA6(void)
  117. #endif
  118. {
  119. /* Call the user function */
  120. if (rpdl_MTU2_func1_callback_func[6] != PDL_NO_FUNC)
  121. {
  122. rpdl_MTU2_func1_callback_func[6]();
  123. }
  124. }
  125. #if FAST_INTC_VECTOR == VECT_MTU7_TGIA7
  126. __fast_interrupt void Interrupt_MTU7_TGIA7(void)
  127. #else
  128. #pragma vector = VECT_MTU7_TGIA7
  129. __interrupt void Interrupt_MTU7_TGIA7(void)
  130. #endif
  131. {
  132. /* Call the user function */
  133. if (rpdl_MTU2_func1_callback_func[7] != PDL_NO_FUNC)
  134. {
  135. rpdl_MTU2_func1_callback_func[7]();
  136. }
  137. }
  138. #if FAST_INTC_VECTOR == VECT_MTU8_TGIA8
  139. __fast_interrupt void Interrupt_MTU8_TGIA8(void)
  140. #else
  141. #pragma vector = VECT_MTU8_TGIA8
  142. __interrupt void Interrupt_MTU8_TGIA8(void)
  143. #endif
  144. {
  145. /* Call the user function */
  146. if (rpdl_MTU2_func1_callback_func[8] != PDL_NO_FUNC)
  147. {
  148. rpdl_MTU2_func1_callback_func[8]();
  149. }
  150. }
  151. #if FAST_INTC_VECTOR == VECT_MTU9_TGIA9
  152. __fast_interrupt void Interrupt_MTU9_TGIA9(void)
  153. #else
  154. #pragma vector = VECT_MTU9_TGIA9
  155. __interrupt void Interrupt_MTU9_TGIA9(void)
  156. #endif
  157. {
  158. /* Call the user function */
  159. if (rpdl_MTU2_func1_callback_func[9] != PDL_NO_FUNC)
  160. {
  161. rpdl_MTU2_func1_callback_func[9]();
  162. }
  163. }
  164. #if FAST_INTC_VECTOR == VECT_MTU10_TGIA10
  165. __fast_interrupt void Interrupt_MTU10_TGIA10(void)
  166. #else
  167. #pragma vector = VECT_MTU10_TGIA10
  168. __interrupt void Interrupt_MTU10_TGIA10(void)
  169. #endif
  170. {
  171. /* Call the user function */
  172. if (rpdl_MTU2_func1_callback_func[10] != PDL_NO_FUNC)
  173. {
  174. rpdl_MTU2_func1_callback_func[10]();
  175. }
  176. }
  177. /*""FUNC COMMENT""***************************************************
  178. * Module outline: Timer interrupt processing
  179. *-------------------------------------------------------------------
  180. * Declaration : void Interrupt_MTUn_TGIBn(void)
  181. *-------------------------------------------------------------------
  182. * Function : TGIBn interrupt processing
  183. *-------------------------------------------------------------------
  184. * Argument : Nothing
  185. *-------------------------------------------------------------------
  186. * Return value : Nothing
  187. *-------------------------------------------------------------------
  188. * Input :
  189. * Output :
  190. *-------------------------------------------------------------------
  191. * Use function : rpdl_MTU2_func2_callback_func[n]
  192. *-------------------------------------------------------------------
  193. * Notes :
  194. *-------------------------------------------------------------------
  195. * History : 2011.04.08
  196. * : Ver 1.02
  197. * : CS-5 release.
  198. *""FUNC COMMENT END""**********************************************/
  199. #if FAST_INTC_VECTOR == VECT_MTU0_TGIB0
  200. __fast_interrupt void Interrupt_MTU0_TGIB0(void)
  201. #else
  202. #pragma vector = VECT_MTU0_TGIB0
  203. __interrupt void Interrupt_MTU0_TGIB0(void)
  204. #endif
  205. {
  206. /* Call the user function */
  207. if (rpdl_MTU2_func2_callback_func[0] != PDL_NO_FUNC)
  208. {
  209. rpdl_MTU2_func2_callback_func[0]();
  210. }
  211. }
  212. #if FAST_INTC_VECTOR == VECT_MTU1_TGIB1
  213. __fast_interrupt void Interrupt_MTU1_TGIB1(void)
  214. #else
  215. #pragma vector = VECT_MTU1_TGIB1
  216. __interrupt void Interrupt_MTU1_TGIB1(void)
  217. #endif
  218. {
  219. /* Call the user function */
  220. if (rpdl_MTU2_func2_callback_func[1] != PDL_NO_FUNC)
  221. {
  222. rpdl_MTU2_func2_callback_func[1]();
  223. }
  224. }
  225. #if FAST_INTC_VECTOR == VECT_MTU2_TGIB2
  226. __fast_interrupt void Interrupt_MTU2_TGIB2(void)
  227. #else
  228. #pragma vector = VECT_MTU2_TGIB2
  229. __interrupt void Interrupt_MTU2_TGIB2(void)
  230. #endif
  231. {
  232. /* Call the user function */
  233. if (rpdl_MTU2_func2_callback_func[2] != PDL_NO_FUNC)
  234. {
  235. rpdl_MTU2_func2_callback_func[2]();
  236. }
  237. }
  238. #if FAST_INTC_VECTOR == VECT_MTU3_TGIB3
  239. __fast_interrupt void Interrupt_MTU3_TGIB3(void)
  240. #else
  241. #pragma vector = VECT_MTU3_TGIB3
  242. __interrupt void Interrupt_MTU3_TGIB3(void)
  243. #endif
  244. {
  245. /* Call the user function */
  246. if (rpdl_MTU2_func2_callback_func[3] != PDL_NO_FUNC)
  247. {
  248. rpdl_MTU2_func2_callback_func[3]();
  249. }
  250. }
  251. #if FAST_INTC_VECTOR == VECT_MTU4_TGIB4
  252. __fast_interrupt void Interrupt_MTU4_TGIB4(void)
  253. #else
  254. #pragma vector = VECT_MTU4_TGIB4
  255. __interrupt void Interrupt_MTU4_TGIB4(void)
  256. #endif
  257. {
  258. /* Call the user function */
  259. if (rpdl_MTU2_func2_callback_func[4] != PDL_NO_FUNC)
  260. {
  261. rpdl_MTU2_func2_callback_func[4]();
  262. }
  263. }
  264. #if FAST_INTC_VECTOR == VECT_MTU6_TGIB6
  265. __fast_interrupt void Interrupt_MTU6_TGIB6(void)
  266. #else
  267. #pragma vector = VECT_MTU6_TGIB6
  268. __interrupt void Interrupt_MTU6_TGIB6(void)
  269. #endif
  270. {
  271. /* Call the user function */
  272. if (rpdl_MTU2_func2_callback_func[6] != PDL_NO_FUNC)
  273. {
  274. rpdl_MTU2_func2_callback_func[6]();
  275. }
  276. }
  277. #if FAST_INTC_VECTOR == VECT_MTU7_TGIB7
  278. __fast_interrupt void Interrupt_MTU7_TGIB7(void)
  279. #else
  280. #pragma vector = VECT_MTU7_TGIB7
  281. __interrupt void Interrupt_MTU7_TGIB7(void)
  282. #endif
  283. {
  284. /* Call the user function */
  285. if (rpdl_MTU2_func2_callback_func[7] != PDL_NO_FUNC)
  286. {
  287. rpdl_MTU2_func2_callback_func[7]();
  288. }
  289. }
  290. #if FAST_INTC_VECTOR == VECT_MTU8_TGIB8
  291. __fast_interrupt void Interrupt_MTU8_TGIB8(void)
  292. #else
  293. #pragma vector = VECT_MTU8_TGIB8
  294. __interrupt void Interrupt_MTU8_TGIB8(void)
  295. #endif
  296. {
  297. /* Call the user function */
  298. if (rpdl_MTU2_func2_callback_func[8] != PDL_NO_FUNC)
  299. {
  300. rpdl_MTU2_func2_callback_func[8]();
  301. }
  302. }
  303. #if FAST_INTC_VECTOR == VECT_MTU9_TGIB9
  304. __fast_interrupt void Interrupt_MTU9_TGIB9(void)
  305. #else
  306. #pragma vector = VECT_MTU9_TGIB9
  307. __interrupt void Interrupt_MTU9_TGIB9(void)
  308. #endif
  309. {
  310. /* Call the user function */
  311. if (rpdl_MTU2_func2_callback_func[9] != PDL_NO_FUNC)
  312. {
  313. rpdl_MTU2_func2_callback_func[9]();
  314. }
  315. }
  316. #if FAST_INTC_VECTOR == VECT_MTU10_TGIB10
  317. __fast_interrupt void Interrupt_MTU10_TGIB10(void)
  318. #else
  319. #pragma vector = VECT_MTU10_TGIB10
  320. __interrupt void Interrupt_MTU10_TGIB10(void)
  321. #endif
  322. {
  323. /* Call the user function */
  324. if (rpdl_MTU2_func2_callback_func[10] != PDL_NO_FUNC)
  325. {
  326. rpdl_MTU2_func2_callback_func[10]();
  327. }
  328. }
  329. /*""FUNC COMMENT""***************************************************
  330. * Module outline: Timer interrupt processing
  331. *-------------------------------------------------------------------
  332. * Declaration : void Interrupt_MTUn_TGICn(void)
  333. *-------------------------------------------------------------------
  334. * Function : TGICn interrupt processing
  335. *-------------------------------------------------------------------
  336. * Argument : Nothing
  337. *-------------------------------------------------------------------
  338. * Return value : Nothing
  339. *-------------------------------------------------------------------
  340. * Input :
  341. * Output :
  342. *-------------------------------------------------------------------
  343. * Use function : rpdl_MTU2_func3_callback_func[n]
  344. *-------------------------------------------------------------------
  345. * Notes :
  346. *-------------------------------------------------------------------
  347. * History : 2011.04.08
  348. * : Ver 1.02
  349. * : CS-5 release.
  350. *""FUNC COMMENT END""**********************************************/
  351. #if FAST_INTC_VECTOR == VECT_MTU0_TGIC0
  352. __fast_interrupt void Interrupt_MTU0_TGIC0(void)
  353. #else
  354. #pragma vector = VECT_MTU0_TGIC0
  355. __interrupt void Interrupt_MTU0_TGIC0(void)
  356. #endif
  357. {
  358. /* Call the user function */
  359. if (rpdl_MTU2_func3_callback_func[0] != PDL_NO_FUNC)
  360. {
  361. rpdl_MTU2_func3_callback_func[0]();
  362. }
  363. }
  364. #if FAST_INTC_VECTOR == VECT_MTU3_TGIC3
  365. __fast_interrupt void Interrupt_MTU3_TGIC3(void)
  366. #else
  367. #pragma vector = VECT_MTU3_TGIC3
  368. __interrupt void Interrupt_MTU3_TGIC3(void)
  369. #endif
  370. {
  371. /* Call the user function */
  372. if (rpdl_MTU2_func3_callback_func[3] != PDL_NO_FUNC)
  373. {
  374. rpdl_MTU2_func3_callback_func[3]();
  375. }
  376. }
  377. #if FAST_INTC_VECTOR == VECT_MTU4_TGIC4
  378. __fast_interrupt void Interrupt_MTU4_TGIC4(void)
  379. #else
  380. #pragma vector = VECT_MTU4_TGIC4
  381. __interrupt void Interrupt_MTU4_TGIC4(void)
  382. #endif
  383. {
  384. /* Call the user function */
  385. if (rpdl_MTU2_func3_callback_func[4] != PDL_NO_FUNC)
  386. {
  387. rpdl_MTU2_func3_callback_func[4]();
  388. }
  389. }
  390. #if FAST_INTC_VECTOR == VECT_MTU6_TGIC6
  391. __fast_interrupt void Interrupt_MTU6_TGIC6(void)
  392. #else
  393. #pragma vector = VECT_MTU6_TGIC6
  394. __interrupt void Interrupt_MTU6_TGIC6(void)
  395. #endif
  396. {
  397. /* Call the user function */
  398. if (rpdl_MTU2_func3_callback_func[6] != PDL_NO_FUNC)
  399. {
  400. rpdl_MTU2_func3_callback_func[6]();
  401. }
  402. }
  403. #if FAST_INTC_VECTOR == VECT_MTU9_TGIC9
  404. __fast_interrupt void Interrupt_MTU9_TGIC9(void)
  405. #else
  406. #pragma vector = VECT_MTU9_TGIC9
  407. __interrupt void Interrupt_MTU9_TGIC9(void)
  408. #endif
  409. {
  410. /* Call the user function */
  411. if (rpdl_MTU2_func3_callback_func[9] != PDL_NO_FUNC)
  412. {
  413. rpdl_MTU2_func3_callback_func[9]();
  414. }
  415. }
  416. #if FAST_INTC_VECTOR == VECT_MTU10_TGIC10
  417. __fast_interrupt void Interrupt_MTU10_TGIC10(void)
  418. #else
  419. #pragma vector = VECT_MTU10_TGIC10
  420. __interrupt void Interrupt_MTU10_TGIC10(void)
  421. #endif
  422. {
  423. /* Call the user function */
  424. if (rpdl_MTU2_func3_callback_func[10] != PDL_NO_FUNC)
  425. {
  426. rpdl_MTU2_func3_callback_func[10]();
  427. }
  428. }
  429. /*""FUNC COMMENT""***************************************************
  430. * Module outline: Timer interrupt processing
  431. *-------------------------------------------------------------------
  432. * Declaration : void Interrupt_MTUn_TGIDn(void)
  433. *-------------------------------------------------------------------
  434. * Function : TGIDn interrupt processing
  435. *-------------------------------------------------------------------
  436. * Argument : Nothing
  437. *-------------------------------------------------------------------
  438. * Return value : Nothing
  439. *-------------------------------------------------------------------
  440. * Input :
  441. * Output :
  442. *-------------------------------------------------------------------
  443. * Use function : rpdl_MTU2_func4_callback_func[n]
  444. *-------------------------------------------------------------------
  445. * Notes :
  446. *-------------------------------------------------------------------
  447. * History : 2011.04.08
  448. * : Ver 1.02
  449. * : CS-5 release.
  450. *""FUNC COMMENT END""**********************************************/
  451. #if FAST_INTC_VECTOR == VECT_MTU0_TGID0
  452. __fast_interrupt void Interrupt_MTU0_TGID0(void)
  453. #else
  454. #pragma vector = VECT_MTU0_TGID0
  455. __interrupt void Interrupt_MTU0_TGID0(void)
  456. #endif
  457. {
  458. /* Call the user function */
  459. if (rpdl_MTU2_func4_callback_func[0] != PDL_NO_FUNC)
  460. {
  461. rpdl_MTU2_func4_callback_func[0]();
  462. }
  463. }
  464. #if FAST_INTC_VECTOR == VECT_MTU3_TGID3
  465. __fast_interrupt void Interrupt_MTU3_TGID3(void)
  466. #else
  467. #pragma vector = VECT_MTU3_TGID3
  468. __interrupt void Interrupt_MTU3_TGID3(void)
  469. #endif
  470. {
  471. /* Call the user function */
  472. if (rpdl_MTU2_func4_callback_func[3] != PDL_NO_FUNC)
  473. {
  474. rpdl_MTU2_func4_callback_func[3]();
  475. }
  476. }
  477. #if FAST_INTC_VECTOR == VECT_MTU4_TGID4
  478. __fast_interrupt void Interrupt_MTU4_TGID4(void)
  479. #else
  480. #pragma vector = VECT_MTU4_TGID4
  481. __interrupt void Interrupt_MTU4_TGID4(void)
  482. #endif
  483. {
  484. /* Call the user function */
  485. if (rpdl_MTU2_func4_callback_func[4] != PDL_NO_FUNC)
  486. {
  487. rpdl_MTU2_func4_callback_func[4]();
  488. }
  489. }
  490. #if FAST_INTC_VECTOR == VECT_MTU6_TGID6
  491. __fast_interrupt void Interrupt_MTU6_TGID6(void)
  492. #else
  493. #pragma vector = VECT_MTU6_TGID6
  494. __interrupt void Interrupt_MTU6_TGID6(void)
  495. #endif
  496. {
  497. /* Call the user function */
  498. if (rpdl_MTU2_func4_callback_func[6] != PDL_NO_FUNC)
  499. {
  500. rpdl_MTU2_func4_callback_func[6]();
  501. }
  502. }
  503. #if FAST_INTC_VECTOR == VECT_MTU9_TGID9
  504. __fast_interrupt void Interrupt_MTU9_TGID9(void)
  505. #else
  506. #pragma vector = VECT_MTU9_TGID9
  507. __interrupt void Interrupt_MTU9_TGID9(void)
  508. #endif
  509. {
  510. /* Call the user function */
  511. if (rpdl_MTU2_func4_callback_func[9] != PDL_NO_FUNC)
  512. {
  513. rpdl_MTU2_func4_callback_func[9]();
  514. }
  515. }
  516. #if FAST_INTC_VECTOR == VECT_MTU10_TGID10
  517. __fast_interrupt void Interrupt_MTU10_TGID10(void)
  518. #else
  519. #pragma vector = VECT_MTU10_TGID10
  520. __interrupt void Interrupt_MTU10_TGID10(void)
  521. #endif
  522. {
  523. /* Call the user function */
  524. if (rpdl_MTU2_func4_callback_func[10] != PDL_NO_FUNC)
  525. {
  526. rpdl_MTU2_func4_callback_func[10]();
  527. }
  528. }
  529. /*""FUNC COMMENT""***************************************************
  530. * Module outline: Timer interrupt processing
  531. *-------------------------------------------------------------------
  532. * Declaration : void Interrupt_MTUn_TGIEn(void)
  533. *-------------------------------------------------------------------
  534. * Function : TGIEn interrupt processing
  535. *-------------------------------------------------------------------
  536. * Argument : Nothing
  537. *-------------------------------------------------------------------
  538. * Return value : Nothing
  539. *-------------------------------------------------------------------
  540. * Input :
  541. * Output :
  542. *-------------------------------------------------------------------
  543. * Use function : rpdl_MTU2_TGRE_callback_func[n]
  544. *-------------------------------------------------------------------
  545. * Notes :
  546. *-------------------------------------------------------------------
  547. * History : 2011.04.08
  548. * : Ver 1.02
  549. * : CS-5 release.
  550. *""FUNC COMMENT END""**********************************************/
  551. #if FAST_INTC_VECTOR == VECT_MTU0_TGIE0
  552. __fast_interrupt void Interrupt_MTU0_TGIE0(void)
  553. #else
  554. #pragma vector = VECT_MTU0_TGIE0
  555. __interrupt void Interrupt_MTU0_TGIE0(void)
  556. #endif
  557. {
  558. /* Call the user function */
  559. if (rpdl_MTU2_TGRE_callback_func[0] != PDL_NO_FUNC)
  560. {
  561. rpdl_MTU2_TGRE_callback_func[0]();
  562. }
  563. }
  564. #if FAST_INTC_VECTOR == VECT_MTU6_TGIE6
  565. __fast_interrupt void Interrupt_MTU6_TGIE6(void)
  566. #else
  567. #pragma vector = VECT_MTU6_TGIE6
  568. __interrupt void Interrupt_MTU6_TGIE6(void)
  569. #endif
  570. {
  571. /* Call the user function */
  572. if (rpdl_MTU2_TGRE_callback_func[6] != PDL_NO_FUNC)
  573. {
  574. rpdl_MTU2_TGRE_callback_func[6]();
  575. }
  576. }
  577. /*""FUNC COMMENT""***************************************************
  578. * Module outline: Timer interrupt processing
  579. *-------------------------------------------------------------------
  580. * Declaration : void Interrupt_MTUn_TGIFn(void)
  581. *-------------------------------------------------------------------
  582. * Function : TGIFn interrupt processing
  583. *-------------------------------------------------------------------
  584. * Argument : Nothing
  585. *-------------------------------------------------------------------
  586. * Return value : Nothing
  587. *-------------------------------------------------------------------
  588. * Input :
  589. * Output :
  590. *-------------------------------------------------------------------
  591. * Use function : rpdl_MTU2_TGRF_callback_func[n]
  592. *-------------------------------------------------------------------
  593. * Notes :
  594. *-------------------------------------------------------------------
  595. * History : 2011.04.08
  596. * : Ver 1.02
  597. * : CS-5 release.
  598. *""FUNC COMMENT END""**********************************************/
  599. #if FAST_INTC_VECTOR == VECT_MTU0_TGIF0
  600. __fast_interrupt void Interrupt_MTU0_TGIF0(void)
  601. #else
  602. #pragma vector = VECT_MTU0_TGIF0
  603. __interrupt void Interrupt_MTU0_TGIF0(void)
  604. #endif
  605. {
  606. /* Call the user function */
  607. if (rpdl_MTU2_TGRF_callback_func[0] != PDL_NO_FUNC)
  608. {
  609. rpdl_MTU2_TGRF_callback_func[0]();
  610. }
  611. }
  612. #if FAST_INTC_VECTOR == VECT_MTU6_TGIF6
  613. __fast_interrupt void Interrupt_MTU6_TGIF6(void)
  614. #else
  615. #pragma vector = VECT_MTU6_TGIF6
  616. __interrupt void Interrupt_MTU6_TGIF6(void)
  617. #endif
  618. {
  619. /* Call the user function */
  620. if (rpdl_MTU2_TGRF_callback_func[6] != PDL_NO_FUNC)
  621. {
  622. rpdl_MTU2_TGRF_callback_func[6]();
  623. }
  624. }
  625. /*""FUNC COMMENT""***************************************************
  626. * Module outline: Timer interrupt processing
  627. *-------------------------------------------------------------------
  628. * Declaration : void Interrupt_MTUn_TCIVn(void)
  629. *-------------------------------------------------------------------
  630. * Function : TCIVn interrupt processing
  631. *-------------------------------------------------------------------
  632. * Argument : Nothing
  633. *-------------------------------------------------------------------
  634. * Return value : Nothing
  635. *-------------------------------------------------------------------
  636. * Input :
  637. * Output :
  638. *-------------------------------------------------------------------
  639. * Use function : rpdl_MTU2_Overflow_callback_func[n]
  640. *-------------------------------------------------------------------
  641. * Notes :
  642. *-------------------------------------------------------------------
  643. * History : 2011.04.08
  644. * : Ver 1.02
  645. * : CS-5 release.
  646. *""FUNC COMMENT END""**********************************************/
  647. #if FAST_INTC_VECTOR == VECT_MTU0_TCIV0
  648. __fast_interrupt void Interrupt_MTU0_TCIV0(void)
  649. #else
  650. #pragma vector = VECT_MTU0_TCIV0
  651. __interrupt void Interrupt_MTU0_TCIV0(void)
  652. #endif
  653. {
  654. /* Call the user function */
  655. if (rpdl_MTU2_Overflow_callback_func[0] != PDL_NO_FUNC)
  656. {
  657. rpdl_MTU2_Overflow_callback_func[0]();
  658. }
  659. }
  660. #if FAST_INTC_VECTOR == VECT_MTU1_TCIV1
  661. __fast_interrupt void Interrupt_MTU1_TCIV1(void)
  662. #else
  663. #pragma vector = VECT_MTU1_TCIV1
  664. __interrupt void Interrupt_MTU1_TCIV1(void)
  665. #endif
  666. {
  667. /* Call the user function */
  668. if (rpdl_MTU2_Overflow_callback_func[1] != PDL_NO_FUNC)
  669. {
  670. rpdl_MTU2_Overflow_callback_func[1]();
  671. }
  672. }
  673. #if FAST_INTC_VECTOR == VECT_MTU2_TCIV2
  674. __fast_interrupt void Interrupt_MTU2_TCIV2(void)
  675. #else
  676. #pragma vector = VECT_MTU2_TCIV2
  677. __interrupt void Interrupt_MTU2_TCIV2(void)
  678. #endif
  679. {
  680. /* Call the user function */
  681. if (rpdl_MTU2_Overflow_callback_func[2] != PDL_NO_FUNC)
  682. {
  683. rpdl_MTU2_Overflow_callback_func[2]();
  684. }
  685. }
  686. #if FAST_INTC_VECTOR == VECT_MTU3_TCIV3
  687. __fast_interrupt void Interrupt_MTU3_TCIV3(void)
  688. #else
  689. #pragma vector = VECT_MTU3_TCIV3
  690. __interrupt void Interrupt_MTU3_TCIV3(void)
  691. #endif
  692. {
  693. /* Call the user function */
  694. if (rpdl_MTU2_Overflow_callback_func[3] != PDL_NO_FUNC)
  695. {
  696. rpdl_MTU2_Overflow_callback_func[3]();
  697. }
  698. }
  699. #if FAST_INTC_VECTOR == VECT_MTU4_TCIV4
  700. __fast_interrupt void Interrupt_MTU4_TCIV4(void)
  701. #else
  702. #pragma vector = VECT_MTU4_TCIV4
  703. __interrupt void Interrupt_MTU4_TCIV4(void)
  704. #endif
  705. {
  706. /* Call the user function */
  707. if (rpdl_MTU2_Overflow_callback_func[4] != PDL_NO_FUNC)
  708. {
  709. rpdl_MTU2_Overflow_callback_func[4]();
  710. }
  711. }
  712. #if FAST_INTC_VECTOR == VECT_MTU6_TCIV6
  713. __fast_interrupt void Interrupt_MTU6_TCIV6(void)
  714. #else
  715. #pragma vector = VECT_MTU6_TCIV6
  716. __interrupt void Interrupt_MTU6_TCIV6(void)
  717. #endif
  718. {
  719. /* Call the user function */
  720. if (rpdl_MTU2_Overflow_callback_func[6] != PDL_NO_FUNC)
  721. {
  722. rpdl_MTU2_Overflow_callback_func[6]();
  723. }
  724. }
  725. #if FAST_INTC_VECTOR == VECT_MTU7_TCIV7
  726. __fast_interrupt void Interrupt_MTU7_TCIV7(void)
  727. #else
  728. #pragma vector = VECT_MTU7_TCIV7
  729. __interrupt void Interrupt_MTU7_TCIV7(void)
  730. #endif
  731. {
  732. /* Call the user function */
  733. if (rpdl_MTU2_Overflow_callback_func[7] != PDL_NO_FUNC)
  734. {
  735. rpdl_MTU2_Overflow_callback_func[7]();
  736. }
  737. }
  738. #if FAST_INTC_VECTOR == VECT_MTU8_TCIV8
  739. __fast_interrupt void Interrupt_MTU8_TCIV8(void)
  740. #else
  741. #pragma vector = VECT_MTU8_TCIV8
  742. __interrupt void Interrupt_MTU8_TCIV8(void)
  743. #endif
  744. {
  745. /* Call the user function */
  746. if (rpdl_MTU2_Overflow_callback_func[8] != PDL_NO_FUNC)
  747. {
  748. rpdl_MTU2_Overflow_callback_func[8]();
  749. }
  750. }
  751. #if FAST_INTC_VECTOR == VECT_MTU9_TCIV9
  752. __fast_interrupt void Interrupt_MTU9_TCIV9(void)
  753. #else
  754. #pragma vector = VECT_MTU9_TCIV9
  755. __interrupt void Interrupt_MTU9_TCIV9(void)
  756. #endif
  757. {
  758. /* Call the user function */
  759. if (rpdl_MTU2_Overflow_callback_func[9] != PDL_NO_FUNC)
  760. {
  761. rpdl_MTU2_Overflow_callback_func[9]();
  762. }
  763. }
  764. #if FAST_INTC_VECTOR == VECT_MTU10_TCIV10
  765. __fast_interrupt void Interrupt_MTU10_TCIV10(void)
  766. #else
  767. #pragma vector = VECT_MTU10_TCIV10
  768. __interrupt void Interrupt_MTU10_TCIV10(void)
  769. #endif
  770. {
  771. /* Call the user function */
  772. if (rpdl_MTU2_Overflow_callback_func[10] != PDL_NO_FUNC)
  773. {
  774. rpdl_MTU2_Overflow_callback_func[10]();
  775. }
  776. }
  777. /*""FUNC COMMENT""***************************************************
  778. * Module outline: Timer interrupt processing
  779. *-------------------------------------------------------------------
  780. * Declaration : void Interrupt_MTUn_TCIUn(void)
  781. *-------------------------------------------------------------------
  782. * Function : TCIUn interrupt processing
  783. *-------------------------------------------------------------------
  784. * Argument : Nothing
  785. *-------------------------------------------------------------------
  786. * Return value : Nothing
  787. *-------------------------------------------------------------------
  788. * Input :
  789. * Output :
  790. *-------------------------------------------------------------------
  791. * Use function : rpdl_MTU2_Underflow_callback_func[n]
  792. *-------------------------------------------------------------------
  793. * Notes :
  794. *-------------------------------------------------------------------
  795. * History : 2011.04.08
  796. * : Ver 1.02
  797. * : CS-5 release.
  798. *""FUNC COMMENT END""**********************************************/
  799. #if FAST_INTC_VECTOR == VECT_MTU1_TCIU1
  800. __fast_interrupt void Interrupt_MTU1_TCIU1(void)
  801. #else
  802. #pragma vector = VECT_MTU1_TCIU1
  803. __interrupt void Interrupt_MTU1_TCIU1(void)
  804. #endif
  805. {
  806. /* Call the user function */
  807. if (rpdl_MTU2_Underflow_callback_func[1] != PDL_NO_FUNC)
  808. {
  809. rpdl_MTU2_Underflow_callback_func[1]();
  810. }
  811. }
  812. #if FAST_INTC_VECTOR == VECT_MTU2_TCIU2
  813. __fast_interrupt void Interrupt_MTU2_TCIU2(void)
  814. #else
  815. #pragma vector = VECT_MTU2_TCIU2
  816. __interrupt void Interrupt_MTU2_TCIU2(void)
  817. #endif
  818. {
  819. /* Call the user function */
  820. if (rpdl_MTU2_Underflow_callback_func[2] != PDL_NO_FUNC)
  821. {
  822. rpdl_MTU2_Underflow_callback_func[2]();
  823. }
  824. }
  825. #if FAST_INTC_VECTOR == VECT_MTU7_TCIU7
  826. __fast_interrupt void Interrupt_MTU7_TCIU7(void)
  827. #else
  828. #pragma vector = VECT_MTU7_TCIU7
  829. __interrupt void Interrupt_MTU7_TCIU7(void)
  830. #endif
  831. {
  832. /* Call the user function */
  833. if (rpdl_MTU2_Underflow_callback_func[7] != PDL_NO_FUNC)
  834. {
  835. rpdl_MTU2_Underflow_callback_func[7]();
  836. }
  837. }
  838. #if FAST_INTC_VECTOR == VECT_MTU8_TCIU8
  839. __fast_interrupt void Interrupt_MTU8_TCIU8(void)
  840. #else
  841. #pragma vector = VECT_MTU8_TCIU8
  842. __interrupt void Interrupt_MTU8_TCIU8(void)
  843. #endif
  844. {
  845. /* Call the user function */
  846. if (rpdl_MTU2_Underflow_callback_func[8] != PDL_NO_FUNC)
  847. {
  848. rpdl_MTU2_Underflow_callback_func[8]();
  849. }
  850. }
  851. /*""FUNC COMMENT""***************************************************
  852. * Module outline: Timer interrupt processing
  853. *-------------------------------------------------------------------
  854. * Declaration : void Interrupt_MTUn_TGIUn(void)
  855. *-------------------------------------------------------------------
  856. * Function : TGIUn interrupt processing
  857. *-------------------------------------------------------------------
  858. * Argument : Nothing
  859. *-------------------------------------------------------------------
  860. * Return value : Nothing
  861. *-------------------------------------------------------------------
  862. * Input :
  863. * Output :
  864. *-------------------------------------------------------------------
  865. * Use function : rpdl_MTU2_func1_callback_func[n]
  866. *-------------------------------------------------------------------
  867. * Notes :
  868. *-------------------------------------------------------------------
  869. * History : 2011.04.08
  870. * : Ver 1.02
  871. * : CS-5 release.
  872. *""FUNC COMMENT END""**********************************************/
  873. #if FAST_INTC_VECTOR == VECT_MTU5_TGIU5
  874. __fast_interrupt void Interrupt_MTU5_TGIU5(void)
  875. #else
  876. #pragma vector = VECT_MTU5_TGIU5
  877. __interrupt void Interrupt_MTU5_TGIU5(void)
  878. #endif
  879. {
  880. /* Call the user function */
  881. if (rpdl_MTU2_func1_callback_func[5] != PDL_NO_FUNC)
  882. {
  883. rpdl_MTU2_func1_callback_func[5]();
  884. }
  885. }
  886. #if FAST_INTC_VECTOR == VECT_MTU11_TGIU11
  887. __fast_interrupt void Interrupt_MTU11_TGIU11(void)
  888. #else
  889. #pragma vector = VECT_MTU11_TGIU11
  890. __interrupt void Interrupt_MTU11_TGIU11(void)
  891. #endif
  892. {
  893. /* Call the user function */
  894. if (rpdl_MTU2_func1_callback_func[11] != PDL_NO_FUNC)
  895. {
  896. rpdl_MTU2_func1_callback_func[11]();
  897. }
  898. }
  899. /*""FUNC COMMENT""***************************************************
  900. * Module outline: Timer interrupt processing
  901. *-------------------------------------------------------------------
  902. * Declaration : void Interrupt_MTUn_TGIVn(void)
  903. *-------------------------------------------------------------------
  904. * Function : TGIVn interrupt processing
  905. *-------------------------------------------------------------------
  906. * Argument : Nothing
  907. *-------------------------------------------------------------------
  908. * Return value : Nothing
  909. *-------------------------------------------------------------------
  910. * Input :
  911. * Output :
  912. *-------------------------------------------------------------------
  913. * Use function : rpdl_MTU2_func2_callback_func[n]
  914. *-------------------------------------------------------------------
  915. * Notes :
  916. *-------------------------------------------------------------------
  917. * History : 2011.04.08
  918. * : Ver 1.02
  919. * : CS-5 release.
  920. *""FUNC COMMENT END""**********************************************/
  921. #if FAST_INTC_VECTOR == VECT_MTU5_TGIV5
  922. __fast_interrupt void Interrupt_MTU5_TGIV5(void)
  923. #else
  924. #pragma vector = VECT_MTU5_TGIV5
  925. __interrupt void Interrupt_MTU5_TGIV5(void)
  926. #endif
  927. {
  928. /* Call the user function */
  929. if (rpdl_MTU2_func2_callback_func[5] != PDL_NO_FUNC)
  930. {
  931. rpdl_MTU2_func2_callback_func[5]();
  932. }
  933. }
  934. #if FAST_INTC_VECTOR == VECT_MTU11_TGIV11
  935. __fast_interrupt void Interrupt_MTU11_TGIV11(void)
  936. #else
  937. #pragma vector = VECT_MTU11_TGIV11
  938. __interrupt void Interrupt_MTU11_TGIV11(void)
  939. #endif
  940. {
  941. /* Call the user function */
  942. if (rpdl_MTU2_func2_callback_func[11] != PDL_NO_FUNC)
  943. {
  944. rpdl_MTU2_func2_callback_func[11]();
  945. }
  946. }
  947. /*""FUNC COMMENT""***************************************************
  948. * Module outline: Timer interrupt processing
  949. *-------------------------------------------------------------------
  950. * Declaration : void Interrupt_MTUn_TGIWn(void)
  951. *-------------------------------------------------------------------
  952. * Function : TGIWn interrupt processing
  953. *-------------------------------------------------------------------
  954. * Argument : Nothing
  955. *-------------------------------------------------------------------
  956. * Return value : Nothing
  957. *-------------------------------------------------------------------
  958. * Input :
  959. * Output :
  960. *-------------------------------------------------------------------
  961. * Use function : rpdl_MTU2_func3_callback_func[n]
  962. *-------------------------------------------------------------------
  963. * Notes :
  964. *-------------------------------------------------------------------
  965. * History : 2011.04.08
  966. * : Ver 1.02
  967. * : CS-5 release.
  968. *""FUNC COMMENT END""**********************************************/
  969. #if FAST_INTC_VECTOR == VECT_MTU5_TGIW5
  970. __fast_interrupt void Interrupt_MTU5_TGIW5(void)
  971. #else
  972. #pragma vector = VECT_MTU5_TGIW5
  973. __interrupt void Interrupt_MTU5_TGIW5(void)
  974. #endif
  975. {
  976. /* Call the user function */
  977. if (rpdl_MTU2_func3_callback_func[5] != PDL_NO_FUNC)
  978. {
  979. rpdl_MTU2_func3_callback_func[5]();
  980. }
  981. }
  982. #if FAST_INTC_VECTOR == VECT_MTU11_TGIW11
  983. __fast_interrupt void Interrupt_MTU11_TGIW11(void)
  984. #else
  985. #pragma vector = VECT_MTU11_TGIW11
  986. __interrupt void Interrupt_MTU11_TGIW11(void)
  987. #endif
  988. {
  989. /* Call the user function */
  990. if (rpdl_MTU2_func3_callback_func[11] != PDL_NO_FUNC)
  991. {
  992. rpdl_MTU2_func3_callback_func[11]();
  993. }
  994. }
  995. /* End of file */