Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
xc16_pral.h
1
22
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_ccp.h"
53
#include "p33c_dac.h"
54
#include "p33c_dsp.h"
55
#include "p33c_gpio.h"
56
#include "p33c_opa.h"
57
#include "p33c_osc.h"
58
#include "p33c_pps.h"
59
#include "p33c_pwm.h"
60
61
#include "p33c_macros.h"
62
63
#else
64
#pragma message "warning: currently selected device is not supported by XC16 Periperhal Register Abstraction Layer (PRAL) drivers"
65
#endif
66
67
#endif // End of MCAL_P33C_SFR_ABSTRACTION_DRIVER_H
68
// end of group xc16-pral
70
// end of file
dpsk_buck_vmc.X
sources
common
p33c_pral
xc16_pral.h
© 2021, Microchip Technology Inc.