r_d1mx_isr.c 33.5 KB
Newer Older
hu's avatar
hu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
/*
****************************************************************************
PROJECT : r7f701412 
FILE    : $Id: r_d1mx_isr.c 13291 2017-04-14 08:56:28Z shinya.tomari $
============================================================================
DESCRIPTION
r7f701412 (D1M2(H)) interrupt service routines
============================================================================
                            C O P Y R I G H T
============================================================================
                       Copyright (c) 2013 - 2015
                                  by 
                       Renesas Electronics (Europe) GmbH.
                           Arcadiastrasse 10
                          D-40472 Duesseldorf
                               Germany
                          All rights reserved.
============================================================================
Purpose: only for testing, not for mass production

DISCLAIMER

LICENSEE has read, understood and accepted the terms and conditions defined in
the license agreement, especially the usage rights. In any case, it is
LICENSEE's responsibility to make sure that any user of the software complies
with the terms and conditions of the signed license agreement.

SAMPLE CODE is not part of the licensed software, as such it must not be used in
mass-production applications. It can only be used for evaluation and
demonstration purposes at customer's premises listed in the signed license
agreement.

****************************************************************************
*/

/*******************************************************************************
  Title: r7f701412 Interrupt Functions

  Define interrupt handling.
*/

/*******************************************************************************
  Section: Includes
*/

#include "r_typedefs.h"
#include "r_dev_api.h"
#include "r_icu_feret.h"

#include "int_enabled.h"

/* Include compiler specific intrinsics for synchronisation */
#pragma ghs startnomisra
hu's avatar
hu committed
54
#include "v800_ghs.h" /* __NOP(), __SYNCP(), __SYNCM() */
hu's avatar
hu committed
55 56
#pragma ghs endnomisra

hu's avatar
hu committed
57 58 59
#if defined(R_DBG_PRINT_DEV_REGS) || defined(R_DBG_PRINT_MSG)
#include <stdio.h>
#include "r_dbg_api.h"
hu's avatar
hu committed
60
#else
hu's avatar
hu committed
61
#define R_DBG_PRINT(lvl, txt)
hu's avatar
hu committed
62 63 64
#endif

#ifdef USE_RLIN3
hu's avatar
hu committed
65 66
//#include "r_rlin3_api.h"
#include "UART.h"
hu's avatar
hu committed
67 68 69 70 71 72 73 74 75 76 77 78
#endif
#ifdef USE_AWOT
#include "Sys_Tick.h"
#endif
#ifdef USE_OSTM
#include "r_ostm_api.h"
#endif
#ifdef USE_GPIO
#include "r_gpio_api.h"
#endif

#ifdef USE_CSIG
hu's avatar
hu committed
79
#include "r_csig_api.h"
hu's avatar
hu committed
80 81 82
#endif

#ifdef USE_CSIH
hu's avatar
hu committed
83
#include "CSIH.h"
hu's avatar
hu committed
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
#endif

#ifdef USE_DMA
#include "r_dma_api.h"
#endif

#ifdef USE_RTCA
#include "r_rtca_api.h"
#endif

#ifdef USE_TAUB
//#include "r_taub_api.h"
#include "TimerB.h"
#endif

#ifdef USE_WDTA
#include "r_wdta_api.h"
#endif

#ifdef USE_TAUJ
#include "r_tauj_api.h"
#endif

#ifdef USE_PCMP
#include "r_pcmp_api.h"
#endif

#ifdef USE_SG
#include "r_sg_api.h"
#endif

#ifdef USE_SSIF
/*#include "r_ssif_api.h"*/
//#include "IIS_MAX98357.h"
#endif

#ifdef USE_VOCA
hu's avatar
hu committed
121
#include "r_ddb_api.h" /* display database with display timings */
hu's avatar
hu committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
#include "r_voca_api.h"
#endif

#ifdef USE_DISCOM
#include "r_discom_api.h"
#endif

#ifdef USE_D2_DRIVER
#include "dave_driver.h"
#include "dave_irqfunc.h"
#endif

#ifdef USE_SFMA
#include "r_sfma_api.h"
#endif

#ifdef USE_DAVEHD
#include "davehd_kernel_os.h"
#include "davehd_os_hw.h"
#endif

#ifdef USE_ROS
#include "r_os_api.h"
#endif

#ifdef USE_LCBI
#include "r_ddb_api.h"
#include "r_lcbi_api.h"
#endif

#ifdef USE_JCUA
hu's avatar
hu committed
153
#include "r_jcua_api.h"
hu's avatar
hu committed
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
#endif

#ifdef USE_VDCE
#include "r_ddb_api.h"
#include "r_vdce_api.h"
#endif

#ifdef USE_MIPI
#include "r_bsp_gfx_mipi_csi2.h"
#endif

#ifdef USE_VRAM
#include "r_vram_api.h"
#endif

#ifdef USE_VOWE
#include "r_typedefs.h"
#include "r_vowe_api.h"
#endif

#ifdef USE_ECM
#include "r_ecm_api.h"
#endif

#ifdef USE_AVB
#include "r_avb_api.h"
#endif

#ifdef USE_ADC7010
#include "r_adc_api.h"
#endif

#ifdef USE_ISM
#include "r_ism_api.h"
#endif

#ifdef USE_RSCAN0
#include "RSCAN.h"
#endif

#ifdef USE_INT_FLASH
#include "Internal_Flash.h"
#endif

/*******************************************************************************
  Section: Synchronisation Functions
*/

/*******************************************************************************
  Function: R_DEV_Nop
*/
void R_DEV_Nop(void)
{
    __NOP();
}

/***********************************************************
  Function: R_DEV_SyncP
*/
void R_DEV_SyncP(void)
{
    __SYNCP();
}

/***********************************************************
  Function: _R_DEV_SyncM
*/
void R_DEV_SyncM(void)
{
    __SYNCM();
}

/*******************************************************************************
  Section: Libmath replacement Functions
*/

/*******************************************************************************
  Function: R_DEV_SQRTF
  Returns a single-precision floating point number of the square-root result
*/

float32_t R_DEV_SQRTF(float32_t val)
{
    float32_t result;
hu's avatar
hu committed
238 239
    asm("sqrtf.s %0, %1"
        : "+r"(val), "=r"(result));
hu's avatar
hu committed
240 241 242 243 244 245 246 247 248 249 250
    return result;
}

/*******************************************************************************
  Section: Interrupt Functions 
*/

#pragma ghs startnomisra

#ifdef PRIO_0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
251
void EINTPRIO_0(void)
hu's avatar
hu committed
252
{
hu's avatar
hu committed
253
    asm("nop");
hu's avatar
hu committed
254 255 256 257 258 259 260 261
}
#endif

/**************************************************/
/* PIE Level "Interrupts"                             */
/**************************************************/

#ifdef PIE_ENABLE
hu's avatar
hu committed
262
void R_PIE_Isr(void);
hu's avatar
hu committed
263 264 265

FETRAP_EXCEPTION(PIE, loc_PIE);

hu's avatar
hu committed
266 267
void loc_PIE(void)
{
hu's avatar
hu committed
268 269 270 271 272 273 274 275 276 277 278 279
    R_PIE_Isr();
}
#endif

/**************************************************/
/* FE Level "Interrupts"                             */
/**************************************************/

#ifdef FEINT_ENABLE

FETRAP_EXCEPTION(FEINT, loc_FEINT);

hu's avatar
hu committed
280 281
void loc_FEINT(void)
{
hu's avatar
hu committed
282 283 284 285 286 287
    R_ECM_FeIntIsr(0);
}
#endif

#ifdef FENMI_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
288 289
void FENMI(void)
{
hu's avatar
hu committed
290 291 292 293 294 295 296 297 298
    R_ECM_FeNmiIsr(0);
}
#endif

/**************************************************/
/* ADC Interrupts                                */
/**************************************************/

#ifdef INTADCE0TSN_ENABLE
hu's avatar
hu committed
299 300 301 302
#pragma ghs interrupt
void INTADCE0TSN(void)
{
    R_ADC_IsrTsn(0);
hu's avatar
hu committed
303 304 305 306 307
}
#endif

#ifdef INTADCE0I1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
308 309
void INTADCE0I1(void)
{
hu's avatar
hu committed
310 311 312 313 314 315
    R_ADC_Isr0(0);
}
#endif

#ifdef INTADCE0I2_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
316 317
void INTADCE0I2(void)
{
hu's avatar
hu committed
318 319 320 321 322 323
    R_ADC_Isr1(0);
}
#endif

#ifdef INTADCE0I3_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
324 325
void INTADCE0I3(void)
{
hu's avatar
hu committed
326 327 328 329 330 331 332 333 334 335
    R_ADC_Isr2(0);
}
#endif

/**************************************************/
/* AWOT Interrupts                                */
/**************************************************/

#ifdef INTAWOT_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
336 337
void INTAWOT(void)
{
hu's avatar
hu committed
338 339 340 341 342 343 344 345 346
    R_AWOT_TintIsr(0);
}
#endif

/**************************************************/
/* OSTM Interrupts                                */
/**************************************************/

#ifdef INTOSTM0_ENABLE
hu's avatar
hu committed
347 348
#pragma ghs interrupt
void INTOSTM0(void)
hu's avatar
hu committed
349 350 351 352 353 354 355
{
    R_OSTM_TintIsr(0);
}
#endif

#ifdef INTOSTM1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
356
void INTOSTM1(void)
hu's avatar
hu committed
357 358 359 360 361 362 363 364 365 366 367 368
{
    R_OSTM_TintIsr(1);
}
#endif

/**************************************************/
/* RLIN3 Interrupts                               */
/**************************************************/

/*  RLIN3 unit 0 */
#ifdef INTRLIN30UR0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
369 370 371 372
void INTRLIN30UR0(void)
{
   // R_RLIN3_IsrTx(0);
    UART_CH0_TX_ISR();
hu's avatar
hu committed
373 374 375 376 377
}
#endif

#ifdef INTRLIN30UR1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
378 379 380 381
void INTRLIN30UR1(void)
{
   // R_RLIN3_IsrRx(0);
    UART_CH0_RX_ISR();
hu's avatar
hu committed
382 383 384 385 386
}
#endif

#ifdef INTRLIN30UR2_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
387 388 389
void INTRLIN30UR2(void)
{
   // R_RLIN3_IsrRE(0);
hu's avatar
hu committed
390 391 392 393 394 395
}
#endif

/*  RLIN3 unit 1 */
#ifdef INTRLIN31UR0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
396 397 398 399
void INTRLIN31UR0(void)
{
    //R_RLIN3_IsrTx(1);
    UART_CH1_TX_ISR();
hu's avatar
hu committed
400 401 402 403 404
}
#endif

#ifdef INTRLIN31UR1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
405 406 407 408
void INTRLIN31UR1(void)
{
    //R_RLIN3_IsrRx(1);
     UART_CH1_RX_ISR();
hu's avatar
hu committed
409 410 411 412 413
}
#endif

#ifdef INTRLIN31UR2_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
414 415 416
void INTRLIN31UR2(void)
{
    //R_RLIN3_IsrRE(1);
hu's avatar
hu committed
417 418 419 420 421 422
}
#endif

/*  RLIN3 unit 2 */
#ifdef INTRLIN32UR0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
423 424 425 426
void INTRLIN32UR0(void)
{
    //R_RLIN3_IsrTx(2);
     UART_CH2_TX_ISR();
hu's avatar
hu committed
427 428 429 430 431
}
#endif

#ifdef INTRLIN32UR1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
432 433 434 435
void INTRLIN32UR1(void)
{
    //R_RLIN3_IsrRx(2);
     UART_CH2_RX_ISR();
hu's avatar
hu committed
436 437 438 439 440
}
#endif

#ifdef INTRLIN32UR2_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
441 442 443
void INTRLIN32UR2(void)
{
    //R_RLIN3_IsrRE(2);
hu's avatar
hu committed
444 445 446 447 448 449
}
#endif

/*  RLIN3 unit 3 */
#ifdef INTRLIN33UR0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
450 451 452 453
void INTRLIN33UR0(void)
{
   // R_RLIN3_IsrTx(3);
     UART_CH3_TX_ISR();
hu's avatar
hu committed
454 455 456 457 458
}
#endif

#ifdef INTRLIN33UR1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
459 460 461 462
void INTRLIN33UR1(void)
{
    //R_RLIN3_IsrRx(3);
     UART_CH3_RX_ISR();
hu's avatar
hu committed
463 464 465 466 467
}
#endif

#ifdef INTRLIN33UR2_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
468 469 470
void INTRLIN33UR2(void)
{
    //R_RLIN3_IsrRE(3);
hu's avatar
hu committed
471 472 473 474 475 476 477 478 479
}
#endif

/**************************************************/
/* CSIG Interrupts                                */
/**************************************************/

#ifdef INTCSIG0IRE_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
480 481
void INTCSIG0IRE(void)
{
hu's avatar
hu committed
482 483 484 485 486 487
    R_CSIG_IsrTire(0);
}
#endif

#ifdef INTCSIG0IR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
488 489
void INTCSIG0IR(void)
{
hu's avatar
hu committed
490 491 492 493 494 495
    R_CSIG_IsrTir(0);
}
#endif

#ifdef INTCSIG0IC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
496 497
void INTCSIG0IC(void)
{
hu's avatar
hu committed
498 499 500 501 502 503
    R_CSIG_IsrTic(0);
}
#endif

#ifdef INTCSIG1IRE_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
504 505
void INTCSIG1IRE(void)
{
hu's avatar
hu committed
506 507 508 509 510 511
    R_CSIG_IsrTire(1);
}
#endif

#ifdef INTCSIG1IR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
512 513
void INTCSIG1IR(void)
{
hu's avatar
hu committed
514 515 516 517 518 519
    R_CSIG_IsrTir(1);
}
#endif

#ifdef INTCSIG1IC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
520 521
void INTCSIG1IC(void)
{
hu's avatar
hu committed
522 523 524 525 526 527
    R_CSIG_IsrTic(1);
}
#endif

#ifdef INTCSIG2IRE_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
528 529
void INTCSIG2IRE(void)
{
hu's avatar
hu committed
530 531 532 533 534 535
    R_CSIG_IsrTire(2);
}
#endif

#ifdef INTCSIG2IR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
536 537
void INTCSIG2IR(void)
{
hu's avatar
hu committed
538 539 540 541 542 543
    R_CSIG_IsrTir(2);
}
#endif

#ifdef INTCSIG2IC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
544 545
void INTCSIG2IC(void)
{
hu's avatar
hu committed
546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
    R_CSIG_IsrTic(2);
}
#endif

/**************************************************/
/* ETNB Interrupts                                */
/**************************************************/
#ifdef USE_AVB

#pragma ghs interrupt
void INTETNB0LINE0(void)
{
    R_AVB_Isr(0, R_AVB_INT_DATA);
}

#pragma ghs interrupt
void INTETNB0LINE1(void)
{
    R_AVB_Isr(0, R_AVB_INT_ERR);
}

#pragma ghs interrupt
void INTETNB0LINE2(void)
{
    R_AVB_Isr(0, R_AVB_INT_MNG);
}

#pragma ghs interrupt
void INTETNB0LINE3(void)
{
    R_AVB_Isr(0, R_AVB_INT_MAC);
}

#endif

/**************************************************/
/* CSIH Interrupts                                */
/**************************************************/

#ifdef USE_CSIH
#pragma ghs interrupt
hu's avatar
hu committed
587
void INTCSIH0IC(void)
hu's avatar
hu committed
588 589 590 591 592
{
    CSIH_Ch0_Tx_ISR();
}

#pragma ghs interrupt
hu's avatar
hu committed
593
void INTCSIH0IR(void)
hu's avatar
hu committed
594 595 596 597 598
{
    CSIH_Ch0_Rx_ISR();
}

#pragma ghs interrupt
hu's avatar
hu committed
599
void INTCSIH0IRE(void)
hu's avatar
hu committed
600 601 602 603
{
}

#pragma ghs interrupt
hu's avatar
hu committed
604
void INTCSIH0IJC(void)
hu's avatar
hu committed
605 606 607 608
{
}

#pragma ghs interrupt
hu's avatar
hu committed
609
void INTCSIH1IC(void)
hu's avatar
hu committed
610 611 612 613 614
{
    CSIH_Ch1_Tx_ISR();
}

#pragma ghs interrupt
hu's avatar
hu committed
615
void INTCSIH1IR(void)
hu's avatar
hu committed
616 617 618 619 620
{
    CSIH_Ch1_Rx_ISR();
}

#pragma ghs interrupt
hu's avatar
hu committed
621
void INTCSIH1IRE(void)
hu's avatar
hu committed
622 623 624 625
{
}

#pragma ghs interrupt
hu's avatar
hu committed
626
void INTCSIH1IJC(void)
hu's avatar
hu committed
627 628
{
}
hu's avatar
hu committed
629
#endif /* USE_CSIH */
hu's avatar
hu committed
630 631 632 633 634 635 636

/**************************************************/
/* DMA Interrupts                                 */
/**************************************************/

#ifdef INTDMA0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
637
void INTDMA0(void)
hu's avatar
hu committed
638 639 640 641 642 643 644
{
    R_DMA_Isr(0, 0);
}
#endif

#ifdef INTDMA1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
645
void INTDMA1(void)
hu's avatar
hu committed
646 647 648 649 650 651 652
{
    R_DMA_Isr(0, 1);
}
#endif

#ifdef INTDMA2_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
653
void INTDMA2(void)
hu's avatar
hu committed
654 655 656 657 658 659 660
{
    R_DMA_Isr(0, 2);
}
#endif

#ifdef INTDMA3_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
661
void INTDMA3(void)
hu's avatar
hu committed
662 663 664 665 666 667 668
{
    R_DMA_Isr(0, 3);
}
#endif

#ifdef INTDMA4_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
669
void INTDMA4(void)
hu's avatar
hu committed
670 671 672 673 674 675 676
{
    R_DMA_Isr(0, 4);
}
#endif

#ifdef INTDMA5_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
677
void INTDMA5(void)
hu's avatar
hu committed
678 679 680 681 682 683 684
{
    R_DMA_Isr(0, 5);
}
#endif

#ifdef INTDMA6_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
685
void INTDMA6(void)
hu's avatar
hu committed
686 687 688 689 690 691 692
{
    R_DMA_Isr(0, 6);
}
#endif

#ifdef INTDMA7_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
693
void INTDMA7(void)
hu's avatar
hu committed
694 695 696 697 698 699 700
{
    R_DMA_Isr(0, 7);
}
#endif

#ifdef INTDMA8_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
701
void INTDMA8(void)
hu's avatar
hu committed
702 703 704 705 706 707 708
{
    R_DMA_Isr(0, 8);
}
#endif

#ifdef INTDMA9_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
709
void INTDMA9(void)
hu's avatar
hu committed
710 711 712 713 714 715 716
{
    R_DMA_Isr(0, 9);
}
#endif

#ifdef INTDMA10_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
717
void INTDMA10(void)
hu's avatar
hu committed
718 719 720 721 722 723 724
{
    R_DMA_Isr(0, 10);
}
#endif

#ifdef INTDMA11_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
725
void INTDMA11(void)
hu's avatar
hu committed
726 727 728 729 730 731 732
{
    R_DMA_Isr(0, 11);
}
#endif

#ifdef INTDMA12_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
733
void INTDMA12(void)
hu's avatar
hu committed
734 735 736 737 738 739 740
{
    R_DMA_Isr(0, 12);
}
#endif

#ifdef INTDMA13_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
741
void INTDMA13(void)
hu's avatar
hu committed
742 743 744 745 746 747 748
{
    R_DMA_Isr(0, 13);
}
#endif

#ifdef INTDMA14_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
749
void INTDMA14(void)
hu's avatar
hu committed
750 751 752 753 754 755 756
{
    R_DMA_Isr(0, 14);
}
#endif

#ifdef INTDMA15_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
757
void INTDMA15(void)
hu's avatar
hu committed
758 759 760 761 762 763 764 765 766 767 768 769
{
    R_DMA_Isr(0, 15);
}
#endif

/**************************************************
TAUJ  interrupts 
**************************************************/

#ifdef USE_TAUJ

#pragma ghs interrupt
hu's avatar
hu committed
770
void INTTAUJ0I0(void)
hu's avatar
hu committed
771
{
hu's avatar
hu committed
772 773
    R_TAUJ_Isr(0, (r_tauj_Interrupt_t)0);
}
hu's avatar
hu committed
774 775

#pragma ghs interrupt
hu's avatar
hu committed
776
void INTTAUJ0I1(void)
hu's avatar
hu committed
777
{
hu's avatar
hu committed
778 779
    R_TAUJ_Isr(0, (r_tauj_Interrupt_t)1);
}
hu's avatar
hu committed
780
#pragma ghs interrupt
hu's avatar
hu committed
781
void INTTAUJ0I2(void)
hu's avatar
hu committed
782
{
hu's avatar
hu committed
783 784
    R_TAUJ_Isr(0, (r_tauj_Interrupt_t)2);
}
hu's avatar
hu committed
785
#pragma ghs interrupt
hu's avatar
hu committed
786
void INTTAUJ0I3(void)
hu's avatar
hu committed
787
{
hu's avatar
hu committed
788 789
    R_TAUJ_Isr(0, (r_tauj_Interrupt_t)3);
}
hu's avatar
hu committed
790 791

#pragma ghs interrupt
hu's avatar
hu committed
792
void INTTAUJ1I0(void)
hu's avatar
hu committed
793
{
hu's avatar
hu committed
794 795
    R_TAUJ_Isr(1, (r_tauj_Interrupt_t)0);
}
hu's avatar
hu committed
796 797

#pragma ghs interrupt
hu's avatar
hu committed
798
void INTTAUJ1I1(void)
hu's avatar
hu committed
799
{
hu's avatar
hu committed
800 801
    R_TAUJ_Isr(1, (r_tauj_Interrupt_t)1);
}
hu's avatar
hu committed
802
#pragma ghs interrupt
hu's avatar
hu committed
803
void INTTAUJ1I2(void)
hu's avatar
hu committed
804
{
hu's avatar
hu committed
805 806
    R_TAUJ_Isr(1, (r_tauj_Interrupt_t)2);
}
hu's avatar
hu committed
807
#pragma ghs interrupt
hu's avatar
hu committed
808
void INTTAUJ1I3(void)
hu's avatar
hu committed
809
{
hu's avatar
hu committed
810 811
    R_TAUJ_Isr(1, (r_tauj_Interrupt_t)3);
}
hu's avatar
hu committed
812 813

#pragma ghs interrupt
hu's avatar
hu committed
814
void INTTAUJ2I0(void)
hu's avatar
hu committed
815
{
hu's avatar
hu committed
816 817
    R_TAUJ_Isr(2, (r_tauj_Interrupt_t)0);
}
hu's avatar
hu committed
818 819

#pragma ghs interrupt
hu's avatar
hu committed
820
void INTTAUJ2I1(void)
hu's avatar
hu committed
821
{
hu's avatar
hu committed
822 823
    R_TAUJ_Isr(2, (r_tauj_Interrupt_t)1);
}
hu's avatar
hu committed
824
#pragma ghs interrupt
hu's avatar
hu committed
825
void INTTAUJ2I2(void)
hu's avatar
hu committed
826
{
hu's avatar
hu committed
827 828
    R_TAUJ_Isr(2, (r_tauj_Interrupt_t)2);
}
hu's avatar
hu committed
829
#pragma ghs interrupt
hu's avatar
hu committed
830
void INTTAUJ2I3(void)
hu's avatar
hu committed
831
{
hu's avatar
hu committed
832 833
    R_TAUJ_Isr(2, (r_tauj_Interrupt_t)3);
}
hu's avatar
hu committed
834 835 836 837 838 839 840 841

#endif

/**************************************************/
/* WDTA Interrupts                                */
/**************************************************/
#ifdef INTWDTA0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
842
void INTWDTA0(void)
hu's avatar
hu committed
843 844 845 846 847 848
{
    R_WDTA_Isr(0);
}
#endif
#ifdef INTWDTA1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
849
void INTWDTA1(void)
hu's avatar
hu committed
850 851 852 853 854 855 856 857 858 859 860
{
    R_WDTA_Isr(1);
}
#endif

/**************************************************/
/* RTCA - Interrupts                              */
/**************************************************/
#ifdef USE_RTCA

#pragma ghs interrupt
hu's avatar
hu committed
861
void INTRTCA01S(void)
hu's avatar
hu committed
862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877
{
    R_RTCA_Isr(0, R_RTCA_INT_1S);
}

#pragma ghs interrupt
void INTRTCA0AL(void)
{
    R_RTCA_Isr(0, R_RTCA_INT_AL);
}

#pragma ghs interrupt
void INTRTCA0R(void)
{
    R_RTCA_Isr(0, R_RTCA_INT_R);
}

hu's avatar
hu committed
878
#endif /* RTCA */
hu's avatar
hu committed
879 880 881 882 883 884 885 886

/**************************************************
TAUB  interrupts 
**************************************************/

#ifdef USE_TAUB

#pragma ghs interrupt
hu's avatar
hu committed
887 888 889 890
void INTTAUB0I0(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 0);
}
hu's avatar
hu committed
891 892

#pragma ghs interrupt
hu's avatar
hu committed
893 894 895 896 897
void INTTAUB0I1(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 1);
    TimerB_Overflow_Isr();
}
hu's avatar
hu committed
898 899

#pragma ghs interrupt
hu's avatar
hu committed
900 901 902 903 904
void INTTAUB0I2(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 2);
    TimerB_Input_Isr(TIMERB_0_CH2);
}
hu's avatar
hu committed
905 906

#pragma ghs interrupt
hu's avatar
hu committed
907 908 909 910
void INTTAUB0I3(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 3);
}
hu's avatar
hu committed
911 912

#pragma ghs interrupt
hu's avatar
hu committed
913 914 915 916
void INTTAUB0I4(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 4);
}
hu's avatar
hu committed
917 918

#pragma ghs interrupt
hu's avatar
hu committed
919 920 921 922
void INTTAUB0I5(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 5);
}
hu's avatar
hu committed
923 924

#pragma ghs interrupt
hu's avatar
hu committed
925 926 927 928
void INTTAUB0I6(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 6);
}
hu's avatar
hu committed
929 930

#pragma ghs interrupt
hu's avatar
hu committed
931 932 933 934
void INTTAUB0I7(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 7);
}
hu's avatar
hu committed
935 936

#pragma ghs interrupt
hu's avatar
hu committed
937 938 939 940
void INTTAUB0I8(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 8);
}
hu's avatar
hu committed
941 942

#pragma ghs interrupt
hu's avatar
hu committed
943 944 945 946 947
void INTTAUB0I9(void)
{
    //R_TAUB_Isr(0,(r_taub_Interrupt_t) 9);
    //TimerB_Overflow_Isr();
}
hu's avatar
hu committed
948 949

#pragma ghs interrupt
hu's avatar
hu committed
950 951 952 953 954
void INTTAUB0I10(void)
{
    //R_TAUB_Isr(0,(r_taub_Interrupt_t) 10);
    //TimerB_Input_Isr();
}
hu's avatar
hu committed
955 956

#pragma ghs interrupt
hu's avatar
hu committed
957 958 959 960
void INTTAUB0I11(void)
{
    //R_TAUB_Isr(0,(r_taub_Interrupt_t) 11);
}
hu's avatar
hu committed
961 962

#pragma ghs interrupt
hu's avatar
hu committed
963 964 965 966
void INTTAUB0I12(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 12);
}
hu's avatar
hu committed
967 968

#pragma ghs interrupt
hu's avatar
hu committed
969 970 971 972
void INTTAUB0I13(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 13);
}
hu's avatar
hu committed
973 974

#pragma ghs interrupt
hu's avatar
hu committed
975 976 977 978
void INTTAUB0I14(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 14);
}
hu's avatar
hu committed
979 980

#pragma ghs interrupt
hu's avatar
hu committed
981 982 983 984
void INTTAUB0I15(void)
{
    // R_TAUB_Isr(0,(r_taub_Interrupt_t) 15);
}
hu's avatar
hu committed
985 986

#pragma ghs interrupt
hu's avatar
hu committed
987 988 989 990
void INTTAUB1I0(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 0);
}
hu's avatar
hu committed
991 992

#pragma ghs interrupt
hu's avatar
hu committed
993 994 995 996
void INTTAUB1I1(void)
{
    //  R_TAUB_Isr(1,(r_taub_Interrupt_t) 1);
}
hu's avatar
hu committed
997 998

#pragma ghs interrupt
hu's avatar
hu committed
999 1000 1001 1002
void INTTAUB1I2(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 2);
}
hu's avatar
hu committed
1003 1004

#pragma ghs interrupt
hu's avatar
hu committed
1005 1006 1007 1008
void INTTAUB1I3(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 3);
}
hu's avatar
hu committed
1009 1010

#pragma ghs interrupt
hu's avatar
hu committed
1011 1012 1013 1014
void INTTAUB1I4(void)
{
    //R_TAUB_Isr(1,(r_taub_Interrupt_t) 4);
}
hu's avatar
hu committed
1015 1016

#pragma ghs interrupt
hu's avatar
hu committed
1017 1018 1019 1020
void INTTAUB1I5(void)
{
    //  R_TAUB_Isr(1,(r_taub_Interrupt_t) 5);
}
hu's avatar
hu committed
1021 1022

#pragma ghs interrupt
hu's avatar
hu committed
1023 1024 1025 1026
void INTTAUB1I6(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 6);
}
hu's avatar
hu committed
1027 1028

#pragma ghs interrupt
hu's avatar
hu committed
1029 1030 1031 1032
void INTTAUB1I7(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 7);
}
hu's avatar
hu committed
1033 1034

#pragma ghs interrupt
hu's avatar
hu committed
1035 1036 1037 1038
void INTTAUB1I8(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 8);
}
hu's avatar
hu committed
1039 1040

#pragma ghs interrupt
hu's avatar
hu committed
1041 1042 1043 1044
void INTTAUB1I9(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 9);
}
hu's avatar
hu committed
1045 1046

#pragma ghs interrupt
hu's avatar
hu committed
1047 1048 1049 1050
void INTTAUB1I10(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 10);
}
hu's avatar
hu committed
1051 1052

#pragma ghs interrupt
hu's avatar
hu committed
1053 1054 1055 1056
void INTTAUB1I11(void)
{
    //R_TAUB_Isr(1,(r_taub_Interrupt_t) 11);
}
hu's avatar
hu committed
1057 1058

#pragma ghs interrupt
hu's avatar
hu committed
1059 1060 1061 1062
void INTTAUB1I12(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 12);
}
hu's avatar
hu committed
1063 1064

#pragma ghs interrupt
hu's avatar
hu committed
1065 1066 1067 1068
void INTTAUB1I13(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 13);
}
hu's avatar
hu committed
1069 1070

#pragma ghs interrupt
hu's avatar
hu committed
1071 1072 1073 1074
void INTTAUB1I14(void)
{
    //R_TAUB_Isr(1,(r_taub_Interrupt_t) 14);
}
hu's avatar
hu committed
1075 1076

#pragma ghs interrupt
hu's avatar
hu committed
1077 1078 1079 1080
void INTTAUB1I15(void)
{
    // R_TAUB_Isr(1,(r_taub_Interrupt_t) 15);
}
hu's avatar
hu committed
1081 1082

#pragma ghs interrupt
hu's avatar
hu committed
1083 1084 1085 1086
void INTTAUB2I0(void)
{
    //R_TAUB_Isr(2,(r_taub_Interrupt_t) 0);
}
hu's avatar
hu committed
1087 1088

#pragma ghs interrupt
hu's avatar
hu committed
1089 1090 1091 1092
void INTTAUB2I1(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 1);
}
hu's avatar
hu committed
1093 1094

#pragma ghs interrupt
hu's avatar
hu committed
1095 1096 1097 1098
void INTTAUB2I2(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 2);
}
hu's avatar
hu committed
1099 1100

#pragma ghs interrupt
hu's avatar
hu committed
1101 1102 1103 1104
void INTTAUB2I3(void)
{
    //R_TAUB_Isr(2,(r_taub_Interrupt_t) 3);
}
hu's avatar
hu committed
1105 1106

#pragma ghs interrupt
hu's avatar
hu committed
1107 1108 1109 1110
void INTTAUB2I4(void)
{
    //  R_TAUB_Isr(2,(r_taub_Interrupt_t) 4);
}
hu's avatar
hu committed
1111 1112

#pragma ghs interrupt
hu's avatar
hu committed
1113 1114 1115 1116
void INTTAUB2I5(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 5);
}
hu's avatar
hu committed
1117 1118

#pragma ghs interrupt
hu's avatar
hu committed
1119 1120 1121 1122
void INTTAUB2I6(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 6);
}
hu's avatar
hu committed
1123 1124

#pragma ghs interrupt
hu's avatar
hu committed
1125 1126 1127 1128
void INTTAUB2I7(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 7);
}
hu's avatar
hu committed
1129 1130

#pragma ghs interrupt
hu's avatar
hu committed
1131 1132 1133 1134
void INTTAUB2I8(void)
{
    //R_TAUB_Isr(2,(r_taub_Interrupt_t) 8);
}
hu's avatar
hu committed
1135 1136

#pragma ghs interrupt
hu's avatar
hu committed
1137 1138 1139 1140
void INTTAUB2I9(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 9);
}
hu's avatar
hu committed
1141 1142

#pragma ghs interrupt
hu's avatar
hu committed
1143 1144 1145 1146
void INTTAUB2I10(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 10);
}
hu's avatar
hu committed
1147 1148

#pragma ghs interrupt
hu's avatar
hu committed
1149 1150 1151 1152
void INTTAUB2I11(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 11);
}
hu's avatar
hu committed
1153 1154

#pragma ghs interrupt
hu's avatar
hu committed
1155 1156 1157 1158
void INTTAUB2I12(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 12);
}
hu's avatar
hu committed
1159 1160

#pragma ghs interrupt
hu's avatar
hu committed
1161 1162 1163 1164
void INTTAUB2I13(void)
{
    //  R_TAUB_Isr(2,(r_taub_Interrupt_t) 13);
}
hu's avatar
hu committed
1165 1166

#pragma ghs interrupt
hu's avatar
hu committed
1167 1168 1169 1170
void INTTAUB2I14(void)
{
    //R_TAUB_Isr(2,(r_taub_Interrupt_t) 14);
}
hu's avatar
hu committed
1171 1172

#pragma ghs interrupt
hu's avatar
hu committed
1173 1174 1175 1176
void INTTAUB2I15(void)
{
    // R_TAUB_Isr(2,(r_taub_Interrupt_t) 15);
}
hu's avatar
hu committed
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186

#endif

/**************************************************
GPIO (external) interrupts 
**************************************************/

#ifdef USE_GPIO

#pragma ghs interrupt
hu's avatar
hu committed
1187
void INTP0(void)
hu's avatar
hu committed
1188
{
hu's avatar
hu committed
1189 1190
    R_GPIO_IntIsr(0);
}
hu's avatar
hu committed
1191 1192

#pragma ghs interrupt
hu's avatar
hu committed
1193
void INTP1(void)
hu's avatar
hu committed
1194
{
hu's avatar
hu committed
1195 1196
    R_GPIO_IntIsr(1);
}
hu's avatar
hu committed
1197 1198

#pragma ghs interrupt
hu's avatar
hu committed
1199
void INTP2(void)
hu's avatar
hu committed
1200
{
hu's avatar
hu committed
1201 1202
    R_GPIO_IntIsr(2);
}
hu's avatar
hu committed
1203 1204

#pragma ghs interrupt
hu's avatar
hu committed
1205
void INTP3(void)
hu's avatar
hu committed
1206
{
hu's avatar
hu committed
1207 1208
    R_GPIO_IntIsr(3);
}
hu's avatar
hu committed
1209 1210

#pragma ghs interrupt
hu's avatar
hu committed
1211
void INTP4(void)
hu's avatar
hu committed
1212
{
hu's avatar
hu committed
1213 1214
    R_GPIO_IntIsr(4);
}
hu's avatar
hu committed
1215 1216

#pragma ghs interrupt
hu's avatar
hu committed
1217
void INTP5(void)
hu's avatar
hu committed
1218
{
hu's avatar
hu committed
1219 1220
    R_GPIO_IntIsr(5);
}
hu's avatar
hu committed
1221 1222

#pragma ghs interrupt
hu's avatar
hu committed
1223
void INTP6(void)
hu's avatar
hu committed
1224
{
hu's avatar
hu committed
1225 1226
    R_GPIO_IntIsr(6);
}
hu's avatar
hu committed
1227 1228

#pragma ghs interrupt
hu's avatar
hu committed
1229
void INTP7(void)
hu's avatar
hu committed
1230
{
hu's avatar
hu committed
1231 1232
    R_GPIO_IntIsr(7);
}
hu's avatar
hu committed
1233 1234

#pragma ghs interrupt
hu's avatar
hu committed
1235
void INTP8(void)
hu's avatar
hu committed
1236
{
hu's avatar
hu committed
1237 1238
    R_GPIO_IntIsr(8);
}
hu's avatar
hu committed
1239 1240

#pragma ghs interrupt
hu's avatar
hu committed
1241
void INTP9(void)
hu's avatar
hu committed
1242
{
hu's avatar
hu committed
1243 1244
    R_GPIO_IntIsr(9);
}
hu's avatar
hu committed
1245 1246

#pragma ghs interrupt
hu's avatar
hu committed
1247
void INTP10(void)
hu's avatar
hu committed
1248
{
hu's avatar
hu committed
1249 1250
    R_GPIO_IntIsr(10);
}
hu's avatar
hu committed
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260

#endif

/**************************************************/
/* pcmp - PCM-PWM Interrupts                      */
/**************************************************/

#ifdef USE_PCMP

#pragma ghs interrupt
hu's avatar
hu committed
1261
void INTPCMP0FFIL(void)
hu's avatar
hu committed
1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
{
    R_PCMP_Isr(0, R_PCMP_INT_FFIL);
}

#pragma ghs interrupt
void INTPCMP0FERR(void)
{
    R_PCMP_Isr(0, R_PCMP_INT_ERR);
}

hu's avatar
hu committed
1272
#endif /* PCMP */
hu's avatar
hu committed
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308

/**************************************************/
/* sg - SG Interrupts                             */
/**************************************************/

#ifdef USE_SG

#pragma ghs interrupt
void INTSG0TI(void)
{
    R_SG_Isr(0);
}

#pragma ghs interrupt
void INTSG1TI(void)
{
    R_SG_Isr(1);
}

#pragma ghs interrupt
void INTSG2TI(void)
{
    R_SG_Isr(2);
}

#pragma ghs interrupt
void INTSG3TI(void)
{
    R_SG_Isr(3);
}

#pragma ghs interrupt
void INTSG4TI(void)
{
    R_SG_Isr(4);
}
hu's avatar
hu committed
1309
#endif /* SG */
hu's avatar
hu committed
1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349

/**************************************************/
/* ssif - SSIF Interrupts                         */
/**************************************************/

#ifdef USE_SSIF

#pragma ghs interrupt
void INTSSIF0(void)
{
    /*R_SSIF_IsrIRQ(0);*/
}

#pragma ghs interrupt
void INTSSIF0RX(void)
{
    /*R_SSIF_IsrRX(0);*/
}

#pragma ghs interrupt
void INTSSIF0TX(void)
{
    /*R_SSIF_IsrTX(0);*/
}

#pragma ghs interrupt
void INTSSIF1(void)
{
    /*R_SSIF_IsrIRQ(1);*/
}

#pragma ghs interrupt
void INTSSIF1RX(void)
{
    /*R_SSIF_IsrRX(1);*/
}

#pragma ghs interrupt
void INTSSIF1TX(void)
{
hu's avatar
hu committed
1350 1351
    /* R_SSIF_IsrTX(1);*/
    //     I2S_MAX98357_TX();
hu's avatar
hu committed
1352
}
hu's avatar
hu committed
1353
#endif /* SSIF */
hu's avatar
hu committed
1354 1355 1356 1357 1358 1359 1360

/**************************************************/
/* gfx - VRAM Interrupts                          */
/**************************************************/

#ifdef INTVRAM_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1361 1362
void INTVRAM_CH0_1BIT(void)
{
hu's avatar
hu committed
1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VRAM_Isr0(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1373 1374
void INTVRAM_CH0_2BIT(void)
{
hu's avatar
hu committed
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VRAM_Isr1(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1385 1386
void INTVRAM_CH0_OVF(void)
{
hu's avatar
hu committed
1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VRAM_Isr2(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1397 1398
void INTVRAM_CH1_1BIT(void)
{
hu's avatar
hu committed
1399 1400 1401 1402 1403 1404 1405 1406 1407 1408
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VRAM_Isr0(1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1409 1410
void INTVRAM_CH1_2BIT(void)
{
hu's avatar
hu committed
1411 1412 1413 1414 1415 1416 1417 1418 1419 1420
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VRAM_Isr1(1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1421 1422
void INTVRAM_CH1_OVF(void)
{
hu's avatar
hu committed
1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VRAM_Isr2(1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

/**************************************************/
/* gfx - LCBI Interrupts                          */
/**************************************************/

#ifdef USE_LCBI
#pragma ghs interrupt
void INTLCBI0RDY(void)
{
    R_LCBI_Isr(0, R_LCBI_INT_RDY);
}

#pragma ghs interrupt
void INTLCBI0EMPTY(void)
{
    R_LCBI_Isr(0, R_LCBI_INT_EMPT);
}

#pragma ghs interrupt
void INTLCBI0HALF(void)
{
    R_LCBI_Isr(0, R_LCBI_INT_HALF);
}

#pragma ghs interrupt
void INTLCBI0FULL(void)
{
    R_LCBI_Isr(0, R_LCBI_INT_FULL);
}

#pragma ghs interrupt
void INTLCBI0QTR(void)
{
    R_LCBI_Isr(0, R_LCBI_INT_QTR);
}

#pragma ghs interrupt
void INTLCBI03QTR(void)
{
    R_LCBI_Isr(0, R_LCBI_INT_3QTR);
}
#endif /* USE_LCBI */

/**************************************************/
/* gfx - VDCE Interrupts                          */
/**************************************************/

hu's avatar
hu committed
1479
#ifdef INTVDCE_ENABLE /* USE_VDCE */
hu's avatar
hu committed
1480 1481

#pragma ghs interrupt
hu's avatar
hu committed
1482 1483
void INTVDCE_CH0_ERR(void)
{
hu's avatar
hu committed
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    /* R_VDCE_Isr(0, R_VDCE_INTC_ERROR); */
    R_VDCE_IsrError(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1495 1496
void INTVDCE_CH0_GR3VBLANK(void)
{
hu's avatar
hu committed
1497 1498 1499
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
hu's avatar
hu committed
1500
    R_VDCE_Isr(0, R_VDCE_INTC_VBLANK_DELAY); /* R_VDCE_INTC_VBLANK_DELAY ? */
hu's avatar
hu committed
1501 1502 1503 1504 1505 1506
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1507 1508
void INTVDCE_CH0_S0VIVSYNC(void)
{
hu's avatar
hu committed
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_CAP_VBLANK);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1519 1520
void INTVDCE_CH0_S0LOVSYNC(void)
{
hu's avatar
hu committed
1521 1522 1523 1524 1525 1526 1527 1528 1529 1530
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_VBLANK);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1531 1532
void INTVDCE_CH0_GR3VLINE(void)
{
hu's avatar
hu committed
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_SCANLINE);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1543 1544
void INTVDCE_CH0_S0VFIELD(void)
{
hu's avatar
hu committed
1545 1546 1547 1548 1549 1550 1551 1552 1553 1554
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_CAP_END_OF_FIELD);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1555 1556
void INTVDCE_CH0_S1LOVSYNC(void)
{
hu's avatar
hu committed
1557 1558 1559 1560 1561 1562 1563 1564 1565 1566
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_VBLANK_1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1567 1568
void INTVDCE_CH0_OIRVIVSYNC(void)
{
hu's avatar
hu committed
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_OIR_VSCYNC_WRITE);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1579 1580
void INTVDCE_CH0_OIRLOVSYNC(void)
{
hu's avatar
hu committed
1581 1582 1583 1584 1585 1586 1587 1588 1589 1590
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_OIR_VBLANK);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1591 1592
void INTVDCE_CH0_OIRVLINE(void)
{
hu's avatar
hu committed
1593 1594 1595 1596 1597 1598 1599 1600 1601 1602
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(0, R_VDCE_INTC_OIR_SCANLINE);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1603 1604
void INTVDCE_CH1_ERR(void)
{
hu's avatar
hu committed
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_IsrError(1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1615 1616
void INTVDCE_CH1_GR3VBLANK(void)
{
hu's avatar
hu committed
1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(1, R_VDCE_INTC_VBLANK_DELAY);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1627 1628
void INTVDCE_CH1_S0VIVSYNC(void)
{
hu's avatar
hu committed
1629 1630 1631 1632 1633 1634 1635 1636 1637 1638
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(1, R_VDCE_INTC_CAP_VBLANK);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1639 1640
void INTVDCE_CH1_S0LOVSYNC(void)
{
hu's avatar
hu committed
1641 1642 1643 1644 1645 1646 1647 1648 1649 1650
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(1, R_VDCE_INTC_VBLANK);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1651 1652
void INTVDCE_CH1_GR3VLINE(void)
{
hu's avatar
hu committed
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(1, R_VDCE_INTC_SCANLINE);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1663 1664
void INTVDCE_CH1_S0VFIELD(void)
{
hu's avatar
hu committed
1665 1666 1667 1668 1669 1670 1671 1672 1673 1674
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(1, R_VDCE_INTC_CAP_END_OF_FIELD);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1675 1676
void INTVDCE_CH1_S1LOVSYNC(void)
{
hu's avatar
hu committed
1677 1678 1679 1680 1681 1682 1683 1684 1685
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VDCE_Isr(1, R_VDCE_INTC_VBLANK_1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

hu's avatar
hu committed
1686
#endif /* INTVDCE_ENABLE / USE_VDCE */
hu's avatar
hu committed
1687 1688 1689 1690 1691 1692 1693

/**************************************************/
/* gfx - VOWE Interrupts                          */
/**************************************************/

#ifdef INTVOWE_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1694 1695
void INTVOWE(void)
{
hu's avatar
hu committed
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VOWE_Isr0(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

/**************************************************/
/* gfx - MIPI Interrupts                          */
/**************************************************/

#ifdef INTMIPI0OVF_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1712 1713
void INTMIPI0OVF(void)
{
hu's avatar
hu committed
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_MIPI_IsrOVF();
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTMIPI0CTL_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1726 1727
void INTMIPI0CTL(void)
{
hu's avatar
hu committed
1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_MIPI_IsrCTL();
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

/**************************************************/
/* gfx - VOCA Interrupts                         */
/**************************************************/

#ifdef INTVOCA_VOCINT_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1744 1745
void INTVOCA_VOCINT(void)
{
hu's avatar
hu committed
1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VOCA_IsrVocInt(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTVOCA_ACTMONINT_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1758 1759
void INTVOCA_ACTMONINT(void)
{
hu's avatar
hu committed
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_VOCA_IsrActMonInt(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

/**************************************************/
/* gfx - DISCOM Interrupts                        */
/**************************************************/

#ifdef INTDISCOM_CMPI0_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1776 1777
void INTDISCOM_CMPI0(void)
{
hu's avatar
hu committed
1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_DISCOM_IsrCMPI(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTDISCOM_CMPI1_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1790 1791
void INTDISCOM_CMPI1(void)
{
hu's avatar
hu committed
1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_DISCOM_IsrCMPI(1);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

/**************************************************/
/* JCUA Interrupts                                 */
/**************************************************/

#ifdef INTJCU0EDI_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1808 1809
void INTJCU0EDI(void)
{
hu's avatar
hu committed
1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_JCUA_IsrStop(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTJCU0DTI_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1822 1823
void INTJCU0DTI(void)
{
hu's avatar
hu committed
1824 1825 1826 1827 1828 1829 1830 1831
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_JCUA_IsrFinish(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
hu's avatar
hu committed
1832
#endif
hu's avatar
hu committed
1833 1834 1835 1836 1837 1838 1839

/**************************************************/
/* gfx - dhd Interrupts                        */
/**************************************************/

#ifdef INTDHD_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1840 1841
void INTDHD_SYNC(void)
{
hu's avatar
hu committed
1842 1843 1844 1845 1846 1847 1848 1849 1850 1851
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    dhd_sys_IsrDave(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1852 1853
void INTDHD_PAUSE(void)
{
hu's avatar
hu committed
1854 1855 1856 1857 1858 1859 1860 1861 1862 1863
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    dhd_sys_IsrDave(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#pragma ghs interrupt
hu's avatar
hu committed
1864 1865
void INTDHD_SPECIAL(void)
{
hu's avatar
hu committed
1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    dhd_sys_IsrDave(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}

#endif

/**************************************************/
/* ISM Interrupts                                 */
/**************************************************/

/*  ISM unit 0 */
#ifdef INTISM0REACHED_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1884 1885
void INTISM0REACHED(void)
{
hu's avatar
hu committed
1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_ISM_IsrReached(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTISM0DONE_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1898 1899
void INTISM0DONE(void)
{
hu's avatar
hu committed
1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_ISM_IsrDone(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTISM0ZPDAD_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1912 1913
void INTISM0ZPDAD(void)
{
hu's avatar
hu committed
1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_ISM_IsrZpdad(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

#ifdef INTISM0ZPD_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1926 1927
void INTISM0ZPD(void)
{
hu's avatar
hu committed
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945
#ifdef USE_ROS
    R_OS_Prv_EnterInterrupt();
#endif
    R_ISM_IsrZpd(0);
#ifdef USE_ROS
    R_OS_Prv_LeaveInterrupt();
#endif
}
#endif

/**************************************************/
/* rscan0 - RSCAN0 Interrupts                     */
/**************************************************/

#ifdef USE_RSCAN0

#ifdef INTRCANGERR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1946
void INTRCANGERR(void)
hu's avatar
hu committed
1947 1948 1949 1950 1951 1952
{
}
#endif

#ifdef INTRCANGRECC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1953
void INTRCANGRECC(void)
hu's avatar
hu committed
1954 1955 1956 1957 1958 1959 1960
{
    //RSCAN0_FIFO_Rx_ISR();
}
#endif

#ifdef INTRCAN0ERR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1961
void INTRCAN0ERR(void)
hu's avatar
hu committed
1962
{
hu's avatar
hu committed
1963
    ;//RSCAN0_CH0_Err_ISR();
hu's avatar
hu committed
1964 1965 1966 1967 1968
}
#endif

#ifdef INTRCAN0REC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1969
void INTRCAN0REC(void)
hu's avatar
hu committed
1970
{
hu's avatar
hu committed
1971
    RSCAN0_CH0_RX_ISR();
hu's avatar
hu committed
1972 1973 1974 1975 1976
}
#endif

#ifdef INTRCAN0TRX_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1977
void INTRCAN0TRX(void)
hu's avatar
hu committed
1978
{
hu's avatar
hu committed
1979
    RSCAN0_CH0_TX_ISR();
hu's avatar
hu committed
1980 1981 1982 1983 1984
}
#endif

#ifdef INTRCAN1ERR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1985
void INTRCAN1ERR(void)
hu's avatar
hu committed
1986
{
hu's avatar
hu committed
1987
    ;//RSCAN0_CH1_Err_ISR();
hu's avatar
hu committed
1988 1989 1990 1991 1992
}
#endif

#ifdef INTRCAN1REC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
1993
void INTRCAN1REC(void)
hu's avatar
hu committed
1994
{
hu's avatar
hu committed
1995
    RSCAN0_CH1_RX_ISR();
hu's avatar
hu committed
1996 1997 1998 1999 2000
}
#endif

#ifdef INTRCAN1TRX_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
2001
void INTRCAN1TRX(void)
hu's avatar
hu committed
2002
{
hu's avatar
hu committed
2003
    RSCAN0_CH1_TX_ISR();
hu's avatar
hu committed
2004 2005 2006 2007 2008
}
#endif

#ifdef INTRCAN2ERR_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
2009
void INTRCAN2ERR(void)
hu's avatar
hu committed
2010
{
hu's avatar
hu committed
2011
    ;//RSCAN0_CH2_Err_ISR();
hu's avatar
hu committed
2012 2013 2014 2015 2016
}
#endif

#ifdef INTRCAN2REC_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
2017
void INTRCAN2REC(void)
hu's avatar
hu committed
2018
{
hu's avatar
hu committed
2019
    RSCAN0_CH2_RX_ISR();
hu's avatar
hu committed
2020 2021 2022 2023 2024
}
#endif

#ifdef INTRCAN2TRX_ENABLE
#pragma ghs interrupt
hu's avatar
hu committed
2025
void INTRCAN2TRX(void)
hu's avatar
hu committed
2026
{
hu's avatar
hu committed
2027
    RSCAN0_CH2_TX_ISR();
hu's avatar
hu committed
2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055
}
#endif

#endif /* USE_RSCAN0 */

/**************************************************/
/* INTFL - Internal flash Interrupts              */
/**************************************************/
/* interrupts for internal flash */
#ifdef USE_INT_FLASH

#ifdef INTFLERR_ENABLE
#pragma ghs interrupt
void INTFLERR(void)
{
}
#endif

#ifdef INTFLENDNM_ENABLE
#pragma ghs interrupt
void INTFLENDNM(void)
{
    Int_Flash_Ready_ISR();
}
#endif
#endif /* USE_INT_FLASH */

#pragma ghs endnomisra