root/RF_BT_Tail/mcc_generated_files/interrupt_manager.h

Revision 244, 3.1 kB (checked in by phil, 4 years ago)

added initial Tail Source Package

Line 
1 /**
2   Generated Interrupt Manager Header File
3
4   @Company:
5     Microchip Technology Inc.
6
7   @File Name:
8     interrupt_manager.h
9
10   @Summary:
11     This is the Interrupt Manager file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs
12
13   @Description:
14     This header file provides implementations for global interrupt handling.
15     For individual peripheral handlers please see the peripheral driver for
16     all modules selected in the GUI.
17     Generation Information :
18         Product Revision  :  PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.65.2
19         Device            :  PIC16F1579
20         Driver Version    :  2.03
21     The generated drivers are tested against the following:
22         Compiler          :  XC8 1.45 or later
23         MPLAB             :  MPLAB X 4.15
24 */
25
26 /*
27     (c) 2018 Microchip Technology Inc. and its subsidiaries.
28    
29     Subject to your compliance with these terms, you may use Microchip software and any
30     derivatives exclusively with Microchip products. It is your responsibility to comply with third party
31     license terms applicable to your use of third party software (including open source software) that
32     may accompany Microchip software.
33    
34     THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER
35     EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY
36     IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS
37     FOR A PARTICULAR PURPOSE.
38    
39     IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
40     INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
41     WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP
42     HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO
43     THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL
44     CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT
45     OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS
46     SOFTWARE.
47 */
48
49 #ifndef INTERRUPT_MANAGER_H
50 #define INTERRUPT_MANAGER_H
51
52
53 /**
54  * @Param
55     none
56  * @Returns
57     none
58  * @Description
59     This macro will enable global interrupts.
60  * @Example
61     INTERRUPT_GlobalInterruptEnable();
62  */
63 #define INTERRUPT_GlobalInterruptEnable() (INTCONbits.GIE = 1)
64
65 /**
66  * @Param
67     none
68  * @Returns
69     none
70  * @Description
71     This macro will disable global interrupts.
72  * @Example
73     INTERRUPT_GlobalInterruptDisable();
74  */
75 #define INTERRUPT_GlobalInterruptDisable() (INTCONbits.GIE = 0)
76 /**
77  * @Param
78     none
79  * @Returns
80     none
81  * @Description
82     This macro will enable peripheral interrupts.
83  * @Example
84     INTERRUPT_PeripheralInterruptEnable();
85  */
86 #define INTERRUPT_PeripheralInterruptEnable() (INTCONbits.PEIE = 1)
87
88 /**
89  * @Param
90     none
91  * @Returns
92     none
93  * @Description
94     This macro will disable peripheral interrupts.
95  * @Example
96     INTERRUPT_PeripheralInterruptDisable();
97  */
98 #define INTERRUPT_PeripheralInterruptDisable() (INTCONbits.PEIE = 0)
99
100
101 #endif  // INTERRUPT_MANAGER_H
102 /**
103  End of File
104 */
Note: See TracBrowser for help on using the browser.