1 /*""FILE COMMENT""*******************************************************
2 * System Name : Interrupt program for RX62Nxx
3 * File Name : Interrupt_BSC.c
4 * Version : 1.02
5 * Contents : Interrupt handler for the BSC
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
23 #include "r_pdl_bsc.h"
24 #include "r_pdl_definitions.h"
25 #include "r_pdl_user_definitions.h"
26
27 /*""FUNC COMMENT""***************************************************
28 * Module outline : BSC interrupt processing
29 *-------------------------------------------------------------------
30 * Declaration : void Interrupt_BSC(void)
31 *-------------------------------------------------------------------
32 * Function : Interrupt processing function for the BSC
33 *-------------------------------------------------------------------
34 * Argument : Nothing
35 *-------------------------------------------------------------------
36 * Return value : Nothing
37 *-------------------------------------------------------------------
38 * Input :
39 * Output :
40 *-------------------------------------------------------------------
41 * Use function : rpdl_BSC_callback_func
42 *-------------------------------------------------------------------
43 * Notes :
44 *-------------------------------------------------------------------
45 * History : 2011.04.08
46 * : Ver 1.02
47 * : CS-5 release.
48 *""FUNC COMMENT END""**********************************************/
49
50 #if FAST_INTC_VECTOR == VECT_BSC_BUSERR
Interrupt_BSC(void)51 __fast_interrupt void Interrupt_BSC(void)
52 #else
53 #pragma vector = VECT_BSC_BUSERR
54 __interrupt void Interrupt_BSC(void)
55 #endif
56 {
57 /* Call the user function */
58 if (rpdl_BSC_callback_func != PDL_NO_FUNC)
59 {
60 rpdl_BSC_callback_func();
61 }
62 }
63 /* End of file */
64