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

Loading...
Searching...
No Matches
pwm_hs_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 PWM_HS_TYPES_H
39#define PWM_HS_TYPES_H
40
41// Section: Included Files
42
43// Section: Enum Declarations
44
53 enum PWM_GENERATOR
54{
55 PWM_PRI_1 = 1,
56 PWM_SEC_1 = 2,
57 PWM_PRI_2 = 3,
58 PWM_SEC_2 = 4,
59 PWM_MAX_GENERATOR
60};
61
67 enum PWM_GENERATOR_INTERRUPT
68{
69 PWM_GENERATOR_INTERRUPT_FAULT = 1,
70 PWM_GENERATOR_INTERRUPT_CURRENT_LIMIT = 2,
71 PWM_GENERATOR_INTERRUPT_FEED_FORWARD = 3,
72 PWM_GENERATOR_INTERRUPT_SYNC = 4,
73};
74
81 enum PWM_COMMON_EVENT
82{
83 PWM_EVENT_A = 1,
84 PWM_EVENT_B = 2,
85 PWM_EVENT_C = 3,
86 PWM_EVENT_D = 4,
87 PWM_EVENT_E = 5,
88 PWM_EVENT_F = 6
89};
90
97 enum PWM_TRIGGER_COMPARE
98{
99 PWM_TRIGGER_COMPARE_A = 1,
100 PWM_TRIGGER_COMPARE_B = 2,
101 PWM_TRIGGER_COMPARE_C = 3,
102};
103
109 enum PWM_MODES
110{
111 PWM_MODE_INDEPENDENT_EDGE = 0x0,
112 PWM_MODE_VARIABLE_PHASE = 0x1,
113 PWM_MODE_INDEPENDENT_EDGE_DUAL_OUTPUT = 0x2,
114 PWM_MODE_CENTER_ALIGNED = 0x4,
115 PWM_MODE_DOUBLE_UPDATE_CENTER_ALIGNED = 0x5,
116 PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_ONE_UPDATE_CYCLE = 0x6,
117 PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_TWO_UPDATES_CYCLE = 0x7,
118};
119
125 enum PWM_SOURCE_SELECT
126{
127 PWM_SOURCE_SELECT_INDEPENDENT = 0,
128 PWM_SOURCE_SELECT_MASTER = 1,
129};
130
131#endif //PWM_HS_TYPES_H
PWM_GENERATOR_INTERRUPT
PWM_GENERATOR_INTERRUPT
Definition pwm_hs_types.h:68
PWM_GENERATOR_INTERRUPT_FEED_FORWARD
@ PWM_GENERATOR_INTERRUPT_FEED_FORWARD
Definition pwm_hs_types.h:71
PWM_GENERATOR_INTERRUPT_SYNC
@ PWM_GENERATOR_INTERRUPT_SYNC
Definition pwm_hs_types.h:72
PWM_GENERATOR_INTERRUPT_CURRENT_LIMIT
@ PWM_GENERATOR_INTERRUPT_CURRENT_LIMIT
Definition pwm_hs_types.h:70
PWM_GENERATOR_INTERRUPT_FAULT
@ PWM_GENERATOR_INTERRUPT_FAULT
Definition pwm_hs_types.h:69
PWM_TRIGGER_COMPARE
PWM_TRIGGER_COMPARE
Definition pwm_hs_types.h:98
PWM_TRIGGER_COMPARE_A
@ PWM_TRIGGER_COMPARE_A
Definition pwm_hs_types.h:99
PWM_TRIGGER_COMPARE_B
@ PWM_TRIGGER_COMPARE_B
Definition pwm_hs_types.h:100
PWM_TRIGGER_COMPARE_C
@ PWM_TRIGGER_COMPARE_C
Definition pwm_hs_types.h:101
PWM_MODES
PWM_MODES
Definition pwm_hs_types.h:110
PWM_MODE_CENTER_ALIGNED
@ PWM_MODE_CENTER_ALIGNED
Definition pwm_hs_types.h:114
PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_TWO_UPDATES_CYCLE
@ PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_TWO_UPDATES_CYCLE
Definition pwm_hs_types.h:117
PWM_MODE_VARIABLE_PHASE
@ PWM_MODE_VARIABLE_PHASE
Definition pwm_hs_types.h:112
PWM_MODE_DOUBLE_UPDATE_CENTER_ALIGNED
@ PWM_MODE_DOUBLE_UPDATE_CENTER_ALIGNED
Definition pwm_hs_types.h:115
PWM_MODE_INDEPENDENT_EDGE_DUAL_OUTPUT
@ PWM_MODE_INDEPENDENT_EDGE_DUAL_OUTPUT
Definition pwm_hs_types.h:113
PWM_MODE_INDEPENDENT_EDGE
@ PWM_MODE_INDEPENDENT_EDGE
Definition pwm_hs_types.h:111
PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_ONE_UPDATE_CYCLE
@ PWM_MODE_DUAL_EDGE_CENTER_ALIGNED_ONE_UPDATE_CYCLE
Definition pwm_hs_types.h:116
PWM_GENERATOR
PWM_GENERATOR
Definition pwm_hs_types.h:54
PWM_SEC_1
@ PWM_SEC_1
Definition pwm_hs_types.h:56
PWM_PRI_1
@ PWM_PRI_1
Definition pwm_hs_types.h:55
PWM_MAX_GENERATOR
@ PWM_MAX_GENERATOR
Definition pwm_hs_types.h:59
PWM_SEC_2
@ PWM_SEC_2
Definition pwm_hs_types.h:58
PWM_PRI_2
@ PWM_PRI_2
Definition pwm_hs_types.h:57
PWM_SOURCE_SELECT
PWM_SOURCE_SELECT
Definition pwm_hs_types.h:126
PWM_SOURCE_SELECT_INDEPENDENT
@ PWM_SOURCE_SELECT_INDEPENDENT
Definition pwm_hs_types.h:127
PWM_SOURCE_SELECT_MASTER
@ PWM_SOURCE_SELECT_MASTER
Definition pwm_hs_types.h:128
PWM_COMMON_EVENT
PWM_COMMON_EVENT
Definition pwm_hs_types.h:82
PWM_EVENT_A
@ PWM_EVENT_A
Definition pwm_hs_types.h:83
PWM_EVENT_B
@ PWM_EVENT_B
Definition pwm_hs_types.h:84
PWM_EVENT_D
@ PWM_EVENT_D
Definition pwm_hs_types.h:86
PWM_EVENT_E
@ PWM_EVENT_E
Definition pwm_hs_types.h:87
PWM_EVENT_F
@ PWM_EVENT_F
Definition pwm_hs_types.h:88
PWM_EVENT_C
@ PWM_EVENT_C
Definition pwm_hs_types.h:85