|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
adc_types.h
Go to the documentation of this file.
1
17/*
18© [2024] Microchip Technology Inc. and its subsidiaries.
19
20 Subject to your compliance with these terms, you may use Microchip
21 software and any derivatives exclusively with Microchip products.
22 You are responsible for complying with 3rd party license terms
23 applicable to your use of 3rd party software (including open source
24 software) that may accompany Microchip software. SOFTWARE IS ?AS IS.?
25 NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS
26 SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,
27 MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
28 WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
29 INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY
30 KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
31 MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE
32 FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP?S
33 TOTAL LIABILITY ON ALL CLAIMS RELATED TO THE SOFTWARE WILL NOT
34 EXCEED AMOUNT OF FEES, IF ANY, YOU PAID DIRECTLY TO MICROCHIP FOR
35 THIS SOFTWARE.
36*/
37
38#ifndef ADC_TYPES_H
39#define ADC_TYPES_H
40
41// Section: Included Files
42
43// Section: Data Type Definitions
44
45
55 enum ADC_CHANNEL
56{
57 VSEC,
58 IPRI_CT,
59 VPRI,
60 TEMP,
61 VRAIL_5V,
62 ISEC_CT,
63 ISEC_AVG,
64 MAX_CHANNELS = 7,
65 ADC_MAX_CHANNELS = 7
66};
67
68
78 enum ADC_DEDICATED_CORE
79{
80 CORE_0 = 0,
81 ADC_CORE_0 = 0,
82 CORE_1 = 1,
83 ADC_CORE_1 = 1,
84 MAX_DEDICATED_CORES = 2,
85 ADC_MAX_DEDICATED_CORES = 2
86};
87
93 enum ADC_RESOLUTION_TYPE
94{
95 ADC_6_BIT_RESOLUTION = 0x0,
96 ADC_8_BIT_RESOLUTION = 0x1,
97 ADC_10_BIT_RESOLUTION = 0x2,
98 ADC_12_BIT_RESOLUTION = 0x3,
99};
100
107 enum ADC_CMP
108{
109 MAX_CMPS = 0,
110 ADC_MAX_CMPS = 0
111};
112
120 enum ADC_PWM_INSTANCE
121{
122 ADC_PWM_GENERATOR_8,
123 ADC_PWM_GENERATOR_7,
124 ADC_PWM_GENERATOR_6,
125 ADC_PWM_GENERATOR_5,
126 ADC_PWM_GENERATOR_4,
127 ADC_PWM_GENERATOR_3,
128 ADC_PWM_GENERATOR_2,
129 ADC_PWM_GENERATOR_1,
130};
131
137 enum ADC_PWM_TRIGGERS
138{
139 ADC_PWM_TRIGGER_1 = 1,
140 ADC_PWM_TRIGGER_2 = 2,
141};
142
143#endif //ADC_TYPES_H
ADC_RESOLUTION_TYPE
ADC_RESOLUTION_TYPE
Definition adc_types.h:94
ADC_12_BIT_RESOLUTION
@ ADC_12_BIT_RESOLUTION
Definition adc_types.h:98
ADC_6_BIT_RESOLUTION
@ ADC_6_BIT_RESOLUTION
Definition adc_types.h:95
ADC_8_BIT_RESOLUTION
@ ADC_8_BIT_RESOLUTION
Definition adc_types.h:96
ADC_10_BIT_RESOLUTION
@ ADC_10_BIT_RESOLUTION
Definition adc_types.h:97
ADC_PWM_TRIGGERS
ADC_PWM_TRIGGERS
Definition adc_types.h:138
ADC_PWM_TRIGGER_1
@ ADC_PWM_TRIGGER_1
Definition adc_types.h:139
ADC_PWM_TRIGGER_2
@ ADC_PWM_TRIGGER_2
Definition adc_types.h:140
ADC_CMP
ADC_CMP
Definition adc_types.h:108
ADC_MAX_CMPS
@ ADC_MAX_CMPS
Definition adc_types.h:110
MAX_CMPS
@ MAX_CMPS
Definition adc_types.h:109
ADC_PWM_INSTANCE
ADC_PWM_INSTANCE
Definition adc_types.h:121
ADC_PWM_GENERATOR_2
@ ADC_PWM_GENERATOR_2
Definition adc_types.h:128
ADC_PWM_GENERATOR_4
@ ADC_PWM_GENERATOR_4
Definition adc_types.h:126
ADC_PWM_GENERATOR_5
@ ADC_PWM_GENERATOR_5
Definition adc_types.h:125
ADC_PWM_GENERATOR_7
@ ADC_PWM_GENERATOR_7
Definition adc_types.h:123
ADC_PWM_GENERATOR_1
@ ADC_PWM_GENERATOR_1
Definition adc_types.h:129
ADC_PWM_GENERATOR_8
@ ADC_PWM_GENERATOR_8
Definition adc_types.h:122
ADC_PWM_GENERATOR_3
@ ADC_PWM_GENERATOR_3
Definition adc_types.h:127
ADC_PWM_GENERATOR_6
@ ADC_PWM_GENERATOR_6
Definition adc_types.h:124
ADC_DEDICATED_CORE
ADC_DEDICATED_CORE
Definition adc_types.h:79
CORE_0
@ CORE_0
Definition adc_types.h:80
ADC_CORE_1
@ ADC_CORE_1
Definition adc_types.h:83
ADC_MAX_DEDICATED_CORES
@ ADC_MAX_DEDICATED_CORES
Definition adc_types.h:85
MAX_DEDICATED_CORES
@ MAX_DEDICATED_CORES
Definition adc_types.h:84
ADC_CORE_0
@ ADC_CORE_0
Definition adc_types.h:81
CORE_1
@ CORE_1
Definition adc_types.h:82
ADC_CHANNEL
ADC_CHANNEL
Definition adc_types.h:56
ISEC_CT
@ ISEC_CT
Definition adc_types.h:62
ADC_MAX_CHANNELS
@ ADC_MAX_CHANNELS
Definition adc_types.h:65
VSEC
@ VSEC
Definition adc_types.h:57
IPRI_CT
@ IPRI_CT
Definition adc_types.h:58
TEMP
@ TEMP
Definition adc_types.h:60
VPRI
@ VPRI
Definition adc_types.h:59
MAX_CHANNELS
@ MAX_CHANNELS
Definition adc_types.h:64
VRAIL_5V
@ VRAIL_5V
Definition adc_types.h:61
ISEC_AVG
@ ISEC_AVG
Definition adc_types.h:63