C

Qt Quick Ultralite Automotive Cluster Demo

//============================================================================
// PROJECT = RH850/D1M2H
//============================================================================
// C O P Y R I G H T
//============================================================================
// Copyright (c) 2017 by Renesas Electronics (EUROPE) GmbH. All rights reserved.
// Arcadiastrasse 10
// D-40472 Duesseldorf
//============================================================================
//Purpose: RSCFD Interrupt Vectors
//
//Warranty Disclaimer
//
//Because the Product(s) is licensed free of charge, there is no warranty
//of any kind whatsoever and expressly disclaimed and excluded by Renesas,
//either expressed or implied, including but not limited to those for
//non-infringement of intellectual property, merchantability and/or
//fitness for the particular purpose.
//Renesas shall not have any obligation to maintain, service or provide bug
//fixes for the supplied Product(s) and/or the Application.
//
//Each User is solely responsible for determining the appropriateness of
//using the Product(s) and assumes all risks associated with its exercise
//of rights under this Agreement, including, but not limited to the risks
//and costs of program errors, compliance with applicable laws, damage to
//or loss of data, programs or equipment, and unavailability or
//interruption of operations.
//
//Limitation of Liability
//
//In no event shall Renesas be liable to the User for any incidental,
//consequential, indirect, or punitive damage (including but not limited
//to lost profits) regardless of whether such liability is based on breach
//of contract, tort, strict liability, breach of warranties, failure of
//essential purpose or otherwise and even if advised of the possibility of
//such damages. Renesas shall not be liable for any services or products
//provided by third party vendors, developers or consultants identified or
//referred to the User by Renesas in connection with the Product(s) and/or the
//Application.
//
//============================================================================
// Environment: Devices:          RH850/D1M2H
//              Assembler:        GHS MULTI
//              C-Compiler:       GHS MULTI
//              Linker:           GHS MULTI
//              Debugger:         GHS MULTI
//============================================================================

#include <rscanfd/rscanfd_uciaprcn/rscfd.h>

extern u08 EE_RSCFD_InterruptFlag_Unit_u08;
extern u08 EE_RSCFD_InterruptFlag_Global_u08;
extern u08 EE_RSCFD_InterruptFlag_Channel0_u08;
extern u08 EE_RSCFD_InterruptFlag_Channel1_u08;
extern u08 EE_RSCFD_InterruptFlag_Channel2_u08;
extern u08 EE_RSCFD_InterruptFlag_Channel3_u08;
extern u08 EE_RSCFD_InterruptFlag_Channel4_u08;
extern u08 EE_RSCFD_InterruptFlag_Channel5_u08;

extern void EE_RSCFD_Interrupt( void );

__interrupt void INTRCAN0ERR( void );
__interrupt void INTRCAN0REC( void );
__interrupt void INTRCAN0TRX( void );

__interrupt void INTRCAN1ERR( void );
__interrupt void INTRCAN1REC( void );
__interrupt void INTRCAN1TRX( void );

__interrupt void INTRCAN2ERR( void );
__interrupt void INTRCAN2REC( void );
__interrupt void INTRCAN2TRX( void );

__interrupt void INTRCANGERR0( void );
__interrupt void INTRCANGRECC0( void );

__interrupt void INTRCAN0ERR( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel0_u08 = EE_RSCFD_INT_CERR;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN0REC( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel0_u08 = EE_RSCFD_INT_RXCF;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN0TRX( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel0_u08 = EE_RSCFD_INT_TX;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN1ERR( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel1_u08 = EE_RSCFD_INT_CERR;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN1REC( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel1_u08 = EE_RSCFD_INT_RXCF;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN1TRX( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel1_u08 = EE_RSCFD_INT_TX;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN2ERR( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel2_u08 = EE_RSCFD_INT_CERR;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN2REC( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel2_u08 = EE_RSCFD_INT_RXCF;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCAN2TRX( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Channel2_u08 = EE_RSCFD_INT_TX;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCANGERR( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Global_u08 = EE_RSCFD_INT_GERR;
  EE_RSCFD_Interrupt( );
}

__interrupt void INTRCANGRECC( void )
{
  EE_RSCFD_InterruptFlag_Unit_u08 = 0;
  EE_RSCFD_InterruptFlag_Global_u08 = EE_RSCFD_INT_RXF0;
  EE_RSCFD_Interrupt( );
}