| Digital Power Starter Kit 3 Firmware dsPIC33C Boost Converter Voltage Mode Control Example |

xc16_pral.h
1 /*************************************************************************************************
2 * <b>Software License Agreement</b>
3 *
4 * Copyright © 2021 Microchip Technology Inc. All rights reserved. Microchip licenses to you the
5 * right to use, modify, copy and distribute Software only when embedded on a Microchip
6 * microcontroller or digital signal controller, which is integrated into your product or third
7 * party product (pursuant to the sublicense terms in the accompanying license agreement).
8 *
9 * You should refer to the license agreement accompanying this Software for additional information
10 * regarding your rights and obligations.
11 *
12 * SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
13 * IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT
14 * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR
15 * OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR
16 * OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT
17 * LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS
18 * OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY
19 * THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
20 *
21 ************************************************************************************************/
22 /*************************************************************************************************
23 * @ingroup xc16-pral
24 * @{
25 *************************************************************************************************
26 * @file
27 * @brief Includes generic peripheral special function register abstraction layer header files
28 *
29 * @details
30 * This additional header file contains include paths to header files providing additional
31 * peripheral special function register abstraction drivers. These PRAL drivers provide
32 * abstracted data structures of peripheral module and instance register sets used as virtual
33 * register templates to create silicon-independent firmware modules replacing direct peripheral
34 * register manipulation operations by abstracted versions, which are mapped to a specific
35 * module or instance at runtime.
36 *
37 ************************************************************************************************/
38
39 #ifndef MCAL_P33C_SFR_ABSTRACTION_DRIVER_H
40 #define MCAL_P33C_SFR_ABSTRACTION_DRIVER_H
41
42 // Device header file
43 #include <xc.h> // include processor files - each processor file is guarded.
44 #include <stdint.h> // include standard integer types header file
45 #include <stdbool.h> // include standard boolean types header file
46 #include <stddef.h> // include standard definition types header file
47
48 #include "p33smps_devices.h" // Include extended device identifier macros
49
50 #if defined (__P33SMPS_CK__) || defined (__P33SMPS_CH__)
51
52 #include "p33c_macros.h"
53
54 // List of peripherals supported by both cores
55 #include "p33c_ccp.h"
56 #include "p33c_crc.h"
57 #include "p33c_dac.h"
58 #include "p33c_dma.h"
59 #include "p33c_dsp.h"
60 #include "p33c_gpio.h"
61 #include "p33c_mpuart.h"
62 #include "p33c_osc.h"
63 #include "p33c_pmd.h"
64 #include "p33c_pps.h"
65 #include "p33c_pwm.h"
66 #include "p33c_timer.h"
67
68 #include "p33c_uart.h"
69
70 // List of peripherals only supported by dual core devices
71 #if defined (__P33SMPS_CH__)
72 // (none)
73 #endif
74
75 // List of peripherals only supported by single core devices
76 #if defined (__P33SMPS_CK__)
77 #include "p33c_opa.h"
78 #endif
79
80 #else
81 #pragma message "warning: currently selected device is not supported by XC16 Periperhal Register Abstraction Layer (PRAL) drivers"
82 #endif
83
84 #endif // End of MCAL_P33C_SFR_ABSTRACTION_DRIVER_H
85 // end of group xc16-pral
87 // end of file