diff --git a/BLDC_E54/.vs/BLDC_E54/v14/.atsuo b/BLDC_E54/.vs/BLDC_E54/v14/.atsuo
index 401804d..7c1203a 100644
Binary files a/BLDC_E54/.vs/BLDC_E54/v14/.atsuo and b/BLDC_E54/.vs/BLDC_E54/v14/.atsuo differ
diff --git a/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart b/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart
index 73f4306..b4eae33 100644
--- a/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart
+++ b/BLDC_E54/BLDC_E54/.atmelstart/atmel_start_config.atstart
@@ -321,7 +321,7 @@ drivers:
dmac_channel_7_settings: false
dmac_channel_8_settings: false
dmac_channel_9_settings: false
- dmac_dbgrun: true
+ dmac_dbgrun: false
dmac_dstinc_0: true
dmac_dstinc_1: false
dmac_dstinc_10: false
@@ -860,7 +860,7 @@ drivers:
api: HAL:Driver:Event_system
configuration:
evsys_channel_0: No channel output selected
- evsys_channel_1: No channel output selected
+ evsys_channel_1: Channel 0
evsys_channel_10: No channel output selected
evsys_channel_11: No channel output selected
evsys_channel_12: No channel output selected
@@ -1286,7 +1286,7 @@ drivers:
$input_id: External Crystal Oscillator 8-48MHz (XOSC1)
RESERVED_InputFreq: 12000000
RESERVED_InputFreq_id: External Crystal Oscillator 8-48MHz (XOSC1)
- _$freq_output_Generic clock generator 0: 100000000
+ _$freq_output_Generic clock generator 0: 120000000
_$freq_output_Generic clock generator 1: 2000000
_$freq_output_Generic clock generator 10: 12000000
_$freq_output_Generic clock generator 11: 12000000
@@ -1428,11 +1428,11 @@ drivers:
functionality: System
api: HAL:HPL:MCLK
configuration:
- $input: 100000000
+ $input: 120000000
$input_id: Generic clock generator 0
- RESERVED_InputFreq: 100000000
+ RESERVED_InputFreq: 120000000
RESERVED_InputFreq_id: Generic clock generator 0
- _$freq_output_CPU: 100000000
+ _$freq_output_CPU: 120000000
cpu_clock_source: Generic clock generator 0
cpu_div: '1'
enable_cpu_clock: true
@@ -1495,7 +1495,7 @@ drivers:
RESERVED_InputFreq_id: Generic clock generator 1
_$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000
_$freq_output_Digital Phase Locked Loop (DPLL0): 47985664
- _$freq_output_Digital Phase Locked Loop (DPLL1): 100000000
+ _$freq_output_Digital Phase Locked Loop (DPLL1): 120000000
_$freq_output_External Crystal Oscillator 8-48MHz (XOSC0): 12000000
_$freq_output_External Crystal Oscillator 8-48MHz (XOSC1): 12000000
dfll_arch_bplckc: false
@@ -1546,7 +1546,7 @@ drivers:
fdpll1_arch_wuf: false
fdpll1_clock_dcofilter: 0
fdpll1_clock_div: 0
- fdpll1_ldr: 49
+ fdpll1_ldr: 59
fdpll1_ldrfrac: 0
fdpll1_ref_clock: Generic clock generator 1
xosc0_arch_cfden: false
@@ -1646,11 +1646,11 @@ drivers:
portb_input_event_enable_1: false
portb_input_event_enable_2: false
portb_input_event_enable_3: false
- portc_event_action_0: Toggle output register of pin on event
+ portc_event_action_0: Output register of pin will be set to level of event
portc_event_action_1: Output register of pin will be set to level of event
portc_event_action_2: Output register of pin will be set to level of event
portc_event_action_3: Output register of pin will be set to level of event
- portc_event_pin_identifier_0: 10
+ portc_event_pin_identifier_0: 0
portc_event_pin_identifier_1: 0
portc_event_pin_identifier_2: 0
portc_event_pin_identifier_3: 0
@@ -1658,11 +1658,11 @@ drivers:
portc_input_event_enable_1: false
portc_input_event_enable_2: false
portc_input_event_enable_3: false
- portd_event_action_0: Toggle output register of pin on event
+ portd_event_action_0: Output register of pin will be set to level of event
portd_event_action_1: Output register of pin will be set to level of event
portd_event_action_2: Output register of pin will be set to level of event
portd_event_action_3: Output register of pin will be set to level of event
- portd_event_pin_identifier_0: 10
+ portd_event_pin_identifier_0: 11
portd_event_pin_identifier_1: 0
portd_event_pin_identifier_2: 0
portd_event_pin_identifier_3: 0
@@ -1697,7 +1697,7 @@ drivers:
spi_master_arch_dord: MSB first
spi_master_arch_ibon: In data stream
spi_master_arch_runstdby: false
- spi_master_baud_rate: 6000000
+ spi_master_baud_rate: 12000000
spi_master_character_size: 8 bits
spi_master_dma_rx_channel: 0
spi_master_dma_tx_channel: 1
@@ -1797,7 +1797,7 @@ drivers:
functionality: Timer
api: Lite:TC:Timer
configuration:
- cc_cc0: 25000
+ cc_cc0: 30000
cc_cc1: 0
cc_control: true
count_control: false
@@ -1900,7 +1900,7 @@ drivers:
tcc_arch_tceinv1: false
tcc_arch_trgeo: false
tcc_arch_wave_duty_val: 500
- tcc_arch_wave_per_val: 40
+ tcc_arch_wave_per_val: 48
tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM)
tcc_per: 10000
tcc_prescaler: Divide by 2
@@ -2015,7 +2015,7 @@ drivers:
tcc_arch_tceinv1: false
tcc_arch_trgeo: false
tcc_arch_wave_duty_val: 500
- tcc_arch_wave_per_val: 40
+ tcc_arch_wave_per_val: 48
tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM)
tcc_per: 10000
tcc_prescaler: Divide by 2
@@ -2171,6 +2171,12 @@ pads:
mode: Peripheral IO
user_label: M2_3
configuration: null
+ DEBUG_5:
+ name: PD11
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD11
+ mode: Digital output
+ user_label: DEBUG_5
+ configuration: null
M3_2:
name: PC14
definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC14
diff --git a/BLDC_E54/BLDC_E54/BLDC_E54.cproj b/BLDC_E54/BLDC_E54/BLDC_E54.cproj
index 3e2b8d8..cdc53e4 100644
--- a/BLDC_E54/BLDC_E54/BLDC_E54.cproj
+++ b/BLDC_E54/BLDC_E54/BLDC_E54.cproj
@@ -20,10 +20,10 @@
false
true
true
-
+ 0x20000000
true
-
+ exception_table
2
0
0
@@ -148,9 +148,9 @@
-
+
-
+
@@ -194,7 +194,7 @@
-
+
@@ -203,18 +203,18 @@
-
+
-
+
-
+
-
-
-
-
+
+
+
+
@@ -278,6 +278,7 @@
C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\atmel\BLDC_Controller_SAME54\BLDC_E54\BLDC_E54\cmsis
%24(ProjectDir)\Device_Startup
+ C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\bldc_firmware_thesis\BLDC_E54\BLDC_E54\cmsis
True
@@ -356,8 +357,8 @@
DEBUG
- ARM_MATH_CM4
- __FPU_PRESENT=1
+ ARM_MATH_CM4=true
+ __FPU_PRESENT=1U
@@ -390,28 +391,25 @@
%24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
- Optimize debugging experience (-Og)
+ Optimize (-O1)
True
Maximum (-g3)
True
True
-std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16
- True
libm
- libarm_cortexM4lf_math.a
- C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\atmel\BLDC_Controller_SAME54\BLDC_E54\BLDC_E54\cmsis
%24(ProjectDir)\Device_Startup
True
- -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16 -larm_cortexM4lf_math
+ -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16
%24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
@@ -478,9 +476,6 @@
-
- compile
-
compile
diff --git a/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h b/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h
index 0c66b0e..111fb23 100644
--- a/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h
+++ b/BLDC_E54/BLDC_E54/Config/hpl_dmac_config.h
@@ -99,7 +99,7 @@
// Indicates whether Debug Run is enabled or not
// dmac_dbgrun
#ifndef CONF_DMAC_DBGRUN
-#define CONF_DMAC_DBGRUN 1
+#define CONF_DMAC_DBGRUN 0
#endif
// Channel 0 settings
diff --git a/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h b/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h
index 4c68b9e..bd0bb17 100644
--- a/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h
+++ b/BLDC_E54/BLDC_E54/Config/hpl_evsys_config.h
@@ -5880,7 +5880,7 @@
// evsys_channel_1
// Indicates which channel is chosen for user
#ifndef CONF_CHANNEL_1
-#define CONF_CHANNEL_1 0
+#define CONF_CHANNEL_1 1
#endif
// Channel selection for PORT event 1
diff --git a/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h b/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h
index b62c2bc..3fc7613 100644
--- a/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h
+++ b/BLDC_E54/BLDC_E54/Config/hpl_oscctrl_config.h
@@ -568,7 +568,7 @@
// Value of LDR is calculated using Fclk_dpll=Fckr*(LDR+1+LDRFRAC/32) formula as given in datasheet. This value is directly written in to DPLLRATIO register
// fdpll1_ldr
#ifndef CONF_FDPLL1_LDR
-#define CONF_FDPLL1_LDR 0x31
+#define CONF_FDPLL1_LDR 0x3b
#endif
// Clock Divider <0x0-0x7FF>
diff --git a/BLDC_E54/BLDC_E54/Config/hpl_port_config.h b/BLDC_E54/BLDC_E54/Config/hpl_port_config.h
index a743ae0..c23feea 100644
--- a/BLDC_E54/BLDC_E54/Config/hpl_port_config.h
+++ b/BLDC_E54/BLDC_E54/Config/hpl_port_config.h
@@ -79,7 +79,7 @@
// These bits define the I/O pin from port C on which the event action will be performed
// portc_event_pin_identifier_0
#ifndef CONF_PORTC_EVCTRL_PID_0
-#define CONF_PORTC_EVCTRL_PID_0 0xa
+#define CONF_PORTC_EVCTRL_PID_0 0x0
#endif
// PORTC Event 0 Action
@@ -90,7 +90,7 @@
// These bits define the event action the PORT C will perform on event input 0
// portc_event_action_0
#ifndef CONF_PORTC_EVCTRL_EVACT_0
-#define CONF_PORTC_EVCTRL_EVACT_0 3
+#define CONF_PORTC_EVCTRL_EVACT_0 0
#endif
//
@@ -107,7 +107,7 @@
// These bits define the I/O pin from port D on which the event action will be performed
// portd_event_pin_identifier_0
#ifndef CONF_PORTD_EVCTRL_PID_0
-#define CONF_PORTD_EVCTRL_PID_0 0xa
+#define CONF_PORTD_EVCTRL_PID_0 0xb
#endif
// PORTD Event 0 Action
@@ -118,7 +118,7 @@
// These bits define the event action the PORT D will perform on event input 0
// portd_event_action_0
#ifndef CONF_PORTD_EVCTRL_EVACT_0
-#define CONF_PORTD_EVCTRL_EVACT_0 3
+#define CONF_PORTD_EVCTRL_EVACT_0 0
#endif
//
diff --git a/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h b/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h
index c649ed5..4623219 100644
--- a/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h
+++ b/BLDC_E54/BLDC_E54/Config/hpl_sercom_config.h
@@ -59,7 +59,7 @@
// The SPI data transfer rate
// spi_master_baud_rate
#ifndef CONF_SERCOM_5_SPI_BAUD
-#define CONF_SERCOM_5_SPI_BAUD 6000000
+#define CONF_SERCOM_5_SPI_BAUD 12000000
#endif
//
diff --git a/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h b/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h
index 558bc00..30ae64e 100644
--- a/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h
+++ b/BLDC_E54/BLDC_E54/Config/hpl_tcc_config.h
@@ -44,7 +44,7 @@
// The unit of this value is us.
// tcc_arch_wave_per_val
#ifndef CONF_TCC0_WAVE_PER_VAL
-#define CONF_TCC0_WAVE_PER_VAL 0x28
+#define CONF_TCC0_WAVE_PER_VAL 0x30
#endif
// TCC0 Waveform Duty Value (0.1%) <0x00-0x03E8>
@@ -621,7 +621,7 @@
// The unit of this value is us.
// tcc_arch_wave_per_val
#ifndef CONF_TCC1_WAVE_PER_VAL
-#define CONF_TCC1_WAVE_PER_VAL 0x28
+#define CONF_TCC1_WAVE_PER_VAL 0x30
#endif
// TCC1 Waveform Duty Value (0.1%) <0x00-0x03E8>
diff --git a/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h b/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h
index 366d8bd..4164274 100644
--- a/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h
+++ b/BLDC_E54/BLDC_E54/Config/peripheral_clk_config.h
@@ -41,7 +41,7 @@
* \brief ADC0's Clock frequency
*/
#ifndef CONF_GCLK_ADC0_FREQUENCY
-#define CONF_GCLK_ADC0_FREQUENCY 100000000
+#define CONF_GCLK_ADC0_FREQUENCY 120000000
#endif
// CCL Clock Source
@@ -81,7 +81,7 @@
* \brief CCL's Clock frequency
*/
#ifndef CONF_GCLK_CCL_FREQUENCY
-#define CONF_GCLK_CCL_FREQUENCY 100000000
+#define CONF_GCLK_CCL_FREQUENCY 120000000
#endif
// EIC Clock Source
@@ -121,7 +121,7 @@
* \brief EIC's Clock frequency
*/
#ifndef CONF_GCLK_EIC_FREQUENCY
-#define CONF_GCLK_EIC_FREQUENCY 100000000
+#define CONF_GCLK_EIC_FREQUENCY 120000000
#endif
// EVSYS Channel 0 Clock Source
@@ -162,7 +162,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY 120000000
#endif
// EVSYS Channel 1 Clock Source
@@ -203,7 +203,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY 120000000
#endif
// EVSYS Channel 2 Clock Source
@@ -244,7 +244,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY 120000000
#endif
// EVSYS Channel 3 Clock Source
@@ -285,7 +285,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY 120000000
#endif
// EVSYS Channel 4 Clock Source
@@ -326,7 +326,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY 120000000
#endif
// EVSYS Channel 5 Clock Source
@@ -367,7 +367,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY 120000000
#endif
// EVSYS Channel 6 Clock Source
@@ -408,7 +408,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY 120000000
#endif
// EVSYS Channel 7 Clock Source
@@ -449,7 +449,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY 120000000
#endif
// EVSYS Channel 8 Clock Source
@@ -490,7 +490,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY 120000000
#endif
// EVSYS Channel 9 Clock Source
@@ -531,7 +531,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_9_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_9_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_9_FREQUENCY 120000000
#endif
// EVSYS Channel 10 Clock Source
@@ -572,7 +572,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_10_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_10_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_10_FREQUENCY 120000000
#endif
// EVSYS Channel 11 Clock Source
@@ -613,7 +613,7 @@
*/
#ifndef CONF_GCLK_EVSYS_CHANNEL_11_FREQUENCY
-#define CONF_GCLK_EVSYS_CHANNEL_11_FREQUENCY 100000000
+#define CONF_GCLK_EVSYS_CHANNEL_11_FREQUENCY 120000000
#endif
/**
@@ -621,7 +621,7 @@
* \brief CPU's Clock frequency
*/
#ifndef CONF_CPU_FREQUENCY
-#define CONF_CPU_FREQUENCY 100000000
+#define CONF_CPU_FREQUENCY 120000000
#endif
// PDEC Clock Source
@@ -661,7 +661,7 @@
* \brief PDEC's Clock frequency
*/
#ifndef CONF_GCLK_PDEC_FREQUENCY
-#define CONF_GCLK_PDEC_FREQUENCY 100000000
+#define CONF_GCLK_PDEC_FREQUENCY 120000000
#endif
// Core Clock Source
@@ -733,7 +733,7 @@
* \brief SERCOM5's Core Clock frequency
*/
#ifndef CONF_GCLK_SERCOM5_CORE_FREQUENCY
-#define CONF_GCLK_SERCOM5_CORE_FREQUENCY 100000000
+#define CONF_GCLK_SERCOM5_CORE_FREQUENCY 120000000
#endif
/**
@@ -781,7 +781,7 @@
* \brief TC0's Clock frequency
*/
#ifndef CONF_GCLK_TC0_FREQUENCY
-#define CONF_GCLK_TC0_FREQUENCY 100000000
+#define CONF_GCLK_TC0_FREQUENCY 120000000
#endif
// TC Clock Source
@@ -821,7 +821,7 @@
* \brief TC7's Clock frequency
*/
#ifndef CONF_GCLK_TC7_FREQUENCY
-#define CONF_GCLK_TC7_FREQUENCY 100000000
+#define CONF_GCLK_TC7_FREQUENCY 120000000
#endif
// TCC Clock Source
@@ -861,7 +861,7 @@
* \brief TCC0's Clock frequency
*/
#ifndef CONF_GCLK_TCC0_FREQUENCY
-#define CONF_GCLK_TCC0_FREQUENCY 100000000
+#define CONF_GCLK_TCC0_FREQUENCY 120000000
#endif
// TCC Clock Source
@@ -901,7 +901,7 @@
* \brief TCC1's Clock frequency
*/
#ifndef CONF_GCLK_TCC1_FREQUENCY
-#define CONF_GCLK_TCC1_FREQUENCY 100000000
+#define CONF_GCLK_TCC1_FREQUENCY 120000000
#endif
// <<< end of configuration section >>>
diff --git a/BLDC_E54/BLDC_E54/Debug/Makefile b/BLDC_E54/BLDC_E54/Debug/Makefile
index 888eb84..5adcc02 100644
--- a/BLDC_E54/BLDC_E54/Debug/Makefile
+++ b/BLDC_E54/BLDC_E54/Debug/Makefile
@@ -308,8 +308,7 @@ ADDITIONAL_DEPENDENCIES:=
OUTPUT_FILE_DEP:= ./makedep.mk
-LIB_DEP+= \
-C:/Users/Nick-XMG/Documents/github/bldc_control_thesis/atmel/BLDC_Controller_SAME54/BLDC_E54/BLDC_E54/cmsis/libarm_cortexM4lf_math.a
+LIB_DEP+=
LINKER_SCRIPT_DEP+= \
../Device_Startup/same54p20a_flash.ld \
@@ -320,301 +319,301 @@ LINKER_SCRIPT_DEP+= \
./atmel_start.o: .././atmel_start.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
./bldc.o: .././bldc.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
Device_Startup/startup_same54.o: ../Device_Startup/startup_same54.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
Device_Startup/system_same54.o: ../Device_Startup/system_same54.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
./driver_init.o: .././driver_init.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
ethercat/ethercat_e54.o: ../ethercat/ethercat_e54.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
examples/driver_examples.o: ../examples/driver_examples.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_adc_sync.o: ../hal/src/hal_adc_sync.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_atomic.o: ../hal/src/hal_atomic.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_cache.o: ../hal/src/hal_cache.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_delay.o: ../hal/src/hal_delay.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_evsys.o: ../hal/src/hal_evsys.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_ext_irq.o: ../hal/src/hal_ext_irq.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_gpio.o: ../hal/src/hal_gpio.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_init.o: ../hal/src/hal_init.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_io.o: ../hal/src/hal_io.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_pdec_async.o: ../hal/src/hal_pdec_async.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_pwm.o: ../hal/src/hal_pwm.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_sleep.o: ../hal/src/hal_sleep.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/src/hal_spi_m_dma.o: ../hal/src/hal_spi_m_dma.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/utils/src/utils_assert.o: ../hal/utils/src/utils_assert.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/utils/src/utils_event.o: ../hal/utils/src/utils_event.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/utils/src/utils_list.o: ../hal/utils/src/utils_list.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hal/utils/src/utils_syscalls.o: ../hal/utils/src/utils_syscalls.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/adc/hpl_adc.o: ../hpl/adc/hpl_adc.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/ccl/hpl_ccl.o: ../hpl/ccl/hpl_ccl.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/cmcc/hpl_cmcc.o: ../hpl/cmcc/hpl_cmcc.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/core/hpl_core_m4.o: ../hpl/core/hpl_core_m4.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/core/hpl_init.o: ../hpl/core/hpl_init.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/dmac/hpl_dmac.o: ../hpl/dmac/hpl_dmac.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/eic/hpl_eic.o: ../hpl/eic/hpl_eic.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/evsys/hpl_evsys.o: ../hpl/evsys/hpl_evsys.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/gclk/hpl_gclk.o: ../hpl/gclk/hpl_gclk.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/mclk/hpl_mclk.o: ../hpl/mclk/hpl_mclk.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/osc32kctrl/hpl_osc32kctrl.o: ../hpl/osc32kctrl/hpl_osc32kctrl.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/oscctrl/hpl_oscctrl.o: ../hpl/oscctrl/hpl_oscctrl.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/pdec/hpl_pdec.o: ../hpl/pdec/hpl_pdec.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/pm/hpl_pm.o: ../hpl/pm/hpl_pm.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/ramecc/hpl_ramecc.o: ../hpl/ramecc/hpl_ramecc.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/sercom/hpl_sercom.o: ../hpl/sercom/hpl_sercom.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/tcc/hpl_tcc.o: ../hpl/tcc/hpl_tcc.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
hpl/tc/tc_lite.o: ../hpl/tc/tc_lite.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
./main.o: .././main.c
@echo Building file: $<
@echo Invoking: ARM/GNU C Compiler : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4 -D__FPU_PRESENT=1 -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -Og -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAME54P20A__ -DDEBUG -DARM_MATH_CM4=true -D__FPU_PRESENT=1U -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/adc" -I"../hpl/ccl" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/eic" -I"../hpl/evsys" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pdec" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/sercom" -I"../hpl/tc" -I"../hpl/tcc" -I"../hri" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include" -O1 -ffunction-sections -mlong-calls -g3 -Wall -pedantic -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
@@ -644,7 +643,7 @@ all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP)
@echo Building target: $@
@echo Invoking: ARM/GNU Linker : 6.3.1
- $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -mthumb -Wl,-Map="BLDC_E54.map" --specs=nano.specs -Wl,--start-group -lm -larm_cortexM4lf_math -Wl,--end-group -L"C:\Users\Nick-XMG\DOCUME~1\github\BLDC_C~1\atmel\BLDC_C~3\BLDC_E54\BLDC_E54\cmsis" -L"..\\Device_Startup" -Wl,--gc-sections -mcpu=cortex-m4 -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16 -larm_cortexM4lf_math
+ $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -mthumb -Wl,-Map="BLDC_E54.map" -Wl,--start-group -lm -Wl,--end-group -L"..\\Device_Startup" -Wl,--gc-sections -mcpu=cortex-m4 -Tsame54p20a_flash.ld -mfloat-abi=hard -mfpu=fpv4-sp-d16
@echo Finished building target: $@
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O binary "BLDC_E54.elf" "BLDC_E54.bin"
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "BLDC_E54.elf" "BLDC_E54.hex"
diff --git a/BLDC_E54/BLDC_E54/Debug/atmel_start.o b/BLDC_E54/BLDC_E54/Debug/atmel_start.o
index 4b0a545..86909e1 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/atmel_start.o and b/BLDC_E54/BLDC_E54/Debug/atmel_start.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/bldc.o b/BLDC_E54/BLDC_E54/Debug/bldc.o
index 0467ce0..67055ec 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/bldc.o and b/BLDC_E54/BLDC_E54/Debug/bldc.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/driver_init.o b/BLDC_E54/BLDC_E54/Debug/driver_init.o
index 9d04b5f..693556a 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/driver_init.o and b/BLDC_E54/BLDC_E54/Debug/driver_init.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o b/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o
index 5d4dfc0..ec92438 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o and b/BLDC_E54/BLDC_E54/Debug/ethercat/ethercat_e54.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o b/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o
index f6c52ba..d8489c9 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o and b/BLDC_E54/BLDC_E54/Debug/examples/driver_examples.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o
index 9a27583..102e22e 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_atomic.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o
index d3178e0..94d0f85 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_cache.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o
index eb1b22b..84fe2cd 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_delay.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o
index dd1a314..8f8fd63 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_evsys.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o
index ebcdc3d..e81dfc0 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_ext_irq.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o
index c169d97..e4f5482 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_gpio.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o
index 91c82a2..c76a335 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_init.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o
index 53c4f31..91ee33e 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_io.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o
index b5c99b5..6db9940 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_pdec_async.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o
index 6d2c42b..1ddf529 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_sleep.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o
index c3f7b51..34c03f0 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o and b/BLDC_E54/BLDC_E54/Debug/hal/src/hal_spi_m_dma.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o
index f3160dd..19894b3 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_assert.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o
index 0d7776f..1678d16 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_event.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o
index 8f5e249..a42b5de 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_list.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o
index f26bcb9..447906b 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o and b/BLDC_E54/BLDC_E54/Debug/hal/utils/src/utils_syscalls.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o b/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o
index e9f69dc..e03a4c5 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o and b/BLDC_E54/BLDC_E54/Debug/hpl/adc/hpl_adc.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o b/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o
index 53debad..2d2eae4 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o and b/BLDC_E54/BLDC_E54/Debug/hpl/ccl/hpl_ccl.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o b/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o
index f3ffb3e..47f8482 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o and b/BLDC_E54/BLDC_E54/Debug/hpl/cmcc/hpl_cmcc.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o
index 818b6eb..e350bf8 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o and b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_core_m4.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o
index c14eacf..83eaf0e 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o and b/BLDC_E54/BLDC_E54/Debug/hpl/core/hpl_init.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o b/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o
index 1021fbe..279117d 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o and b/BLDC_E54/BLDC_E54/Debug/hpl/dmac/hpl_dmac.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o b/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o
index 37814fb..6e28d45 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o and b/BLDC_E54/BLDC_E54/Debug/hpl/eic/hpl_eic.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o b/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o
index dfd950b..1d64c43 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o and b/BLDC_E54/BLDC_E54/Debug/hpl/evsys/hpl_evsys.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o b/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o
index 8bcef20..5dab4e7 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o and b/BLDC_E54/BLDC_E54/Debug/hpl/gclk/hpl_gclk.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o b/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o
index f551846..b69195b 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o and b/BLDC_E54/BLDC_E54/Debug/hpl/mclk/hpl_mclk.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o b/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o
index bcbcac9..1acdd9c 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o and b/BLDC_E54/BLDC_E54/Debug/hpl/osc32kctrl/hpl_osc32kctrl.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o b/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o
index 41a8d07..2403d24 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o and b/BLDC_E54/BLDC_E54/Debug/hpl/oscctrl/hpl_oscctrl.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o b/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o
index 8fa96cb..91ea24f 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o and b/BLDC_E54/BLDC_E54/Debug/hpl/pdec/hpl_pdec.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o b/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o
index b377fa3..375febe 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o and b/BLDC_E54/BLDC_E54/Debug/hpl/pm/hpl_pm.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o b/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o
index b68f184..470803e 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o and b/BLDC_E54/BLDC_E54/Debug/hpl/ramecc/hpl_ramecc.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o b/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o
index a27541a..e2f64df 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o and b/BLDC_E54/BLDC_E54/Debug/hpl/sercom/hpl_sercom.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o b/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o
index 0aae4e9..3d589d1 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o and b/BLDC_E54/BLDC_E54/Debug/hpl/tc/tc_lite.o differ
diff --git a/BLDC_E54/BLDC_E54/Debug/main.d b/BLDC_E54/BLDC_E54/Debug/main.d
index cc2ea38..12f0994 100644
--- a/BLDC_E54/BLDC_E54/Debug/main.d
+++ b/BLDC_E54/BLDC_E54/Debug/main.d
@@ -150,7 +150,8 @@ main.d main.o: .././main.c ../atmel_start.h ../driver_init.h \
../hal/include/hpl_spi.h ../hal/include/hpl_spi_dma.h \
../hal/include/hpl_dma.h ../hpl/tc/tc_lite.h ../hal/include/hal_pwm.h \
../hal/include/hpl_pwm.h ../hal/include/hpl_irq.h ../hpl/tcc/hpl_tcc.h \
- ../hal/include/hpl_timer.h ../arm_math.h \
+ ../hal/include/hpl_timer.h .././interrupt_handlers.h .././atmel_start.h \
+ .././pins.h .././bldc.h .././arm_math.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\string.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\_ansi.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\newlib.h \
@@ -165,9 +166,8 @@ main.d main.o: .././main.c ../atmel_start.h ../driver_init.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\xlocale.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\sys\string.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\math.h \
- .././interrupt_handlers.h .././atmel_start.h .././pins.h .././bldc.h \
- .././arm_math.h .././control.h .././utilities.h .././motor_params.h \
- .././statemachine.h .././ethercat/ethercat_e54.h .././configuration.h \
+ .././control.h .././utilities.h .././motor_params.h .././statemachine.h \
+ .././ethercat/ethercat_e54.h .././configuration.h \
.././ethercat/ethercat_slave_def.h .././ethercat/ethercat_e54.h
../atmel_start.h:
@@ -568,7 +568,15 @@ C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include
../hal/include/hpl_timer.h:
-../arm_math.h:
+.././interrupt_handlers.h:
+
+.././atmel_start.h:
+
+.././pins.h:
+
+.././bldc.h:
+
+.././arm_math.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\string.h:
@@ -598,16 +606,6 @@ c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-no
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\arm-none-eabi\include\math.h:
-.././interrupt_handlers.h:
-
-.././atmel_start.h:
-
-.././pins.h:
-
-.././bldc.h:
-
-.././arm_math.h:
-
.././control.h:
.././utilities.h:
diff --git a/BLDC_E54/BLDC_E54/Debug/main.o b/BLDC_E54/BLDC_E54/Debug/main.o
index d9459bf..726b529 100644
Binary files a/BLDC_E54/BLDC_E54/Debug/main.o and b/BLDC_E54/BLDC_E54/Debug/main.o differ
diff --git a/BLDC_E54/BLDC_E54/arm_math.h b/BLDC_E54/BLDC_E54/arm_math.h
index ea9dd26..db5eb90 100644
--- a/BLDC_E54/BLDC_E54/arm_math.h
+++ b/BLDC_E54/BLDC_E54/arm_math.h
@@ -415,7 +415,7 @@ extern "C"
/**
* @brief 16-bit fractional data type in 1.15 format.
*/
- typedef int16_t q15_t;
+ typedef int16_t q15_t;
/**
* @brief 32-bit fractional data type in 1.31 format.
diff --git a/BLDC_E54/BLDC_E54/atmel_start_pins.h b/BLDC_E54/BLDC_E54/atmel_start_pins.h
index 3fe3273..74ad6c0 100644
--- a/BLDC_E54/BLDC_E54/atmel_start_pins.h
+++ b/BLDC_E54/BLDC_E54/atmel_start_pins.h
@@ -62,5 +62,6 @@
#define M2_1 GPIO(GPIO_PORTD, 8)
#define M2_2 GPIO(GPIO_PORTD, 9)
#define M2_3 GPIO(GPIO_PORTD, 10)
+#define DEBUG_5 GPIO(GPIO_PORTD, 11)
#endif // ATMEL_START_PINS_H_INCLUDED
diff --git a/BLDC_E54/BLDC_E54/bldc.c b/BLDC_E54/BLDC_E54/bldc.c
index 07380fa..d203643 100644
--- a/BLDC_E54/BLDC_E54/bldc.c
+++ b/BLDC_E54/BLDC_E54/bldc.c
@@ -21,7 +21,7 @@
// Direction":
// CW -> Always positive current
// CCW -> Always negative current
-void select_active_phase(volatile BLDCMotor_t *Motor, volatile uint8_t hall_state)
+void select_active_phase(BLDCMotor_t *Motor, const uint8_t hall_state)
{
volatile float32_t phase_current = 0;
switch(hall_state)
@@ -137,15 +137,15 @@ void BldcInitStruct(BLDCMotor_t *motor)
void BldcInitFunctions()
{
- Motor1.ReadHall = readM1Hall;
- Motor2.ReadHall = readM2Hall;
- Motor3.ReadHall = readM3Hall;
- Motor1.DisableMotor = DisableM1GateDrivers;
- Motor2.DisableMotor = DisableM2GateDrivers;
- Motor3.DisableMotor = DisableM3GateDrivers;
- Motor1.SetDutyCycle = SetM1DutyCycle;
- Motor2.SetDutyCycle = SetM2DutyCycle;
- Motor3.SetDutyCycle = SetM3DutyCycle;
+ //Motor1.ReadHall = readM1Hall;
+ //Motor2.ReadHall = readM2Hall;
+ //Motor3.ReadHall = readM3Hall;
+ //Motor1.DisableMotor = DisableM1GateDrivers;
+ //Motor2.DisableMotor = DisableM2GateDrivers;
+ //Motor3.DisableMotor = DisableM3GateDrivers;
+ //Motor1.SetDutyCycle = SetM1DutyCycle;
+ //Motor2.SetDutyCycle = SetM2DutyCycle;
+ //Motor3.SetDutyCycle = SetM3DutyCycle;
}
// ----------------------------------------------------------------------
@@ -232,37 +232,71 @@ void read_zero_current_offset_value(BLDCMotor_t *motor)
// Hall Reading Functions
// ----------------------------------------------------------------------
-uint8_t readM1Hall(void)
+inline uint8_t readM1Hall(void)
{
- volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN);
- volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN);
- volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN);
+ volatile uint8_t motor_read = 0;
+ motor_read = (motor_read & HALL_A_MASK) | (uint8_t)((PORT->Group[HALL_A_GROUP].IN.reg & HALL_A_PORT)>>(HALL_A_LSR));
+ motor_read = (motor_read & HALL_B_MASK) | (uint8_t)((PORT->Group[HALL_B_GROUP].IN.reg & HALL_B_PORT)>>(HALL_B_LSR));
+ motor_read = (motor_read & HALL_C_MASK) | (uint8_t)((PORT->Group[HALL_C_GROUP].IN.reg & HALL_C_PORT)>>(HALL_C_LSR));
- return ((a << 2) |
- (b << 1) |
- (c << 0));
+ return motor_read;
+
+ //return ((gpio_get_pin_level(HALL_A_PIN) << 2)|
+ //(gpio_get_pin_level(HALL_B_PIN) << 1)|
+ //(gpio_get_pin_level(HALL_C_PIN) << 0));
+ //
+ //volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN);
+ //volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN);
+ //volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN);
+ //
+ //return ((a << 2) |
+ //(b << 1) |
+ //(c << 0));
}
-uint8_t readM2Hall(void)
+inline uint8_t readM2Hall(void)
{
- volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN);
- volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN);
- volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN);
+ volatile uint8_t motor_read = 0;
+ motor_read = (motor_read & HALL_A_MASK) | (uint8_t)((PORT->Group[HALL_A_GROUP].IN.reg & HALL_A_PORT)>>(HALL_A_LSR));
+ motor_read = (motor_read & HALL_B_MASK) | (uint8_t)((PORT->Group[HALL_B_GROUP].IN.reg & HALL_B_PORT)>>(HALL_B_LSR));
+ motor_read = (motor_read & HALL_C_MASK) | (uint8_t)((PORT->Group[HALL_C_GROUP].IN.reg & HALL_C_PORT)>>(HALL_C_LSR));
- return ((a << 2) |
- (b << 1) |
- (c << 0));
+ return motor_read;
+ //
+ //return ((gpio_get_pin_level(HALL_A_PIN) << 2)|
+ //(gpio_get_pin_level(HALL_B_PIN) << 1)|
+ //(gpio_get_pin_level(HALL_C_PIN) << 0));
+
+
+ //volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN);
+ //volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN);
+ //volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN);
+ //
+ //return ((a << 2) |
+ //(b << 1) |
+ //(c << 0));
}
-uint8_t readM3Hall(void)
+inline uint8_t readM3Hall(void)
{
- volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN);
- volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN);
- volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN);
+ volatile uint8_t motor_read = 0;
+ motor_read = (motor_read & HALL_A_MASK) | (uint8_t)((PORT->Group[HALL_A_GROUP].IN.reg & HALL_A_PORT)>>(HALL_A_LSR));
+ motor_read = (motor_read & HALL_B_MASK) | (uint8_t)((PORT->Group[HALL_B_GROUP].IN.reg & HALL_B_PORT)>>(HALL_B_LSR));
+ motor_read = (motor_read & HALL_C_MASK) | (uint8_t)((PORT->Group[HALL_C_GROUP].IN.reg & HALL_C_PORT)>>(HALL_C_LSR));
- return ((a << 2) |
- (b << 1) |
- (c << 0));
+ return motor_read;
+ //
+ //return ((gpio_get_pin_level(HALL_A_PIN) << 2)|
+ //(gpio_get_pin_level(HALL_B_PIN) << 1)|
+ //(gpio_get_pin_level(HALL_C_PIN) << 0));
+
+ //volatile uint8_t a = gpio_get_pin_level(HALL_A_PIN);
+ //volatile uint8_t b = gpio_get_pin_level(HALL_B_PIN);
+ //volatile uint8_t c = gpio_get_pin_level(HALL_C_PIN);
+ //
+ //return ((a << 2) |
+ //(b << 1) |
+ //(c << 0));
}
@@ -285,12 +319,12 @@ void DisableM3GateDrivers(BLDCMotor_t *motor)
}
-void SetM1DutyCycle(uint16_t duty)
+inline void SetM1DutyCycle(const uint16_t duty)
{
TCC1->CCBUF[1].reg = duty;
}
-void SetM2DutyCycle(uint16_t duty)
+inline void SetM2DutyCycle(const uint16_t duty)
{
TCC0->CCBUF[0].reg = duty;
TCC0->CCBUF[1].reg = duty;
@@ -298,7 +332,7 @@ void SetM2DutyCycle(uint16_t duty)
TCC0->CCBUF[3].reg = duty;
}
-void SetM3DutyCycle(uint16_t duty)
+inline void SetM3DutyCycle(const uint16_t duty)
{
TCC0->CCBUF[4].reg = duty;
TCC0->CCBUF[5].reg = duty;
@@ -322,56 +356,61 @@ void exec_commutation(void)
// ----------------------------------------------------------------------
// Read Motor Hall Sensors
// ----------------------------------------------------------------------
- Motor1.motor_status.currentHallPattern = Motor1.ReadHall();
- Motor2.motor_status.currentHallPattern = Motor1.ReadHall();
- Motor3.motor_status.currentHallPattern = Motor1.ReadHall();
-
+ //tic_port(DEBUG_2_PORT);
+ Motor1.motor_status.currentHallPattern = readM1Hall();
+ //toc_port(DEBUG_2_PORT);
+ //Motor1.motor_status.currentHallPattern = Motor1.ReadHall();
+ //Motor2.motor_status.currentHallPattern = Motor1.ReadHall();
+ //Motor3.motor_status.currentHallPattern = Motor1.ReadHall();
+ //toc_port(DEBUG_3_PORT);
// ----------------------------------------------------------------------
// Multi Motor Register Masking
// ----------------------------------------------------------------------
+ //tic_port(DEBUG_2_PORT);
volatile uint16_t temp_M1 = COMMUTATION_PATTERN_M1[Motor1.motor_status.currentHallPattern + Motor1.motor_setpoints.directionOffset];
- volatile uint16_t temp_M2 = COMMUTATION_PATTERN_M2[Motor2.motor_status.currentHallPattern + Motor2.motor_setpoints.directionOffset];
- volatile uint16_t temp_M3_tcc1_des = COMMUTATION_PATTERN_M1[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC1_mask;
- volatile uint16_t temp_M3_tcc0_des = COMMUTATION_PATTERN_M2[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC0_mask;
+
+ //volatile uint16_t temp_M2 = COMMUTATION_PATTERN_M2[Motor2.motor_status.currentHallPattern + Motor2.motor_setpoints.directionOffset];
+ //volatile uint16_t temp_M3_tcc1_des = COMMUTATION_PATTERN_M1[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC1_mask;
+ //volatile uint16_t temp_M3_tcc0_des = COMMUTATION_PATTERN_M2[Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset] & m3_TCC0_mask;
/* Zero target bits */
- temp_M1 &= m3_TCC1_inv_mask;
- temp_M2 &= m3_TCC0_inv_mask;
+ //temp_M1 &= m3_TCC1_inv_mask;
+ //temp_M2 &= m3_TCC0_inv_mask;
/* Set Desired bits */
- temp_M1 |= temp_M3_tcc1_des;
- temp_M2 |= temp_M3_tcc0_des;
+ //temp_M1 |= temp_M3_tcc1_des;
+ //temp_M2 |= temp_M3_tcc0_des;
// ----------------------------------------------------------------------
// Set Pattern Buffers
// ----------------------------------------------------------------------
- TCC0->PATTBUF.reg = (uint16_t)temp_M2;
+ //TCC0->PATTBUF.reg = (uint16_t)temp_M2;
TCC1->PATTBUF.reg = (uint16_t)temp_M1;
-
+ //toc_port(DEBUG_2_PORT);
// ----------------------------------------------------------------------
// Set Remaining GPIO lines responsible for M3 Commutation
// ----------------------------------------------------------------------
///* GPIO En Pin Setting for M3 */
- switch(Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset)
- {
- // REG_PORT_OUTSET0 = Port A
- // REG_PORT_OUTSET1 = Port B
- case 1: case 6: case 9: case 14:
- REG_PORT_OUTCLR0 = (1 << GPIO_PIN(M3_3));
- REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4))|(1 << GPIO_PIN(M3_5));
- break;
- case 2: case 5: case 10: case 13:
- REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3));
- REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4));
- REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_5));
- break;
- case 3: case 4: case 11: case 12:
- REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3));
- REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_4));
- REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_5));
- break;
- default:
- /*hall error - should not get here */
- break;
- }
+ //switch(Motor3.motor_status.currentHallPattern + Motor3.motor_setpoints.directionOffset)
+ //{
+ //// REG_PORT_OUTSET0 = Port A
+ //// REG_PORT_OUTSET1 = Port B
+ //case 1: case 6: case 9: case 14:
+ //REG_PORT_OUTCLR0 = (1 << GPIO_PIN(M3_3));
+ //REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4))|(1 << GPIO_PIN(M3_5));
+ //break;
+ //case 2: case 5: case 10: case 13:
+ //REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3));
+ //REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_4));
+ //REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_5));
+ //break;
+ //case 3: case 4: case 11: case 12:
+ //REG_PORT_OUTSET0 = (1 << GPIO_PIN(M3_3));
+ //REG_PORT_OUTCLR1 = (1 << GPIO_PIN(M3_4));
+ //REG_PORT_OUTSET1 = (1 << GPIO_PIN(M3_5));
+ //break;
+ //default:
+ ///*hall error - should not get here */
+ //break;
+ //}
// TCC1->PATTBUF.reg = COMMUTATION_PATTERN_M1[(Motor1.motor_status.currentHallPattern +
@@ -379,24 +418,25 @@ void exec_commutation(void)
// ----------------------------------------------------------------------
// Set Calculated Duty Cycles
// ----------------------------------------------------------------------
- Motor1.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle);
- Motor2.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle);
- Motor3.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle);
+ //tic_port(DEBUG_2_PORT);
+ //Motor1.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle);
+ SetM1DutyCycle(Motor1.motor_status.duty_cycle);
+ //toc_port(DEBUG_2_PORT);
+ //Motor2.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle);
+ //Motor3.SetDutyCycle((uint16_t)Motor1.motor_status.duty_cycle);
-
+ //tic_port(DEBUG_2_PORT);
Motor1.motor_status.cur_comm_step = MOTOR_COMMUTATION_STEPS[Motor1.motor_status.currentHallPattern];
- volatile int8_t step_change = Motor1.motor_status.cur_comm_step - Motor1.motor_status.prev_comm_step;
+ volatile int8_t step_change1 = Motor1.motor_status.cur_comm_step - Motor1.motor_status.prev_comm_step;
- switch(step_change)
+ switch(step_change1)
{
- case 1:
- case -5:
+ case 1: case -5:
Motor1.motor_status.Num_Steps = Motor1.motor_status.Num_Steps+1;
Motor1.motor_status.actualDirection = CW;
- Motor1.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET;
+ //Motor1.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET;
break;
- case -1:
- case 5:
+ case -1: case 5:
Motor1.motor_status.Num_Steps = Motor1.motor_status.Num_Steps-1;
Motor1.motor_status.actualDirection = CCW;
//Motor1.motor_setpoints.directionOffset = DIRECTION_CCW_OFFSET;
@@ -406,6 +446,48 @@ void exec_commutation(void)
break;
}
Motor1.motor_status.prev_comm_step = Motor1.motor_status.cur_comm_step;
+ //toc_port(DEBUG_2_PORT);
+
+ //Motor2.motor_status.cur_comm_step = MOTOR_COMMUTATION_STEPS[Motor1.motor_status.currentHallPattern];
+ //volatile int8_t step_change2 = Motor2.motor_status.cur_comm_step - Motor2.motor_status.prev_comm_step;
+ //
+ //switch(step_change2)
+ //{
+ //case 1: case -5:
+ //Motor2.motor_status.Num_Steps = Motor2.motor_status.Num_Steps+1;
+ //Motor2.motor_status.actualDirection = CW;
+ ////Motor2.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET;
+ //break;
+ //case -1: case 5:
+ //Motor2.motor_status.Num_Steps = Motor2.motor_status.Num_Steps-1;
+ //Motor2.motor_status.actualDirection = CCW;
+ ////Motor1.motor_setpoints.directionOffset = DIRECTION_CCW_OFFSET;
+ //break;
+ //default:
+ //// do nothing
+ //break;
+ //}
+ //
+ //Motor3.motor_status.cur_comm_step = MOTOR_COMMUTATION_STEPS[Motor1.motor_status.currentHallPattern];
+ //volatile int8_t step_change3 = Motor3.motor_status.cur_comm_step - Motor3.motor_status.prev_comm_step;
+ //
+ //switch(step_change3)
+ //{
+ //case 1: case -5:
+ //Motor3.motor_status.Num_Steps = Motor3.motor_status.Num_Steps+1;
+ //Motor3.motor_status.actualDirection = CW;
+ ////Motor3.motor_setpoints.directionOffset = DIRECTION_CW_OFFSET;
+ //break;
+ //case -1: case 5:
+ //Motor3.motor_status.Num_Steps = Motor3.motor_status.Num_Steps-1;
+ //Motor3.motor_status.actualDirection = CCW;
+ ////Motor1.motor_setpoints.directionOffset = DIRECTION_CCW_OFFSET;
+ //break;
+ //default:
+ //// do nothing
+ //break;
+ //}
+
//calculate_motor_speed();
//toc(DEBUG_3);
//toc(DEBUG_4);
@@ -414,6 +496,7 @@ void exec_commutation(void)
void calculate_motor_speed(void)
{
+ //tic_port(DEBUG_2_PORT);
volatile uint32_t temp_rpm = 0;
hri_tccount32_read_CC_reg(TC0, 0); /* Read CC0 but throw away)*/
volatile uint32_t period_after_capture = hri_tccount32_read_CC_reg(TC0, 1);
@@ -422,33 +505,48 @@ void calculate_motor_speed(void)
} else {
//uint32_t test = (SPEEDFACTOR, period_after_capture);
//temp_rpm = SPEEDFACTOR / period_after_capture;
- uint32_t muti = DEVICE_SPEEDTC_FREQUENCY_Hz*60;
- temp_rpm = (muti) / (period_after_capture*MOTOR_COMUTATION_STATES);
+ //tic_port(DEBUG_3_PORT);
+ temp_rpm = HZ_TO_RPM / (period_after_capture*MOTOR_COMUTATION_STATES);
+ //toc_port(DEBUG_3_PORT);
}
- #ifdef AVERAGE_SPEED_MEASURE
- // To avoid noise an average is realized on 8 samples
- speed_average += temp_rpm;
- if(count >= n_SAMPLE)
- {
- count = 1;
- Motor1.motor_status.calc_rpm = (speed_average >> 3); // divide by 32
- speed_average = 0;
- //*Spare_byte1 = motorState.actualDirection;
- if(Motor1.motor_status.actualDirection == CCW) /* Changed from CCW */
- {
- //*motor_speed = -1* Motor1.calc_rpm;
- Motor1.motor_status.calc_rpm = -1* Motor1.motor_status.calc_rpm;
- } else {
- //*motor_speed = Motor1.calc_rpm;
- Motor1.motor_status.calc_rpm = Motor1.motor_status.calc_rpm;
- }
- return;
- }
- else count++;
- #else
- Motor1.motor_status.calc_rpm = (int16_t)temp_rpm;
- #endif
+ if(Motor1.motor_status.actualDirection == CCW) /* Changed from CCW */
+ {
+ //*motor_speed = -1* Motor1.calc_rpm;
+ temp_rpm = -1 * temp_rpm;
+ } else {
+ //*motor_speed = Motor1.calc_rpm;
+ temp_rpm = temp_rpm;
+ }
+
+ Motor1.motor_status.calc_rpm = (int16_t)temp_rpm;
+ //toc_port(DEBUG_2_PORT);
+
+ //#ifdef AVERAGE_SPEED_MEASURE
+ //// To avoid noise an average is realized on 8 samples
+ //speed_average += temp_rpm;
+ //if(count >= n_SAMPLE)
+ //{
+ //count = 1;
+ //Motor1.motor_status.calc_rpm = (speed_average >> 3); // divide by 32
+ ////Motor1.motor_status.calc_rpm = (speed_average); // divide by 32
+ //speed_average = 0;
+ ////*Spare_byte1 = motorState.actualDirection;
+ //if(Motor1.motor_status.actualDirection == CCW) /* Changed from CCW */
+ //{
+ ////*motor_speed = -1* Motor1.calc_rpm;
+ //Motor1.motor_status.calc_rpm = -1* Motor1.motor_status.calc_rpm;
+ //} else {
+ ////*motor_speed = Motor1.calc_rpm;
+ //Motor1.motor_status.calc_rpm = Motor1.motor_status.calc_rpm;
+ //}
+ //return;
+ //}
+ //else count++;
+ //#else
+ //Motor1.motor_status.calc_rpm = (int16_t)temp_rpm;
+ //#endif
+ //toc_port(DEBUG_2_PORT);
}
void DisableMotor(BLDCMotor_t *motor)
@@ -460,7 +558,7 @@ void DisableMotor(BLDCMotor_t *motor)
//------------------------------------------------------------------------------
// pi current control
//------------------------------------------------------------------------------
-void BLDC_runCurrentCntl(BLDCMotor_t *motor, volatile float curfbk, volatile float curRef)
+void BLDC_runCurrentCntl(BLDCMotor_t *motor, const float curfbk, const float curRef)
{
motor->controllers.Pi_Idc.Fbk_pu = f_clamp(curfbk, -DEVICE_SHUNT_CURRENT_A, DEVICE_SHUNT_CURRENT_A); // Clamped to max current sensor readingspeedfbk;
@@ -481,8 +579,7 @@ void BLDC_runCurrentCntl(BLDCMotor_t *motor, volatile float curfbk, volatile flo
}
volatile float duty_pu = f_abs((motor->controllers.Pi_Idc.Out_pu * motor->VoneByDcBus_pu));
- volatile uint32_t duty_cycle = f_clamp(duty_pu * (float32_t)MAX_PWM, 0.0f, (float32_t)MAX_PWM);
- motor->motor_status.duty_cycle = (uint16_t)duty_cycle;
+ motor->motor_status.duty_cycle = (uint16_t)f_clamp(duty_pu * (float32_t)MAX_PWM, 0.0f, (float32_t)MAX_PWM);
// Remove Low duty cycle values
//if(duty_cycle < 80.0) motor->duty_cycle = (uint16_t)0;
//else motor->duty_cycle = (uint16_t)duty_cycle;
@@ -492,9 +589,9 @@ void BLDC_runCurrentCntl(BLDCMotor_t *motor, volatile float curfbk, volatile flo
//// ------------------------------------------------------------------------------
// Speed Control: Input in RPM units (int16_t)
//------------------------------------------------------------------------------
-void BLDC_runSpeedCntl(BLDCMotor_t *motor, volatile float speedfbk, volatile float speedRef)
+void BLDC_runSpeedCntl(BLDCMotor_t *motor, const float speedfbk, const float speedRef)
{
-
+ //tic_port(DEBUG_3_PORT);
motor->controllers.Pid_Speed.Fbk_pu = speedfbk;
motor->controllers.Pid_Speed.Ref_pu = f_clamp(speedRef, -MOTOR_MAX_SPD_RPM, MOTOR_MAX_SPD_RPM); // Convert Speed Ref to Q16 Format
@@ -524,13 +621,13 @@ void BLDC_runSpeedCntl(BLDCMotor_t *motor, volatile float speedfbk, volatile flo
PID_run_parallel(&motor->controllers.Pid_Speed);
motor->controllers.Pi_Idc.Ref_pu = motor->controllers.Pid_Speed.Out_pu;
}
-
+ //toc_port(DEBUG_3_PORT);
}
//// ------------------------------------------------------------------------------
// Position Control:Input in Hall step units (int16_t)
//------------------------------------------------------------------------------
-void BLDC_runPosCntl(BLDCMotor_t *motor, int16_t posfbk, int16_t posRef)
+void BLDC_runPosCntl(BLDCMotor_t *motor, const int16_t posfbk, const int16_t posRef)
{
/* Output Pu in RPM */
motor->controllers.Pi_Pos.OutMax_pu = MOTOR_MAX_SPD_RPM;
diff --git a/BLDC_E54/BLDC_E54/bldc.h b/BLDC_E54/BLDC_E54/bldc.h
index bda5913..7fc30b6 100644
--- a/BLDC_E54/BLDC_E54/bldc.h
+++ b/BLDC_E54/BLDC_E54/bldc.h
@@ -27,17 +27,19 @@
#define ADC_RESOLUTION (12)
#define ADC_MAX_COUNTS (1<DSEQDATA.reg);
- _dma_set_data_amount(DMAC_CHANNEL_ADC_SEQ, 6);
+ _dma_set_data_amount(DMAC_CHANNEL_ADC_SEQ, 2);
_dma_set_next_descriptor(DMAC_CHANNEL_ADC_SEQ, DMAC_CHANNEL_ADC_SEQ);
_dma_enable_transaction(DMAC_CHANNEL_ADC_SEQ, false);
//_dma_get_channel_resource(&adc_dmac_sequence_resource, DMAC_CHANNEL_ADC_SEQ);
@@ -147,7 +147,7 @@ inline void adc_sram_dmac_init()
* next descriptor address, data count and Enable the DMAC Channel */
_dma_set_source_address(DMAC_CHANNEL_ADC_SRAM, (const void *)&ADC0->RESULT.reg);
_dma_set_destination_address(DMAC_CHANNEL_ADC_SRAM, (const void *)adc_res);
- _dma_set_data_amount(DMAC_CHANNEL_ADC_SRAM, 6);
+ _dma_set_data_amount(DMAC_CHANNEL_ADC_SRAM, 2);
_dma_set_irq_state(DMAC_CHANNEL_ADC_SRAM, DMA_TRANSFER_COMPLETE_CB, true);
_dma_get_channel_resource(&adc_sram_dma_resource, DMAC_CHANNEL_ADC_SRAM);
adc_sram_dma_resource[0].dma_cb.transfer_done = adc_sram_dma_callback;
diff --git a/BLDC_E54/BLDC_E54/control.h b/BLDC_E54/BLDC_E54/control.h
index 7701f8c..b5ee8f7 100644
--- a/BLDC_E54/BLDC_E54/control.h
+++ b/BLDC_E54/BLDC_E54/control.h
@@ -173,7 +173,7 @@ static inline void PID_run_series(volatile PID_t *pPid_obj)
// Compute the proportional term
Up = obj->Kp * obj->error;
- if(obj->Ki>0.0){
+ if(obj->Ki>0.0f){
// Compute the integral term in parallel form and saturate
obj->Ui = f_clamp((obj->Ui + (obj->Ki * Up)), obj->OutMin_pu, obj->OutMax_pu);
}
@@ -198,7 +198,7 @@ static inline void PID_run_parallel(volatile PID_t *pPid_obj)
// Compute the proportional term
Up = obj->Kp * obj->error;
- if(obj->Ki>0.0){
+ if(obj->Ki>0.0f){
// Compute the integral term in parallel form and saturate
obj->Ui = f_clamp((obj->Ui + (obj->Ki * obj->error)), obj->OutMin_pu, obj->OutMax_pu);
}
@@ -215,8 +215,8 @@ static inline void PID_run_parallel(volatile PID_t *pPid_obj)
// Calculate Current Parameters
// ----------------------------------------------------------------------
-static inline float PI_calcKp(float32_t Ls_H, float32_t deviceCurrent_A, float32_t deviceVoltage_V,
-float deviceCtrlPeriode_Sec)
+static inline float PI_calcKp(const float32_t Ls_H, const float32_t deviceCurrent_A, const float32_t deviceVoltage_V,
+const float deviceCtrlPeriode_Sec)
{
// calculation is based on "Betragsoptimum"
// Kp = Ls/(2*tau)
@@ -236,10 +236,10 @@ float deviceCtrlPeriode_Sec)
return Kp;
}
-static inline float PI_calcKi(float Rs_Ohm, float Ls_H, float deviceCtrlPeriode_Sec)
+static inline float PI_calcKi(const float Rs_Ohm, const float Ls_H, const float deviceCtrlPeriode_Sec)
{
// calculation is based on "TI - MotorWare's documentation"
- float RsByLs = (float)(Rs_Ohm / Ls_H);
+ float RsByLs = (float32_t)(Rs_Ohm / Ls_H);
float Ki = RsByLs * deviceCtrlPeriode_Sec;
//fix16_t Ki = 0;
return Ki;
diff --git a/BLDC_E54/BLDC_E54/driver_init.c b/BLDC_E54/BLDC_E54/driver_init.c
index 3df62a2..067d4d3 100644
--- a/BLDC_E54/BLDC_E54/driver_init.c
+++ b/BLDC_E54/BLDC_E54/driver_init.c
@@ -417,6 +417,20 @@ void system_init(void)
gpio_set_pin_function(DEBUG_4, GPIO_PIN_FUNCTION_OFF);
+ // GPIO on PD11
+
+ gpio_set_pin_level(DEBUG_5,
+ // Initial level
+ // pad_initial_level
+ // Low
+ // High
+ false);
+
+ // Set pin direction to output
+ gpio_set_pin_direction(DEBUG_5, GPIO_DIRECTION_OUT);
+
+ gpio_set_pin_function(DEBUG_5, GPIO_PIN_FUNCTION_OFF);
+
ADC_0_init();
DIGITAL_GLUE_LOGIC_0_init();
diff --git a/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c b/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c
index 2e41e2c..0df080b 100644
--- a/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c
+++ b/BLDC_E54/BLDC_E54/ethercat/ethercat_e54.c
@@ -16,6 +16,8 @@
#include "ethercat_slave_def.h"
#include "bldc.h"
#include "statemachine.h"
+#include
+
#define DEBUG_1_PORT PORT_PC01
#define DEBUG_2_PORT PORT_PC03
@@ -52,7 +54,7 @@ void update_setpoints(void)
{
inline float32_t convert_int_to_PU(volatile int16_t input)
{
- return ((float32_t)input/1000.0);
+ return ((float32_t)input/1000.0f);
}
//Motor1.des_mode = 0;
//Motor1.set = 0;
@@ -83,9 +85,15 @@ extern void One_ms_cycle_callback(void)
tx_ethercat = true;
if(tx_ethercat_done){
volatile int i=0;
- for (i=0;iCHID.reg = DMAC_CHID_ID(dma_LAN9252_rx.channel_id);
//DMAC->CHCTRLB.reg |= DMAC_CHCTRLB_CMD_RESUME;
//DMAC->CHID.reg = DMAC_CHID_ID(dma_LAN9252_tx.channel_id);
@@ -101,6 +109,8 @@ extern void One_ms_cycle_callback(void)
//DMAC->CHCTRLB.reg |= DMAC_CHCTRLB_CMD_RESUME;
//DMAC->CHID.reg = DMAC_CHID_ID(dma_LAN9252_tx.channel_id);
//hri_dmacchannel_write_CHCTRLB_CMD_bf(&DMAC->Channel[1], DMAC_CHCTRLB_CMD_RESUME_Val); //RX Channel
gpio_set_pin_level(ECAT_SPI_CS_PIN, false); // SPI_Slave Select LOW
_dma_enable_transaction(0,false);
//DMAC->CHCTRLB.reg |= DMAC_CHCTRLB_CMD_RESUME;
//hri_dmacchannel_write_CHCTRLB_CMD_bf(&DMAC->Channel[0], DMAC_CHCTRLB_CMD_RESUME_Val); //TX Channel
_dma_enable_transaction(1,false);
tx_ethercat_done = false;
}
+
+ //toc_port(DEBUG_3_PORT);
}
// ----------------------------------------------------------------------
diff --git a/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c b/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c
index 1dbf087..de3ec83 100644
--- a/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c
+++ b/BLDC_E54/BLDC_E54/hpl/tc/tc_lite.c
@@ -144,7 +144,7 @@ int8_t TC_ECAT_init()
// hri_tc_write_DBGCTRL_reg(TC7,0); /* Run in debug: 0 */
- hri_tccount32_write_CC_reg(TC7, 0, 0x61a8); /* Compare/Capture Value: 0x61a8 */
+ hri_tccount32_write_CC_reg(TC7, 0, 0x7530); /* Compare/Capture Value: 0x7530 */
// hri_tccount32_write_CC_reg(TC7, 1 ,0x0); /* Compare/Capture Value: 0x0 */
diff --git a/BLDC_E54/BLDC_E54/interrupt_handlers.h b/BLDC_E54/BLDC_E54/interrupt_handlers.h
index 385a1c1..a224f4a 100644
--- a/BLDC_E54/BLDC_E54/interrupt_handlers.h
+++ b/BLDC_E54/BLDC_E54/interrupt_handlers.h
@@ -15,8 +15,8 @@
#include "statemachine.h"
#define DEBUG_1_PORT PORT_PC01
-#define DEBUG_2_PORT PORT_PC03
-#define DEBUG_3_PORT PORT_PC02
+#define DEBUG_2_PORT PORT_PC02
+#define DEBUG_3_PORT PORT_PC03
#define DEBUG_4_PORT PORT_PC30
@@ -29,7 +29,10 @@ void TC7_Handler(void)
TC7->COUNT16.INTFLAG.bit.OVF = 0x01;
//One_ms_cycle_callback();
//gpio_toggle_pin_level(DEBUG_1);
- One_ms_cycle_callback();
+ //tic_port(DEBUG_3_PORT);
+ //tic_port(DEBUG_3_PORT);
+ One_ms_cycle_callback();
+ //toc_port(DEBUG_3_PORT);
//Motor1.timerflags.motor_telemetry_flag = true;
}
@@ -95,6 +98,7 @@ void TC0_Handler(void)
// ----------------------------------------------------------------------
static void pwm_cb(const struct pwm_descriptor *const descr)
{
+ //tic_port(DEBUG_2_PORT);
Motor1.timerflags.pwm_cycle_tic = true;
}
@@ -107,10 +111,9 @@ static void HW_current_limit_detect_callback(void)
void adc_sram_dma_callback(struct _dma_resource *adc_dma_res)
{
- inline void filter_convert_to_pu(int16_t *phase, float32_t *phase_filtered_pu)
- {
- *phase_filtered_pu = (float32_t)(*phase * ADC_LSB_SIZE * ONEON_CURRENT_SENSOR_SENSITIVITY);
- }
+ //toc_port(DEBUG_2_PORT);
+ //tic_port(DEBUG_3_PORT);
+ //tic_port(DEBUG_3_PORT);
volatile int16_t phase_A_current_raw;
volatile int16_t phase_B_current_raw;
@@ -119,29 +122,30 @@ void adc_sram_dma_callback(struct _dma_resource *adc_dma_res)
phase_A_current_raw = (adc_res[0] - Motor1.Voffset_lsb.A);
phase_B_current_raw = (adc_res[1] - Motor1.Voffset_lsb.B)*-1;
// Covert from LSB to PU (A) and filter out small readings
- filter_convert_to_pu(&phase_A_current_raw, &Motor1.Iphase_pu.A);
- filter_convert_to_pu(&phase_B_current_raw, &Motor1.Iphase_pu.B);
+ Motor1.Iphase_pu.A = phase_A_current_raw * LSB_TO_PU;
+ Motor1.Iphase_pu.B = phase_B_current_raw * LSB_TO_PU;
// i_c = -i_a - i_b because i_a + i_b + i_c = 0
Motor1.Iphase_pu.C = -Motor1.Iphase_pu.A - Motor1.Iphase_pu.B;
/* Motor 2 */
- phase_A_current_raw = (adc_res[0] - Motor2.Voffset_lsb.A);
- phase_B_current_raw = (adc_res[1] - Motor2.Voffset_lsb.B)*-1;
- filter_convert_to_pu(&phase_A_current_raw, &Motor2.Iphase_pu.A);
- filter_convert_to_pu(&phase_B_current_raw, &Motor2.Iphase_pu.B);
- // i_c = -i_a - i_b because i_a + i_b + i_c = 0
- Motor2.Iphase_pu.C = -Motor2.Iphase_pu.A - Motor2.Iphase_pu.B;
-
- /* Motor 3 */
- phase_A_current_raw = (adc_res[0] - Motor3.Voffset_lsb.A);
- phase_B_current_raw = (adc_res[1] - Motor3.Voffset_lsb.B)*-1;
- filter_convert_to_pu(&phase_A_current_raw, &Motor3.Iphase_pu.A);
- filter_convert_to_pu(&phase_B_current_raw, &Motor3.Iphase_pu.B);
- // i_c = -i_a - i_b because i_a + i_b + i_c = 0
- Motor3.Iphase_pu.C = -Motor3.Iphase_pu.A - Motor3.Iphase_pu.B;
+ //phase_A_current_raw = (adc_res[2] - Motor2.Voffset_lsb.A);
+ //phase_B_current_raw = (adc_res[3] - Motor2.Voffset_lsb.B)*-1;
+ //Motor2.Iphase_pu.A = phase_A_current_raw * LSB_TO_PU;
+ //Motor2.Iphase_pu.B = phase_B_current_raw * LSB_TO_PU;
+ //// i_c = -i_a - i_b because i_a + i_b + i_c = 0
+ //Motor2.Iphase_pu.C = -Motor2.Iphase_pu.A - Motor2.Iphase_pu.B;
+ //
+ ///* Motor 3 */
+ //phase_A_current_raw = (adc_res[4] - Motor3.Voffset_lsb.A);
+ //phase_B_current_raw = (adc_res[5] - Motor3.Voffset_lsb.B)*-1;
+ //Motor3.Iphase_pu.A = phase_A_current_raw * LSB_TO_PU;
+ //Motor3.Iphase_pu.B = phase_B_current_raw * LSB_TO_PU;
+ //// i_c = -i_a - i_b because i_a + i_b + i_c = 0
+ //Motor3.Iphase_pu.C = -Motor3.Iphase_pu.A - Motor3.Iphase_pu.B;
// Set Current Loop Flag
Motor1.timerflags.current_loop_tic = true;
+ //toc_port(DEBUG_3_PORT);
}
#endif /* INTERRUPT_HANDLERS_H_ */
\ No newline at end of file
diff --git a/BLDC_E54/BLDC_E54/main.c b/BLDC_E54/BLDC_E54/main.c
index 8f924d0..5978b55 100644
--- a/BLDC_E54/BLDC_E54/main.c
+++ b/BLDC_E54/BLDC_E54/main.c
@@ -1,7 +1,7 @@
#include
#include
#include
-#include
+//#include
// ----------------------------------------------------------------------
// Header Files
@@ -63,7 +63,9 @@ inline void CONTROLLER_StateMachine(void)
Motor1.timerflags.motor_telemetry_flag = true;
/* Blank */
case 6: /* PWM FREQ / 6.25 - 4kHz */
+
calculate_motor_speed();
+
BLDC_runSpeedCntl(&Motor1, Motor1.motor_status.calc_rpm, Motor1.motor_setpoints.desired_speed);
//BLDC_runSpeedCntl(&Motor1, Motor1.motor_status.calc_rpm, 3000);
default: /* PWM FREQ - 25kHz */
@@ -101,37 +103,49 @@ inline void CONTROLLER_StateMachine(void)
case 0: /* PWM FREQ / 25 - 1kHz */
Motor1.timerflags.motor_telemetry_flag = true; // Update telemetry flag
//tic(DEBUG_4);
- BLDC_runPosCntl(&Motor1, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position);
- BLDC_runPosCntl(&Motor2, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position);
- BLDC_runPosCntl(&Motor3, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position);
+ //tic_port(DEBUG_2_PORT);
+ BLDC_runPosCntl(&Motor1, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position);
+ //toc_port(DEBUG_2_PORT);
+ //BLDC_runPosCntl(&Motor2, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position);
+ //BLDC_runPosCntl(&Motor3, Motor1.motor_status.Num_Steps, Motor1.motor_setpoints.desired_position);
//toc(DEBUG_4);
+ //tic_port(DEBUG_2_PORT);
+ //toc_port(DEBUG_2_PORT);
+
case 5: case 10: case 15: case 20:/* PWM FREQ / 5 - 5kHz */
//tic(DEBUG_3);
//tic(DEBUG_4);
//tic(DEBUG_2);
+ //tic_port(DEBUG_2_PORT);
+ //tic_port(DEBUG_2_PORT);
calculate_motor_speed();
- calculate_motor_speed();
- calculate_motor_speed();
+ //toc_port(DEBUG_2_PORT);
+ //calculate_motor_speed();
+ //calculate_motor_speed();
+ //tic_port(DEBUG_2_PORT);
+ //toc_port(DEBUG_2_PORT);
//toc(DEBUG_2);
//tic(DEBUG_3);
BLDC_runSpeedCntl(&Motor1, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu);
- BLDC_runSpeedCntl(&Motor2, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu);
- BLDC_runSpeedCntl(&Motor3, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu);
+ //BLDC_runSpeedCntl(&Motor2, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu);
+ //BLDC_runSpeedCntl(&Motor3, Motor1.motor_status.calc_rpm, Motor1.controllers.Pid_Speed.Ref_pu);
//toc(DEBUG_3);
//toc(DEBUG_4);
//toc(DEBUG_3);
+ //tic_port(DEBUG_3_PORT);
+ //toc_port(DEBUG_3_PORT);
default: /* PWM FREQ - 25kHz */
//tic(DEBUG_2);
- //tic(DEBUG_3);
+
select_active_phase(&Motor1, Motor1.motor_status.currentHallPattern);
- select_active_phase(&Motor2, Motor2.motor_status.currentHallPattern);
- select_active_phase(&Motor3, Motor3.motor_status.currentHallPattern);
- ////toc(DEBUG_2);
- ////tic(DEBUG_3);
+ //select_active_phase(&Motor2, Motor2.motor_status.currentHallPattern);
+ //select_active_phase(&Motor3, Motor3.motor_status.currentHallPattern);
+
+ //tic_port(DEBUG_2_PORT);
BLDC_runCurrentCntl(&Motor1, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu);
- BLDC_runCurrentCntl(&Motor2, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu);
- BLDC_runCurrentCntl(&Motor3, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu);
- //toc(DEBUG_3);
+ //BLDC_runCurrentCntl(&Motor2, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu);
+ //BLDC_runCurrentCntl(&Motor3, Motor1.Iphase_pu.Bus, Motor1.controllers.Pi_Idc.Ref_pu);
+ //toc_port(DEBUG_2_PORT);
//toc(DEBUG_2);
break;
} // end switch(regulation_loop_count)
@@ -177,8 +191,15 @@ inline void CONTROLLER_StateMachine(void)
default: break;
} // End switch(applicationStatus.currentstate)
//gpio_set_pin_level(DRV_RST, true);
+ //tic_port(DEBUG_3_PORT);
+ //tic_port(DEBUG_2_PORT);
+ //tic_port(DEBUG_3_PORT);
+
exec_commutation();
+ //toc_port(DEBUG_3_PORT);
+ //toc_port(DEBUG_2_PORT);
+
} // inline void CONTROLLER_StateMachine(void)
void enable_NVIC_IRQ(void)
@@ -192,6 +213,21 @@ void enable_NVIC_IRQ(void)
}
+#define NOF 64
+volatile uint32_t samples[NOF];
+volatile float Fsamples[NOF];
+float fZeroCurrent = 8.0;
+
+static void ProcessSamples(void) {
+ volatile int i;
+ tic_port(DEBUG_2_PORT);
+ //Fsamples[i] = samples[i]*3.3/4096.0 - fZeroCurrent;
+ for (i=0; i < NOF; i++) {
+ Fsamples[i] = samples[i]*3.3f/4096.0f - fZeroCurrent;
+ }
+ toc_port(DEBUG_2_PORT);
+}
+
int main(void)
{
@@ -218,22 +254,33 @@ int main(void)
configure_TC_CCL_SPEED();
ext_irq_register(nDRV_RESET, HW_current_limit_detect_callback);
- enable_NVIC_IRQ();
+ //enable_NVIC_IRQ();
/* Replace with your application code */
while (1) {
- if(Motor1.timerflags.motor_telemetry_flag) {
- Motor1.timerflags.motor_telemetry_flag = false;
- update_setpoints();
- update_telemetry();
- }
- if(Motor1.timerflags.current_loop_tic) {
- Motor1.timerflags.current_loop_tic = false;
- tic_port(DEBUG_1_PORT);
- CONTROLLER_StateMachine();
- toc_port(DEBUG_1_PORT);
- }
+ ProcessSamples();
+
+
+
+
+
+ //if(Motor1.timerflags.motor_telemetry_flag) {
+ ////tic_port(DEBUG_2_PORT);
+ //Motor1.timerflags.motor_telemetry_flag = false;
+ //update_setpoints();
+ ////toc_port(DEBUG_2_PORT);
+ ////tic_port(DEBUG_3_PORT);
+ //update_telemetry();
+ ////toc_port(DEBUG_3_PORT);
+ //}
+ //
+ //if(Motor1.timerflags.current_loop_tic) {
+ //Motor1.timerflags.current_loop_tic = false;
+ //tic_port(DEBUG_1_PORT);
+ //CONTROLLER_StateMachine();
+ //toc_port(DEBUG_1_PORT);
+ //}
//do {
//delay_ms(10);
diff --git a/BLDC_E54/BLDC_E54/motor_params.h b/BLDC_E54/BLDC_E54/motor_params.h
index 7fb4b52..7edf47d 100644
--- a/BLDC_E54/BLDC_E54/motor_params.h
+++ b/BLDC_E54/BLDC_E54/motor_params.h
@@ -63,6 +63,7 @@
#define AVERAGE_SPEED_MEASURE
#define COUNTEQUIVTO25RPM 892857142
#define n_SAMPLE 8
+//#define n_SAMPLE 1
static uint32_t speed_average = 0;
static uint8_t count = 1;
diff --git a/BLDC_E54v2/BLCD_E54v2.atstart b/BLDC_E54v2/BLCD_E54v2.atstart
new file mode 100644
index 0000000..71aa1a3
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2.atstart
@@ -0,0 +1,2126 @@
+format_version: '2'
+name: My Project
+versions:
+ api: '1.0'
+ backend: 1.8.543
+ commit: 931b2422bde1a793dea853de68547f48bf245b0f
+ content: unknown
+ content_pack_name: unknown
+ format: '2'
+ frontend: 1.8.543
+ packs_version_avr8: 1.0.1457
+ packs_version_qtouch: unknown
+ packs_version_sam: 1.0.1726
+ version_backend: 1.8.543
+ version_frontend: ''
+board:
+ identifier: SAME54XplainedPro
+ device: SAME54P20A-AU
+details: null
+application: null
+middlewares: {}
+drivers:
+ ADC_0:
+ user_label: ADC_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::ADC0::driver_config_definition::ADC::HAL:Driver:ADC.Sync
+ functionality: ADC
+ api: HAL:Driver:ADC_Sync
+ configuration:
+ adc_advanced_settings: true
+ adc_arch_adjres: 0
+ adc_arch_corren: false
+ adc_arch_dbgrun: false
+ adc_arch_event_settings: true
+ adc_arch_flushei: false
+ adc_arch_flushinv: false
+ adc_arch_gaincorr: 0
+ adc_arch_leftadj: false
+ adc_arch_offcomp: false
+ adc_arch_offsetcorr: 0
+ adc_arch_ondemand: false
+ adc_arch_refcomp: false
+ adc_arch_resrdyeo: true
+ adc_arch_runstdby: false
+ adc_arch_samplen: 3
+ adc_arch_samplenum: 1 sample
+ adc_arch_seqen: 0
+ adc_arch_startei: false
+ adc_arch_startinv: false
+ adc_arch_winlt: 0
+ adc_arch_winmode: No window mode
+ adc_arch_winmoneo: false
+ adc_arch_winut: 0
+ adc_differential_mode: false
+ adc_freerunning_mode: false
+ adc_pinmux_negative: Internal ground
+ adc_pinmux_positive: ADC AIN2 pin
+ adc_prescaler: Peripheral clock divided by 8
+ adc_reference: VDDANA
+ adc_resolution: 12-bit
+ optional_signals:
+ - identifier: ADC_0:AIN/2
+ pad: PB08
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::ADC0.AIN.2
+ name: ADC0/AIN/2
+ label: AIN/2
+ - identifier: ADC_0:AIN/3
+ pad: PB09
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::ADC0.AIN.3
+ name: ADC0/AIN/3
+ label: AIN/3
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: ADC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ adc_gclk_selection: Generic clock generator 0
+ DIGITAL_GLUE_LOGIC_0:
+ user_label: DIGITAL_GLUE_LOGIC_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::CCL::driver_config_definition::CCL::HAL:Driver:CCL
+ functionality: Digital_Glue_Logic
+ api: HAL:Driver:CCL
+ configuration:
+ ccl_arch_advanced_settings: false
+ ccl_arch_edgesel_0: false
+ ccl_arch_edgesel_1: false
+ ccl_arch_edgesel_2: false
+ ccl_arch_edgesel_3: false
+ ccl_arch_filtsel_0: Disabled
+ ccl_arch_filtsel_1: Disabled
+ ccl_arch_filtsel_2: Disabled
+ ccl_arch_filtsel_3: Disabled
+ ccl_arch_insel0_0: IO pin input source
+ ccl_arch_insel0_1: IO pin input source
+ ccl_arch_insel0_2: IO pin input source
+ ccl_arch_insel0_3: IO pin input source
+ ccl_arch_insel1_0: IO pin input source
+ ccl_arch_insel1_1: IO pin input source
+ ccl_arch_insel1_2: IO pin input source
+ ccl_arch_insel1_3: IO pin input source
+ ccl_arch_insel2_0: IO pin input source
+ ccl_arch_insel2_1: IO pin input source
+ ccl_arch_insel2_2: IO pin input source
+ ccl_arch_insel2_3: IO pin input source
+ ccl_arch_invei_0: false
+ ccl_arch_invei_1: false
+ ccl_arch_invei_2: false
+ ccl_arch_invei_3: false
+ ccl_arch_lutctrl0: true
+ ccl_arch_lutctrl1: false
+ ccl_arch_lutctrl2: false
+ ccl_arch_lutctrl3: false
+ ccl_arch_lutei_0: false
+ ccl_arch_lutei_1: false
+ ccl_arch_lutei_2: false
+ ccl_arch_lutei_3: false
+ ccl_arch_luteo_0: true
+ ccl_arch_luteo_1: false
+ ccl_arch_luteo_2: false
+ ccl_arch_luteo_3: false
+ ccl_arch_runstdby: false
+ ccl_arch_seqsel_0: Sequential logic is disabled
+ ccl_arch_seqsel_1: Sequential logic is disabled
+ ccl_arch_truth_0: 150
+ ccl_arch_truth_1: 0
+ ccl_arch_truth_2: 0
+ ccl_arch_truth_3: 0
+ ccl_e_persistance_0: ''
+ ccl_e_persistance_1: ''
+ ccl_e_persistance_2: ''
+ ccl_e_persistance_3: ''
+ ccl_l_persistance_0: ''
+ ccl_l_persistance_1: ''
+ ccl_l_persistance_2: ''
+ ccl_l_persistance_3: ''
+ optional_signals:
+ - identifier: DIGITAL_GLUE_LOGIC_0:IN/0
+ pad: PA04
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.0
+ name: CCL/IN/0
+ label: IN/0
+ - identifier: DIGITAL_GLUE_LOGIC_0:IN/1
+ pad: PA05
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.1
+ name: CCL/IN/1
+ label: IN/1
+ - identifier: DIGITAL_GLUE_LOGIC_0:IN/2
+ pad: PA06
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.2
+ name: CCL/IN/2
+ label: IN/2
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: CCL
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ ccl_gclk_selection: Generic clock generator 0
+ CMCC:
+ user_label: CMCC
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::CMCC::driver_config_definition::CMCC::HAL:HPL:CMCC
+ functionality: System
+ api: HAL:HPL:CMCC
+ configuration:
+ cache_size: 4 KB
+ cmcc_advanced_configuration: false
+ cmcc_clock_gating_disable: false
+ cmcc_data_cache_disable: false
+ cmcc_enable: false
+ cmcc_inst_cache_disable: false
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ DMAC:
+ user_label: DMAC
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::DMAC::driver_config_definition::DMAC::HAL:HPL:DMAC
+ functionality: System
+ api: HAL:HPL:DMAC
+ configuration:
+ dmac_beatsize_0: 8-bit bus transfer
+ dmac_beatsize_1: 8-bit bus transfer
+ dmac_beatsize_10: 8-bit bus transfer
+ dmac_beatsize_11: 8-bit bus transfer
+ dmac_beatsize_12: 8-bit bus transfer
+ dmac_beatsize_13: 8-bit bus transfer
+ dmac_beatsize_14: 8-bit bus transfer
+ dmac_beatsize_15: 8-bit bus transfer
+ dmac_beatsize_16: 8-bit bus transfer
+ dmac_beatsize_17: 8-bit bus transfer
+ dmac_beatsize_18: 8-bit bus transfer
+ dmac_beatsize_19: 8-bit bus transfer
+ dmac_beatsize_2: 32-bit bus transfer
+ dmac_beatsize_20: 8-bit bus transfer
+ dmac_beatsize_21: 8-bit bus transfer
+ dmac_beatsize_22: 8-bit bus transfer
+ dmac_beatsize_23: 8-bit bus transfer
+ dmac_beatsize_24: 8-bit bus transfer
+ dmac_beatsize_25: 8-bit bus transfer
+ dmac_beatsize_26: 8-bit bus transfer
+ dmac_beatsize_27: 8-bit bus transfer
+ dmac_beatsize_28: 8-bit bus transfer
+ dmac_beatsize_29: 8-bit bus transfer
+ dmac_beatsize_3: 16-bit bus transfer
+ dmac_beatsize_30: 8-bit bus transfer
+ dmac_beatsize_31: 8-bit bus transfer
+ dmac_beatsize_4: 8-bit bus transfer
+ dmac_beatsize_5: 8-bit bus transfer
+ dmac_beatsize_6: 8-bit bus transfer
+ dmac_beatsize_7: 8-bit bus transfer
+ dmac_beatsize_8: 8-bit bus transfer
+ dmac_beatsize_9: 8-bit bus transfer
+ dmac_blockact_0: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_1: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_10: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_11: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_12: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_13: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_14: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_15: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_16: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_17: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_18: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_19: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_2: Channel suspend operation is complete
+ dmac_blockact_20: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_21: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_22: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_23: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_24: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_25: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_26: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_27: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_28: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_29: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_3: Channel will be disabled if it is the last block transfer in
+ the transaction and block interrupt
+ dmac_blockact_30: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_31: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_4: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_5: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_6: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_7: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_8: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_9: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_channel_0_settings: true
+ dmac_channel_10_settings: false
+ dmac_channel_11_settings: false
+ dmac_channel_12_settings: false
+ dmac_channel_13_settings: false
+ dmac_channel_14_settings: false
+ dmac_channel_15_settings: false
+ dmac_channel_16_settings: false
+ dmac_channel_17_settings: false
+ dmac_channel_18_settings: false
+ dmac_channel_19_settings: false
+ dmac_channel_1_settings: true
+ dmac_channel_20_settings: false
+ dmac_channel_21_settings: false
+ dmac_channel_22_settings: false
+ dmac_channel_23_settings: false
+ dmac_channel_24_settings: false
+ dmac_channel_25_settings: false
+ dmac_channel_26_settings: false
+ dmac_channel_27_settings: false
+ dmac_channel_28_settings: false
+ dmac_channel_29_settings: false
+ dmac_channel_2_settings: true
+ dmac_channel_30_settings: false
+ dmac_channel_31_settings: false
+ dmac_channel_3_settings: true
+ dmac_channel_4_settings: false
+ dmac_channel_5_settings: false
+ dmac_channel_6_settings: false
+ dmac_channel_7_settings: false
+ dmac_channel_8_settings: false
+ dmac_channel_9_settings: false
+ dmac_dbgrun: false
+ dmac_dstinc_0: true
+ dmac_dstinc_1: false
+ dmac_dstinc_10: false
+ dmac_dstinc_11: false
+ dmac_dstinc_12: false
+ dmac_dstinc_13: false
+ dmac_dstinc_14: false
+ dmac_dstinc_15: false
+ dmac_dstinc_16: false
+ dmac_dstinc_17: false
+ dmac_dstinc_18: false
+ dmac_dstinc_19: false
+ dmac_dstinc_2: false
+ dmac_dstinc_20: false
+ dmac_dstinc_21: false
+ dmac_dstinc_22: false
+ dmac_dstinc_23: false
+ dmac_dstinc_24: false
+ dmac_dstinc_25: false
+ dmac_dstinc_26: false
+ dmac_dstinc_27: false
+ dmac_dstinc_28: false
+ dmac_dstinc_29: false
+ dmac_dstinc_3: true
+ dmac_dstinc_30: false
+ dmac_dstinc_31: false
+ dmac_dstinc_4: false
+ dmac_dstinc_5: false
+ dmac_dstinc_6: false
+ dmac_dstinc_7: false
+ dmac_dstinc_8: false
+ dmac_dstinc_9: false
+ dmac_enable: true
+ dmac_evact_0: No action
+ dmac_evact_1: No action
+ dmac_evact_10: No action
+ dmac_evact_11: No action
+ dmac_evact_12: No action
+ dmac_evact_13: No action
+ dmac_evact_14: No action
+ dmac_evact_15: No action
+ dmac_evact_16: No action
+ dmac_evact_17: No action
+ dmac_evact_18: No action
+ dmac_evact_19: No action
+ dmac_evact_2: Channel resume operation
+ dmac_evact_20: No action
+ dmac_evact_21: No action
+ dmac_evact_22: No action
+ dmac_evact_23: No action
+ dmac_evact_24: No action
+ dmac_evact_25: No action
+ dmac_evact_26: No action
+ dmac_evact_27: No action
+ dmac_evact_28: No action
+ dmac_evact_29: No action
+ dmac_evact_3: No action
+ dmac_evact_30: No action
+ dmac_evact_31: No action
+ dmac_evact_4: No action
+ dmac_evact_5: No action
+ dmac_evact_6: No action
+ dmac_evact_7: No action
+ dmac_evact_8: No action
+ dmac_evact_9: No action
+ dmac_evie_0: false
+ dmac_evie_1: false
+ dmac_evie_10: false
+ dmac_evie_11: false
+ dmac_evie_12: false
+ dmac_evie_13: false
+ dmac_evie_14: false
+ dmac_evie_15: false
+ dmac_evie_16: false
+ dmac_evie_17: false
+ dmac_evie_18: false
+ dmac_evie_19: false
+ dmac_evie_2: true
+ dmac_evie_20: false
+ dmac_evie_21: false
+ dmac_evie_22: false
+ dmac_evie_23: false
+ dmac_evie_24: false
+ dmac_evie_25: false
+ dmac_evie_26: false
+ dmac_evie_27: false
+ dmac_evie_28: false
+ dmac_evie_29: false
+ dmac_evie_3: false
+ dmac_evie_30: false
+ dmac_evie_31: false
+ dmac_evie_4: false
+ dmac_evie_5: false
+ dmac_evie_6: false
+ dmac_evie_7: false
+ dmac_evie_8: false
+ dmac_evie_9: false
+ dmac_evoe_0: true
+ dmac_evoe_1: true
+ dmac_evoe_10: false
+ dmac_evoe_11: false
+ dmac_evoe_12: false
+ dmac_evoe_13: false
+ dmac_evoe_14: false
+ dmac_evoe_15: false
+ dmac_evoe_16: false
+ dmac_evoe_17: false
+ dmac_evoe_18: false
+ dmac_evoe_19: false
+ dmac_evoe_2: false
+ dmac_evoe_20: false
+ dmac_evoe_21: false
+ dmac_evoe_22: false
+ dmac_evoe_23: false
+ dmac_evoe_24: false
+ dmac_evoe_25: false
+ dmac_evoe_26: false
+ dmac_evoe_27: false
+ dmac_evoe_28: false
+ dmac_evoe_29: false
+ dmac_evoe_3: false
+ dmac_evoe_30: false
+ dmac_evoe_31: false
+ dmac_evoe_4: false
+ dmac_evoe_5: false
+ dmac_evoe_6: false
+ dmac_evoe_7: false
+ dmac_evoe_8: false
+ dmac_evoe_9: false
+ dmac_evosel_0: Event strobe when block transfer complete
+ dmac_evosel_1: Event strobe when block transfer complete
+ dmac_evosel_10: Event generation disabled
+ dmac_evosel_11: Event generation disabled
+ dmac_evosel_12: Event generation disabled
+ dmac_evosel_13: Event generation disabled
+ dmac_evosel_14: Event generation disabled
+ dmac_evosel_15: Event generation disabled
+ dmac_evosel_16: Event generation disabled
+ dmac_evosel_17: Event generation disabled
+ dmac_evosel_18: Event generation disabled
+ dmac_evosel_19: Event generation disabled
+ dmac_evosel_2: Event generation disabled
+ dmac_evosel_20: Event generation disabled
+ dmac_evosel_21: Event generation disabled
+ dmac_evosel_22: Event generation disabled
+ dmac_evosel_23: Event generation disabled
+ dmac_evosel_24: Event generation disabled
+ dmac_evosel_25: Event generation disabled
+ dmac_evosel_26: Event generation disabled
+ dmac_evosel_27: Event generation disabled
+ dmac_evosel_28: Event generation disabled
+ dmac_evosel_29: Event generation disabled
+ dmac_evosel_3: Event generation disabled
+ dmac_evosel_30: Event generation disabled
+ dmac_evosel_31: Event generation disabled
+ dmac_evosel_4: Event generation disabled
+ dmac_evosel_5: Event generation disabled
+ dmac_evosel_6: Event generation disabled
+ dmac_evosel_7: Event generation disabled
+ dmac_evosel_8: Event generation disabled
+ dmac_evosel_9: Event generation disabled
+ dmac_lvl_0: Channel priority 1
+ dmac_lvl_1: Channel priority 1
+ dmac_lvl_10: Channel priority 0
+ dmac_lvl_11: Channel priority 0
+ dmac_lvl_12: Channel priority 0
+ dmac_lvl_13: Channel priority 0
+ dmac_lvl_14: Channel priority 0
+ dmac_lvl_15: Channel priority 0
+ dmac_lvl_16: Channel priority 0
+ dmac_lvl_17: Channel priority 0
+ dmac_lvl_18: Channel priority 0
+ dmac_lvl_19: Channel priority 0
+ dmac_lvl_2: Channel priority 0
+ dmac_lvl_20: Channel priority 0
+ dmac_lvl_21: Channel priority 0
+ dmac_lvl_22: Channel priority 0
+ dmac_lvl_23: Channel priority 0
+ dmac_lvl_24: Channel priority 0
+ dmac_lvl_25: Channel priority 0
+ dmac_lvl_26: Channel priority 0
+ dmac_lvl_27: Channel priority 0
+ dmac_lvl_28: Channel priority 0
+ dmac_lvl_29: Channel priority 0
+ dmac_lvl_3: Channel priority 0
+ dmac_lvl_30: Channel priority 0
+ dmac_lvl_31: Channel priority 0
+ dmac_lvl_4: Channel priority 0
+ dmac_lvl_5: Channel priority 0
+ dmac_lvl_6: Channel priority 0
+ dmac_lvl_7: Channel priority 0
+ dmac_lvl_8: Channel priority 0
+ dmac_lvl_9: Channel priority 0
+ dmac_lvlen0: true
+ dmac_lvlen1: true
+ dmac_lvlen2: true
+ dmac_lvlen3: true
+ dmac_lvlpri0: 0
+ dmac_lvlpri1: 0
+ dmac_lvlpri2: 0
+ dmac_lvlpri3: 0
+ dmac_rrlvlen0: Round-robin arbitration scheme for channel with priority 0
+ dmac_rrlvlen1: Round-robin arbitration scheme for channel with priority 1
+ dmac_rrlvlen2: Round-robin arbitration scheme for channel with priority 2
+ dmac_rrlvlen3: Round-robin arbitration scheme for channel with priority 3
+ dmac_runstdby_0: false
+ dmac_runstdby_1: false
+ dmac_runstdby_10: false
+ dmac_runstdby_11: false
+ dmac_runstdby_12: false
+ dmac_runstdby_13: false
+ dmac_runstdby_14: false
+ dmac_runstdby_15: false
+ dmac_runstdby_16: false
+ dmac_runstdby_17: false
+ dmac_runstdby_18: false
+ dmac_runstdby_19: false
+ dmac_runstdby_2: true
+ dmac_runstdby_20: false
+ dmac_runstdby_21: false
+ dmac_runstdby_22: false
+ dmac_runstdby_23: false
+ dmac_runstdby_24: false
+ dmac_runstdby_25: false
+ dmac_runstdby_26: false
+ dmac_runstdby_27: false
+ dmac_runstdby_28: false
+ dmac_runstdby_29: false
+ dmac_runstdby_3: true
+ dmac_runstdby_30: false
+ dmac_runstdby_31: false
+ dmac_runstdby_4: false
+ dmac_runstdby_5: false
+ dmac_runstdby_6: false
+ dmac_runstdby_7: false
+ dmac_runstdby_8: false
+ dmac_runstdby_9: false
+ dmac_srcinc_0: false
+ dmac_srcinc_1: true
+ dmac_srcinc_10: false
+ dmac_srcinc_11: false
+ dmac_srcinc_12: false
+ dmac_srcinc_13: false
+ dmac_srcinc_14: false
+ dmac_srcinc_15: false
+ dmac_srcinc_16: false
+ dmac_srcinc_17: false
+ dmac_srcinc_18: false
+ dmac_srcinc_19: false
+ dmac_srcinc_2: true
+ dmac_srcinc_20: false
+ dmac_srcinc_21: false
+ dmac_srcinc_22: false
+ dmac_srcinc_23: false
+ dmac_srcinc_24: false
+ dmac_srcinc_25: false
+ dmac_srcinc_26: false
+ dmac_srcinc_27: false
+ dmac_srcinc_28: false
+ dmac_srcinc_29: false
+ dmac_srcinc_3: false
+ dmac_srcinc_30: false
+ dmac_srcinc_31: false
+ dmac_srcinc_4: false
+ dmac_srcinc_5: false
+ dmac_srcinc_6: false
+ dmac_srcinc_7: false
+ dmac_srcinc_8: false
+ dmac_srcinc_9: false
+ dmac_stepsel_0: Step size settings apply to the source address
+ dmac_stepsel_1: Step size settings apply to the source address
+ dmac_stepsel_10: Step size settings apply to the destination address
+ dmac_stepsel_11: Step size settings apply to the destination address
+ dmac_stepsel_12: Step size settings apply to the destination address
+ dmac_stepsel_13: Step size settings apply to the destination address
+ dmac_stepsel_14: Step size settings apply to the destination address
+ dmac_stepsel_15: Step size settings apply to the destination address
+ dmac_stepsel_16: Step size settings apply to the destination address
+ dmac_stepsel_17: Step size settings apply to the destination address
+ dmac_stepsel_18: Step size settings apply to the destination address
+ dmac_stepsel_19: Step size settings apply to the destination address
+ dmac_stepsel_2: Step size settings apply to the source address
+ dmac_stepsel_20: Step size settings apply to the destination address
+ dmac_stepsel_21: Step size settings apply to the destination address
+ dmac_stepsel_22: Step size settings apply to the destination address
+ dmac_stepsel_23: Step size settings apply to the destination address
+ dmac_stepsel_24: Step size settings apply to the destination address
+ dmac_stepsel_25: Step size settings apply to the destination address
+ dmac_stepsel_26: Step size settings apply to the destination address
+ dmac_stepsel_27: Step size settings apply to the destination address
+ dmac_stepsel_28: Step size settings apply to the destination address
+ dmac_stepsel_29: Step size settings apply to the destination address
+ dmac_stepsel_3: Step size settings apply to the destination address
+ dmac_stepsel_30: Step size settings apply to the destination address
+ dmac_stepsel_31: Step size settings apply to the destination address
+ dmac_stepsel_4: Step size settings apply to the destination address
+ dmac_stepsel_5: Step size settings apply to the destination address
+ dmac_stepsel_6: Step size settings apply to the destination address
+ dmac_stepsel_7: Step size settings apply to the destination address
+ dmac_stepsel_8: Step size settings apply to the destination address
+ dmac_stepsel_9: Step size settings apply to the destination address
+ dmac_stepsize_0: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_1: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_10: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_11: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_12: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_13: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_14: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_15: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_16: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_17: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_18: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_19: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_2: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_20: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_21: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_22: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_23: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_24: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_25: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_26: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_27: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_28: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_29: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_3: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_30: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_31: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_4: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_5: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_6: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_7: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_8: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_9: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_trifsrc_0: SERCOM5 RX Trigger
+ dmac_trifsrc_1: SERCOM5 TX Trigger
+ dmac_trifsrc_10: Only software/event triggers
+ dmac_trifsrc_11: Only software/event triggers
+ dmac_trifsrc_12: Only software/event triggers
+ dmac_trifsrc_13: Only software/event triggers
+ dmac_trifsrc_14: Only software/event triggers
+ dmac_trifsrc_15: Only software/event triggers
+ dmac_trifsrc_16: Only software/event triggers
+ dmac_trifsrc_17: Only software/event triggers
+ dmac_trifsrc_18: Only software/event triggers
+ dmac_trifsrc_19: Only software/event triggers
+ dmac_trifsrc_2: ADC0 Sequencing Trigger
+ dmac_trifsrc_20: Only software/event triggers
+ dmac_trifsrc_21: Only software/event triggers
+ dmac_trifsrc_22: Only software/event triggers
+ dmac_trifsrc_23: Only software/event triggers
+ dmac_trifsrc_24: Only software/event triggers
+ dmac_trifsrc_25: Only software/event triggers
+ dmac_trifsrc_26: Only software/event triggers
+ dmac_trifsrc_27: Only software/event triggers
+ dmac_trifsrc_28: Only software/event triggers
+ dmac_trifsrc_29: Only software/event triggers
+ dmac_trifsrc_3: ADC0 Result Ready Trigger
+ dmac_trifsrc_30: Only software/event triggers
+ dmac_trifsrc_31: Only software/event triggers
+ dmac_trifsrc_4: Only software/event triggers
+ dmac_trifsrc_5: Only software/event triggers
+ dmac_trifsrc_6: Only software/event triggers
+ dmac_trifsrc_7: Only software/event triggers
+ dmac_trifsrc_8: Only software/event triggers
+ dmac_trifsrc_9: Only software/event triggers
+ dmac_trigact_0: One trigger required for each beat transfer
+ dmac_trigact_1: One trigger required for each beat transfer
+ dmac_trigact_10: One trigger required for each block transfer
+ dmac_trigact_11: One trigger required for each block transfer
+ dmac_trigact_12: One trigger required for each block transfer
+ dmac_trigact_13: One trigger required for each block transfer
+ dmac_trigact_14: One trigger required for each block transfer
+ dmac_trigact_15: One trigger required for each block transfer
+ dmac_trigact_16: One trigger required for each block transfer
+ dmac_trigact_17: One trigger required for each block transfer
+ dmac_trigact_18: One trigger required for each block transfer
+ dmac_trigact_19: One trigger required for each block transfer
+ dmac_trigact_2: One trigger required for each beat transfer
+ dmac_trigact_20: One trigger required for each block transfer
+ dmac_trigact_21: One trigger required for each block transfer
+ dmac_trigact_22: One trigger required for each block transfer
+ dmac_trigact_23: One trigger required for each block transfer
+ dmac_trigact_24: One trigger required for each block transfer
+ dmac_trigact_25: One trigger required for each block transfer
+ dmac_trigact_26: One trigger required for each block transfer
+ dmac_trigact_27: One trigger required for each block transfer
+ dmac_trigact_28: One trigger required for each block transfer
+ dmac_trigact_29: One trigger required for each block transfer
+ dmac_trigact_3: One trigger required for each beat transfer
+ dmac_trigact_30: One trigger required for each block transfer
+ dmac_trigact_31: One trigger required for each block transfer
+ dmac_trigact_4: One trigger required for each block transfer
+ dmac_trigact_5: One trigger required for each block transfer
+ dmac_trigact_6: One trigger required for each block transfer
+ dmac_trigact_7: One trigger required for each block transfer
+ dmac_trigact_8: One trigger required for each block transfer
+ dmac_trigact_9: One trigger required for each block transfer
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ EVENT_SYSTEM_0:
+ user_label: EVENT_SYSTEM_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::EVSYS::driver_config_definition::Event.System::HAL:Driver:Event.system
+ functionality: Event_System
+ api: HAL:Driver:Event_system
+ configuration:
+ evsys_channel_0: No channel output selected
+ evsys_channel_1: No channel output selected
+ evsys_channel_10: No channel output selected
+ evsys_channel_11: No channel output selected
+ evsys_channel_12: No channel output selected
+ evsys_channel_17: No channel output selected
+ evsys_channel_18: No channel output selected
+ evsys_channel_19: No channel output selected
+ evsys_channel_2: No channel output selected
+ evsys_channel_20: No channel output selected
+ evsys_channel_21: No channel output selected
+ evsys_channel_22: No channel output selected
+ evsys_channel_23: No channel output selected
+ evsys_channel_24: No channel output selected
+ evsys_channel_25: No channel output selected
+ evsys_channel_26: No channel output selected
+ evsys_channel_27: No channel output selected
+ evsys_channel_28: No channel output selected
+ evsys_channel_29: No channel output selected
+ evsys_channel_3: No channel output selected
+ evsys_channel_30: No channel output selected
+ evsys_channel_31: No channel output selected
+ evsys_channel_32: No channel output selected
+ evsys_channel_33: No channel output selected
+ evsys_channel_34: No channel output selected
+ evsys_channel_35: No channel output selected
+ evsys_channel_36: No channel output selected
+ evsys_channel_37: No channel output selected
+ evsys_channel_38: No channel output selected
+ evsys_channel_39: No channel output selected
+ evsys_channel_4: No channel output selected
+ evsys_channel_40: No channel output selected
+ evsys_channel_41: No channel output selected
+ evsys_channel_42: No channel output selected
+ evsys_channel_43: No channel output selected
+ evsys_channel_44: Channel 1
+ evsys_channel_45: No channel output selected
+ evsys_channel_46: No channel output selected
+ evsys_channel_47: No channel output selected
+ evsys_channel_48: No channel output selected
+ evsys_channel_49: No channel output selected
+ evsys_channel_5: No channel output selected
+ evsys_channel_50: No channel output selected
+ evsys_channel_51: No channel output selected
+ evsys_channel_52: No channel output selected
+ evsys_channel_53: No channel output selected
+ evsys_channel_54: No channel output selected
+ evsys_channel_55: No channel output selected
+ evsys_channel_56: No channel output selected
+ evsys_channel_57: No channel output selected
+ evsys_channel_58: No channel output selected
+ evsys_channel_59: No channel output selected
+ evsys_channel_6: No channel output selected
+ evsys_channel_60: No channel output selected
+ evsys_channel_61: No channel output selected
+ evsys_channel_62: No channel output selected
+ evsys_channel_63: No channel output selected
+ evsys_channel_64: No channel output selected
+ evsys_channel_65: No channel output selected
+ evsys_channel_66: No channel output selected
+ evsys_channel_7: No channel output selected
+ evsys_channel_8: No channel output selected
+ evsys_channel_9: No channel output selected
+ evsys_channel_setting_0: true
+ evsys_channel_setting_1: true
+ evsys_channel_setting_10: false
+ evsys_channel_setting_11: false
+ evsys_channel_setting_12: false
+ evsys_channel_setting_13: false
+ evsys_channel_setting_14: false
+ evsys_channel_setting_15: false
+ evsys_channel_setting_16: false
+ evsys_channel_setting_17: false
+ evsys_channel_setting_18: false
+ evsys_channel_setting_19: false
+ evsys_channel_setting_2: false
+ evsys_channel_setting_20: false
+ evsys_channel_setting_21: false
+ evsys_channel_setting_22: false
+ evsys_channel_setting_23: false
+ evsys_channel_setting_24: false
+ evsys_channel_setting_25: false
+ evsys_channel_setting_26: false
+ evsys_channel_setting_27: false
+ evsys_channel_setting_28: false
+ evsys_channel_setting_29: false
+ evsys_channel_setting_3: false
+ evsys_channel_setting_30: false
+ evsys_channel_setting_31: false
+ evsys_channel_setting_4: false
+ evsys_channel_setting_5: false
+ evsys_channel_setting_6: false
+ evsys_channel_setting_7: false
+ evsys_channel_setting_8: false
+ evsys_channel_setting_9: false
+ evsys_edgsel_0: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_1: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_10: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_11: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_12: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_13: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_14: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_15: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_16: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_17: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_18: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_19: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_2: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_20: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_21: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_22: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_23: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_24: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_25: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_26: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_27: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_28: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_29: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_3: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_30: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_31: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_4: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_5: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_6: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_7: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_8: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_9: No event output when using the resynchronized or synchronous
+ path
+ evsys_evd_0: false
+ evsys_evd_1: false
+ evsys_evd_10: false
+ evsys_evd_11: false
+ evsys_evd_12: false
+ evsys_evd_13: false
+ evsys_evd_14: false
+ evsys_evd_15: false
+ evsys_evd_16: false
+ evsys_evd_17: false
+ evsys_evd_18: false
+ evsys_evd_19: false
+ evsys_evd_2: false
+ evsys_evd_20: false
+ evsys_evd_21: false
+ evsys_evd_22: false
+ evsys_evd_23: false
+ evsys_evd_24: false
+ evsys_evd_25: false
+ evsys_evd_26: false
+ evsys_evd_27: false
+ evsys_evd_28: false
+ evsys_evd_29: false
+ evsys_evd_3: false
+ evsys_evd_30: false
+ evsys_evd_31: false
+ evsys_evd_4: false
+ evsys_evd_5: false
+ evsys_evd_6: false
+ evsys_evd_7: false
+ evsys_evd_8: false
+ evsys_evd_9: false
+ evsys_evgen_0: TCC1 overflow
+ evsys_evgen_1: CCL LUT output 0
+ evsys_evgen_10: No event generator
+ evsys_evgen_11: No event generator
+ evsys_evgen_12: No event generator
+ evsys_evgen_13: No event generator
+ evsys_evgen_14: No event generator
+ evsys_evgen_15: No event generator
+ evsys_evgen_16: No event generator
+ evsys_evgen_17: No event generator
+ evsys_evgen_18: No event generator
+ evsys_evgen_19: No event generator
+ evsys_evgen_2: No event generator
+ evsys_evgen_20: No event generator
+ evsys_evgen_21: No event generator
+ evsys_evgen_22: No event generator
+ evsys_evgen_23: No event generator
+ evsys_evgen_24: No event generator
+ evsys_evgen_25: No event generator
+ evsys_evgen_26: No event generator
+ evsys_evgen_27: No event generator
+ evsys_evgen_28: No event generator
+ evsys_evgen_29: No event generator
+ evsys_evgen_3: No event generator
+ evsys_evgen_30: No event generator
+ evsys_evgen_31: No event generator
+ evsys_evgen_4: No event generator
+ evsys_evgen_5: No event generator
+ evsys_evgen_6: No event generator
+ evsys_evgen_7: No event generator
+ evsys_evgen_8: No event generator
+ evsys_evgen_9: No event generator
+ evsys_ondemand_0: false
+ evsys_ondemand_1: false
+ evsys_ondemand_10: false
+ evsys_ondemand_11: false
+ evsys_ondemand_12: false
+ evsys_ondemand_13: false
+ evsys_ondemand_14: false
+ evsys_ondemand_15: false
+ evsys_ondemand_16: false
+ evsys_ondemand_17: false
+ evsys_ondemand_18: false
+ evsys_ondemand_19: false
+ evsys_ondemand_2: false
+ evsys_ondemand_20: false
+ evsys_ondemand_21: false
+ evsys_ondemand_22: false
+ evsys_ondemand_23: false
+ evsys_ondemand_24: false
+ evsys_ondemand_25: false
+ evsys_ondemand_26: false
+ evsys_ondemand_27: false
+ evsys_ondemand_28: false
+ evsys_ondemand_29: false
+ evsys_ondemand_3: false
+ evsys_ondemand_30: false
+ evsys_ondemand_31: false
+ evsys_ondemand_4: false
+ evsys_ondemand_5: false
+ evsys_ondemand_6: false
+ evsys_ondemand_7: false
+ evsys_ondemand_8: false
+ evsys_ondemand_9: false
+ evsys_ovr_0: false
+ evsys_ovr_1: false
+ evsys_ovr_10: false
+ evsys_ovr_11: false
+ evsys_ovr_12: false
+ evsys_ovr_13: false
+ evsys_ovr_14: false
+ evsys_ovr_15: false
+ evsys_ovr_16: false
+ evsys_ovr_17: false
+ evsys_ovr_18: false
+ evsys_ovr_19: false
+ evsys_ovr_2: false
+ evsys_ovr_20: false
+ evsys_ovr_21: false
+ evsys_ovr_22: false
+ evsys_ovr_23: false
+ evsys_ovr_24: false
+ evsys_ovr_25: false
+ evsys_ovr_26: false
+ evsys_ovr_27: false
+ evsys_ovr_28: false
+ evsys_ovr_29: false
+ evsys_ovr_3: false
+ evsys_ovr_30: false
+ evsys_ovr_31: false
+ evsys_ovr_4: false
+ evsys_ovr_5: false
+ evsys_ovr_6: false
+ evsys_ovr_7: false
+ evsys_ovr_8: false
+ evsys_ovr_9: false
+ evsys_path_0: Asynchronous path
+ evsys_path_1: Asynchronous path
+ evsys_path_10: Synchronous path
+ evsys_path_11: Synchronous path
+ evsys_path_12: Synchronous path
+ evsys_path_13: Synchronous path
+ evsys_path_14: Synchronous path
+ evsys_path_15: Synchronous path
+ evsys_path_16: Synchronous path
+ evsys_path_17: Synchronous path
+ evsys_path_18: Synchronous path
+ evsys_path_19: Synchronous path
+ evsys_path_2: Synchronous path
+ evsys_path_20: Synchronous path
+ evsys_path_21: Synchronous path
+ evsys_path_22: Synchronous path
+ evsys_path_23: Synchronous path
+ evsys_path_24: Synchronous path
+ evsys_path_25: Synchronous path
+ evsys_path_26: Synchronous path
+ evsys_path_27: Synchronous path
+ evsys_path_28: Synchronous path
+ evsys_path_29: Synchronous path
+ evsys_path_3: Synchronous path
+ evsys_path_30: Synchronous path
+ evsys_path_31: Synchronous path
+ evsys_path_4: Synchronous path
+ evsys_path_5: Synchronous path
+ evsys_path_6: Synchronous path
+ evsys_path_7: Synchronous path
+ evsys_path_8: Synchronous path
+ evsys_path_9: Synchronous path
+ evsys_runstdby_0: false
+ evsys_runstdby_1: false
+ evsys_runstdby_10: false
+ evsys_runstdby_11: false
+ evsys_runstdby_12: false
+ evsys_runstdby_13: false
+ evsys_runstdby_14: false
+ evsys_runstdby_15: false
+ evsys_runstdby_16: false
+ evsys_runstdby_17: false
+ evsys_runstdby_18: false
+ evsys_runstdby_19: false
+ evsys_runstdby_2: false
+ evsys_runstdby_20: false
+ evsys_runstdby_21: false
+ evsys_runstdby_22: false
+ evsys_runstdby_23: false
+ evsys_runstdby_24: false
+ evsys_runstdby_25: false
+ evsys_runstdby_26: false
+ evsys_runstdby_27: false
+ evsys_runstdby_28: false
+ evsys_runstdby_29: false
+ evsys_runstdby_3: false
+ evsys_runstdby_30: false
+ evsys_runstdby_31: false
+ evsys_runstdby_4: false
+ evsys_runstdby_5: false
+ evsys_runstdby_6: false
+ evsys_runstdby_7: false
+ evsys_runstdby_8: false
+ evsys_runstdby_9: false
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: Channel 0
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 1
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 2
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 3
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 4
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 5
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 6
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 7
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 8
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 9
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 10
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 11
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ evsys_clk_selection_0: Generic clock generator 0
+ evsys_clk_selection_1: Generic clock generator 0
+ evsys_clk_selection_10: Generic clock generator 0
+ evsys_clk_selection_11: Generic clock generator 0
+ evsys_clk_selection_2: Generic clock generator 0
+ evsys_clk_selection_3: Generic clock generator 0
+ evsys_clk_selection_4: Generic clock generator 0
+ evsys_clk_selection_5: Generic clock generator 0
+ evsys_clk_selection_6: Generic clock generator 0
+ evsys_clk_selection_7: Generic clock generator 0
+ evsys_clk_selection_8: Generic clock generator 0
+ evsys_clk_selection_9: Generic clock generator 0
+ GCLK:
+ user_label: GCLK
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::GCLK::driver_config_definition::GCLK::HAL:HPL:GCLK
+ functionality: System
+ api: HAL:HPL:GCLK
+ configuration:
+ $input: 120000000
+ $input_id: Digital Phase Locked Loop (DPLL1)
+ RESERVED_InputFreq: 120000000
+ RESERVED_InputFreq_id: Digital Phase Locked Loop (DPLL1)
+ _$freq_output_Generic clock generator 0: 120000000
+ _$freq_output_Generic clock generator 1: 2000000
+ _$freq_output_Generic clock generator 10: 12000000
+ _$freq_output_Generic clock generator 11: 12000000
+ _$freq_output_Generic clock generator 2: 32768
+ _$freq_output_Generic clock generator 3: 32768
+ _$freq_output_Generic clock generator 4: 12000000
+ _$freq_output_Generic clock generator 5: 12000000
+ _$freq_output_Generic clock generator 6: 12000000
+ _$freq_output_Generic clock generator 7: 12000000
+ _$freq_output_Generic clock generator 8: 12000000
+ _$freq_output_Generic clock generator 9: 12000000
+ enable_gclk_gen_0: true
+ enable_gclk_gen_0__externalclock: 1000000
+ enable_gclk_gen_1: true
+ enable_gclk_gen_10: false
+ enable_gclk_gen_10__externalclock: 1000000
+ enable_gclk_gen_11: false
+ enable_gclk_gen_11__externalclock: 1000000
+ enable_gclk_gen_1__externalclock: 1000000
+ enable_gclk_gen_2: true
+ enable_gclk_gen_2__externalclock: 1000000
+ enable_gclk_gen_3: false
+ enable_gclk_gen_3__externalclock: 1000000
+ enable_gclk_gen_4: false
+ enable_gclk_gen_4__externalclock: 1000000
+ enable_gclk_gen_5: false
+ enable_gclk_gen_5__externalclock: 1000000
+ enable_gclk_gen_6: false
+ enable_gclk_gen_6__externalclock: 1000000
+ enable_gclk_gen_7: false
+ enable_gclk_gen_7__externalclock: 1000000
+ enable_gclk_gen_8: false
+ enable_gclk_gen_8__externalclock: 1000000
+ enable_gclk_gen_9: false
+ enable_gclk_gen_9__externalclock: 1000000
+ gclk_arch_gen_0_enable: true
+ gclk_arch_gen_0_idc: false
+ gclk_arch_gen_0_oe: true
+ gclk_arch_gen_0_oov: false
+ gclk_arch_gen_0_runstdby: false
+ gclk_arch_gen_10_enable: false
+ gclk_arch_gen_10_idc: false
+ gclk_arch_gen_10_oe: false
+ gclk_arch_gen_10_oov: false
+ gclk_arch_gen_10_runstdby: false
+ gclk_arch_gen_11_enable: false
+ gclk_arch_gen_11_idc: false
+ gclk_arch_gen_11_oe: false
+ gclk_arch_gen_11_oov: false
+ gclk_arch_gen_11_runstdby: false
+ gclk_arch_gen_1_enable: true
+ gclk_arch_gen_1_idc: false
+ gclk_arch_gen_1_oe: true
+ gclk_arch_gen_1_oov: false
+ gclk_arch_gen_1_runstdby: false
+ gclk_arch_gen_2_enable: true
+ gclk_arch_gen_2_idc: false
+ gclk_arch_gen_2_oe: true
+ gclk_arch_gen_2_oov: false
+ gclk_arch_gen_2_runstdby: false
+ gclk_arch_gen_3_enable: false
+ gclk_arch_gen_3_idc: false
+ gclk_arch_gen_3_oe: false
+ gclk_arch_gen_3_oov: false
+ gclk_arch_gen_3_runstdby: false
+ gclk_arch_gen_4_enable: false
+ gclk_arch_gen_4_idc: false
+ gclk_arch_gen_4_oe: false
+ gclk_arch_gen_4_oov: false
+ gclk_arch_gen_4_runstdby: false
+ gclk_arch_gen_5_enable: false
+ gclk_arch_gen_5_idc: false
+ gclk_arch_gen_5_oe: false
+ gclk_arch_gen_5_oov: false
+ gclk_arch_gen_5_runstdby: false
+ gclk_arch_gen_6_enable: false
+ gclk_arch_gen_6_idc: false
+ gclk_arch_gen_6_oe: false
+ gclk_arch_gen_6_oov: false
+ gclk_arch_gen_6_runstdby: false
+ gclk_arch_gen_7_enable: false
+ gclk_arch_gen_7_idc: false
+ gclk_arch_gen_7_oe: false
+ gclk_arch_gen_7_oov: false
+ gclk_arch_gen_7_runstdby: false
+ gclk_arch_gen_8_enable: false
+ gclk_arch_gen_8_idc: false
+ gclk_arch_gen_8_oe: false
+ gclk_arch_gen_8_oov: false
+ gclk_arch_gen_8_runstdby: false
+ gclk_arch_gen_9_enable: false
+ gclk_arch_gen_9_idc: false
+ gclk_arch_gen_9_oe: false
+ gclk_arch_gen_9_oov: false
+ gclk_arch_gen_9_runstdby: false
+ gclk_gen_0_div: 1
+ gclk_gen_0_div_sel: false
+ gclk_gen_0_oscillator: Digital Phase Locked Loop (DPLL1)
+ gclk_gen_10_div: 1
+ gclk_gen_10_div_sel: false
+ gclk_gen_10_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_11_div: 1
+ gclk_gen_11_div_sel: false
+ gclk_gen_11_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_1_div: 24
+ gclk_gen_1_div_sel: false
+ gclk_gen_1_oscillator: Digital Frequency Locked Loop (DFLL48M)
+ gclk_gen_2_div: 1
+ gclk_gen_2_div_sel: false
+ gclk_gen_2_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ gclk_gen_3_div: 1
+ gclk_gen_3_div_sel: false
+ gclk_gen_3_oscillator: 32kHz External Crystal Oscillator (XOSC32K)
+ gclk_gen_4_div: 1
+ gclk_gen_4_div_sel: false
+ gclk_gen_4_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_5_div: 1
+ gclk_gen_5_div_sel: false
+ gclk_gen_5_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_6_div: 1
+ gclk_gen_6_div_sel: false
+ gclk_gen_6_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_7_div: 1
+ gclk_gen_7_div_sel: false
+ gclk_gen_7_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_8_div: 1
+ gclk_gen_8_div_sel: false
+ gclk_gen_8_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_9_div: 1
+ gclk_gen_9_div_sel: false
+ gclk_gen_9_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ MCLK:
+ user_label: MCLK
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::MCLK::driver_config_definition::MCLK::HAL:HPL:MCLK
+ functionality: System
+ api: HAL:HPL:MCLK
+ configuration:
+ $input: 120000000
+ $input_id: Generic clock generator 0
+ RESERVED_InputFreq: 120000000
+ RESERVED_InputFreq_id: Generic clock generator 0
+ _$freq_output_CPU: 120000000
+ cpu_clock_source: Generic clock generator 0
+ cpu_div: '1'
+ enable_cpu_clock: true
+ mclk_arch_bupdiv: Divide by 8
+ mclk_arch_hsdiv: Divide by 1
+ mclk_arch_lpdiv: Divide by 4
+ nvm_wait_states: '0'
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: CPU
+ input: CPU
+ external: false
+ external_frequency: 0
+ configuration: {}
+ OSC32KCTRL:
+ user_label: OSC32KCTRL
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::OSC32KCTRL::driver_config_definition::OSC32KCTRL::HAL:HPL:OSC32KCTRL
+ functionality: System
+ api: HAL:HPL:OSC32KCTRL
+ configuration:
+ $input: 32768
+ $input_id: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ RESERVED_InputFreq: 32768
+ RESERVED_InputFreq_id: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ _$freq_output_RTC source: 32768
+ enable_osculp32k: true
+ enable_rtc_source: false
+ enable_xosc32k: false
+ osculp32k_calib: 0
+ osculp32k_calib_enable: false
+ rtc_1khz_selection: false
+ rtc_source_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ xosc32k_arch_cfden: false
+ xosc32k_arch_cfdeo: false
+ xosc32k_arch_cgm: Standard mode
+ xosc32k_arch_en1k: false
+ xosc32k_arch_en32k: false
+ xosc32k_arch_enable: false
+ xosc32k_arch_ondemand: true
+ xosc32k_arch_runstdby: false
+ xosc32k_arch_startup: 62592us
+ xosc32k_arch_swben: false
+ xosc32k_arch_xtalen: true
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ OSCCTRL:
+ user_label: OSCCTRL
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::OSCCTRL::driver_config_definition::OSCCTRL::HAL:HPL:OSCCTRL
+ functionality: System
+ api: HAL:HPL:OSCCTRL
+ configuration:
+ $input: 2000000
+ $input_id: Generic clock generator 1
+ RESERVED_InputFreq: 2000000
+ RESERVED_InputFreq_id: Generic clock generator 1
+ _$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000
+ _$freq_output_Digital Phase Locked Loop (DPLL0): 47985664
+ _$freq_output_Digital Phase Locked Loop (DPLL1): 120000000
+ _$freq_output_External Crystal Oscillator 8-48MHz (XOSC0): '12000000'
+ _$freq_output_External Crystal Oscillator 8-48MHz (XOSC1): '12000000'
+ dfll_arch_bplckc: false
+ dfll_arch_calibration: false
+ dfll_arch_ccdis: false
+ dfll_arch_coarse: 31
+ dfll_arch_cstep: 1
+ dfll_arch_enable: true
+ dfll_arch_fine: 128
+ dfll_arch_fstep: 1
+ dfll_arch_llaw: false
+ dfll_arch_ondemand: false
+ dfll_arch_qldis: false
+ dfll_arch_runstdby: false
+ dfll_arch_stable: false
+ dfll_arch_usbcrm: false
+ dfll_arch_waitlock: true
+ dfll_mode: Open Loop Mode
+ dfll_mul: 0
+ dfll_ref_clock: Generic clock generator 2
+ enable_dfll: true
+ enable_fdpll0: false
+ enable_fdpll1: true
+ enable_xosc0: false
+ enable_xosc1: true
+ fdpll0_arch_dcoen: false
+ fdpll0_arch_enable: false
+ fdpll0_arch_filter: 0
+ fdpll0_arch_lbypass: false
+ fdpll0_arch_ltime: No time-out, automatic lock
+ fdpll0_arch_ondemand: false
+ fdpll0_arch_refclk: XOSC32K clock reference
+ fdpll0_arch_runstdby: false
+ fdpll0_arch_wuf: false
+ fdpll0_clock_dcofilter: 0
+ fdpll0_clock_div: 0
+ fdpll0_ldr: 1463
+ fdpll0_ldrfrac: 13
+ fdpll0_ref_clock: 32kHz External Crystal Oscillator (XOSC32K)
+ fdpll1_arch_dcoen: false
+ fdpll1_arch_enable: true
+ fdpll1_arch_filter: 0
+ fdpll1_arch_lbypass: false
+ fdpll1_arch_ltime: No time-out, automatic lock
+ fdpll1_arch_ondemand: false
+ fdpll1_arch_refclk: XOSC32K clock reference
+ fdpll1_arch_runstdby: false
+ fdpll1_arch_wuf: false
+ fdpll1_clock_dcofilter: 0
+ fdpll1_clock_div: 0
+ fdpll1_ldr: 59
+ fdpll1_ldrfrac: 0
+ fdpll1_ref_clock: Generic clock generator 1
+ xosc0_arch_cfden: false
+ xosc0_arch_enable: false
+ xosc0_arch_enalc: false
+ xosc0_arch_lowbufgain: false
+ xosc0_arch_ondemand: false
+ xosc0_arch_runstdby: false
+ xosc0_arch_startup: 31us
+ xosc0_arch_swben: false
+ xosc0_arch_xtalen: false
+ xosc0_frequency: 12000000
+ xosc1_arch_cfden: false
+ xosc1_arch_enable: true
+ xosc1_arch_enalc: false
+ xosc1_arch_lowbufgain: false
+ xosc1_arch_ondemand: false
+ xosc1_arch_runstdby: false
+ xosc1_arch_startup: 31us
+ xosc1_arch_swben: false
+ xosc1_arch_xtalen: true
+ xosc1_frequency: 12000000
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ PORT:
+ user_label: PORT
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::PORT::driver_config_definition::PORT::HAL:HPL:PORT
+ functionality: System
+ api: HAL:HPL:PORT
+ configuration:
+ enable_port_input_event_0: false
+ enable_port_input_event_1: false
+ enable_port_input_event_2: false
+ enable_port_input_event_3: false
+ porta_event_action_0: Output register of pin will be set to level of event
+ porta_event_action_1: Output register of pin will be set to level of event
+ porta_event_action_2: Output register of pin will be set to level of event
+ porta_event_action_3: Output register of pin will be set to level of event
+ porta_event_pin_identifier_0: 0
+ porta_event_pin_identifier_1: 0
+ porta_event_pin_identifier_2: 0
+ porta_event_pin_identifier_3: 0
+ porta_input_event_enable_0: false
+ porta_input_event_enable_1: false
+ porta_input_event_enable_2: false
+ porta_input_event_enable_3: false
+ portb_event_action_0: Output register of pin will be set to level of event
+ portb_event_action_1: Output register of pin will be set to level of event
+ portb_event_action_2: Output register of pin will be set to level of event
+ portb_event_action_3: Output register of pin will be set to level of event
+ portb_event_pin_identifier_0: 0
+ portb_event_pin_identifier_1: 0
+ portb_event_pin_identifier_2: 0
+ portb_event_pin_identifier_3: 0
+ portb_input_event_enable_0: false
+ portb_input_event_enable_1: false
+ portb_input_event_enable_2: false
+ portb_input_event_enable_3: false
+ portc_event_action_0: Output register of pin will be set to level of event
+ portc_event_action_1: Output register of pin will be set to level of event
+ portc_event_action_2: Output register of pin will be set to level of event
+ portc_event_action_3: Output register of pin will be set to level of event
+ portc_event_pin_identifier_0: 0
+ portc_event_pin_identifier_1: 0
+ portc_event_pin_identifier_2: 0
+ portc_event_pin_identifier_3: 0
+ portc_input_event_enable_0: false
+ portc_input_event_enable_1: false
+ portc_input_event_enable_2: false
+ portc_input_event_enable_3: false
+ portd_event_action_0: Output register of pin will be set to level of event
+ portd_event_action_1: Output register of pin will be set to level of event
+ portd_event_action_2: Output register of pin will be set to level of event
+ portd_event_action_3: Output register of pin will be set to level of event
+ portd_event_pin_identifier_0: 0
+ portd_event_pin_identifier_1: 0
+ portd_event_pin_identifier_2: 0
+ portd_event_pin_identifier_3: 0
+ portd_input_event_enable_0: false
+ portd_input_event_enable_1: false
+ portd_input_event_enable_2: false
+ portd_input_event_enable_3: false
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ RAMECC:
+ user_label: RAMECC
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::RAMECC::driver_config_definition::RAMECC::HAL:HPL:RAMECC
+ functionality: System
+ api: HAL:HPL:RAMECC
+ configuration: {}
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ SPI_0:
+ user_label: SPI_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::SERCOM5::driver_config_definition::SPI.Master::HAL:Driver:SPI.Master.DMA
+ functionality: SPI
+ api: HAL:Driver:SPI_Master_DMA
+ configuration:
+ spi_master_advanced: true
+ spi_master_arch_cpha: Sample input on leading edge
+ spi_master_arch_cpol: SCK is low when idle
+ spi_master_arch_dbgstop: Keep running
+ spi_master_arch_dord: MSB first
+ spi_master_arch_ibon: In data stream
+ spi_master_arch_runstdby: false
+ spi_master_baud_rate: 12000000
+ spi_master_character_size: 8 bits
+ spi_master_dma_rx_channel: 0
+ spi_master_dma_tx_channel: 1
+ spi_master_dummybyte: 511
+ spi_master_rx_channel: true
+ spi_master_rx_enable: true
+ optional_signals: []
+ variant:
+ specification: TXPO=0, RXPO=3
+ required_signals:
+ - name: SERCOM5/PAD/0
+ pad: PB16
+ label: MOSI
+ - name: SERCOM5/PAD/1
+ pad: PB17
+ label: SCK
+ - name: SERCOM5/PAD/3
+ pad: PB01
+ label: MISO
+ clocks:
+ domain_group:
+ nodes:
+ - name: Core
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Slow
+ input: Generic clock generator 3
+ external: false
+ external_frequency: 0
+ configuration:
+ core_gclk_selection: Generic clock generator 0
+ slow_gclk_selection: Generic clock generator 3
+ TC_SPEED:
+ user_label: TC_SPEED
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TC0::driver_config_definition::32-bit.Counter.Mode::Lite:TC:Timer
+ functionality: Timer
+ api: Lite:TC:Timer
+ configuration:
+ cc_cc0: 0
+ cc_cc1: 0
+ cc_control: false
+ count_control: false
+ count_count: 0
+ ctrla_alock: false
+ ctrla_capten0: false
+ ctrla_capten1: false
+ ctrla_captmode0: DEFAULT
+ ctrla_captmode1: DEFAULT
+ ctrla_control: true
+ ctrla_copen0: false
+ ctrla_copen1: false
+ ctrla_enable: true
+ ctrla_mode: 2
+ ctrla_ondemand: false
+ ctrla_prescaler: DIV4
+ ctrla_prescsync: GCLK
+ ctrla_runstdby: false
+ ctrlbset_cmd: NONE
+ ctrlbset_control: false
+ ctrlbset_dir: false
+ ctrlbset_lupd: false
+ ctrlbset_oneshot: false
+ ctrlc_inven0: false
+ ctrlc_inven1: false
+ dbgctrl_control: false
+ dbgctrl_dbgrun: false
+ drvctrl_control: false
+ evctrl_control: true
+ evctrl_evact: PPW
+ evctrl_mceo0: false
+ evctrl_mceo1: false
+ evctrl_ovfeo: true
+ evctrl_tcei: true
+ evctrl_tcinv: false
+ intenset_control: true
+ intenset_err: false
+ intenset_mc0: false
+ intenset_mc1: false
+ intenset_ovf: true
+ wave_control: true
+ wave_wavegen: NFRQ
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tc_gclk_selection: Generic clock generator 0
+ TC_ECAT:
+ user_label: TC_ECAT
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TC7::driver_config_definition::32-bit.Counter.Mode::Lite:TC:Timer
+ functionality: Timer
+ api: Lite:TC:Timer
+ configuration:
+ cc_cc0: 30000
+ cc_cc1: 0
+ cc_control: true
+ count_control: false
+ count_count: 0
+ ctrla_alock: false
+ ctrla_capten0: false
+ ctrla_capten1: false
+ ctrla_captmode0: DEFAULT
+ ctrla_captmode1: DEFAULT
+ ctrla_control: true
+ ctrla_copen0: false
+ ctrla_copen1: false
+ ctrla_enable: true
+ ctrla_mode: 0
+ ctrla_ondemand: false
+ ctrla_prescaler: DIV4
+ ctrla_prescsync: GCLK
+ ctrla_runstdby: false
+ ctrlbset_cmd: NONE
+ ctrlbset_control: false
+ ctrlbset_dir: false
+ ctrlbset_lupd: false
+ ctrlbset_oneshot: false
+ ctrlc_inven0: false
+ ctrlc_inven1: false
+ dbgctrl_control: false
+ dbgctrl_dbgrun: false
+ drvctrl_control: false
+ evctrl_control: false
+ evctrl_evact: 'OFF'
+ evctrl_mceo0: false
+ evctrl_mceo1: false
+ evctrl_ovfeo: false
+ evctrl_tcei: false
+ evctrl_tcinv: false
+ intenset_control: true
+ intenset_err: false
+ intenset_mc0: false
+ intenset_mc1: false
+ intenset_ovf: true
+ wave_control: true
+ wave_wavegen: MFRQ
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tc_gclk_selection: Generic clock generator 0
+ TCC_PWM2:
+ user_label: TCC_PWM2
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TCC0::driver_config_definition::PWM::HAL:Driver:PWM
+ functionality: PWM
+ api: HAL:Driver:PWM
+ configuration:
+ tcc_arch_alock: false
+ tcc_arch_cc0: 0
+ tcc_arch_cc1: 0
+ tcc_arch_cc2: 0
+ tcc_arch_cc3: 0
+ tcc_arch_cc4: 0
+ tcc_arch_cc5: 0
+ tcc_arch_cnteo: false
+ tcc_arch_cntsel: An interrupt/event is generated when a new counter cycle starts
+ tcc_arch_cpten0: false
+ tcc_arch_cpten1: false
+ tcc_arch_cpten2: false
+ tcc_arch_cpten3: false
+ tcc_arch_cpten4: false
+ tcc_arch_cpten5: false
+ tcc_arch_cpten6: false
+ tcc_arch_cpten7: false
+ tcc_arch_dbgrun: false
+ tcc_arch_evact0: Event action disabled
+ tcc_arch_evact1: Event action disabled
+ tcc_arch_lupd: false
+ tcc_arch_mcei0: false
+ tcc_arch_mcei1: false
+ tcc_arch_mcei2: false
+ tcc_arch_mcei3: false
+ tcc_arch_mcei4: false
+ tcc_arch_mcei5: false
+ tcc_arch_mceo0: false
+ tcc_arch_mceo1: false
+ tcc_arch_mceo2: false
+ tcc_arch_mceo3: false
+ tcc_arch_mceo4: false
+ tcc_arch_mceo5: false
+ tcc_arch_ovfeo: true
+ tcc_arch_prescsync: Reload or reset counter on next GCLK
+ tcc_arch_runstdby: false
+ tcc_arch_sel_ch: 0
+ tcc_arch_tcei0: false
+ tcc_arch_tcei1: false
+ tcc_arch_tceinv0: false
+ tcc_arch_tceinv1: false
+ tcc_arch_trgeo: false
+ tcc_arch_wave_duty_val: 500
+ tcc_arch_wave_per_val: 48
+ tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM)
+ tcc_per: 10000
+ tcc_prescaler: Divide by 2
+ timer_event_control: true
+ optional_signals:
+ - identifier: TCC_PWM2:WO/0
+ pad: PC04
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.0
+ name: TCC0/WO/0
+ label: WO/0
+ - identifier: TCC_PWM2:WO/1
+ pad: PD08
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.1
+ name: TCC0/WO/1
+ label: WO/1
+ - identifier: TCC_PWM2:WO/2
+ pad: PD09
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.2
+ name: TCC0/WO/2
+ label: WO/2
+ - identifier: TCC_PWM2:WO/3
+ pad: PD10
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.3
+ name: TCC0/WO/3
+ label: WO/3
+ - identifier: TCC_PWM2:WO/4
+ pad: PA16
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.4
+ name: TCC0/WO/4
+ label: WO/4
+ - identifier: TCC_PWM2:WO/5
+ pad: PA17
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.5
+ name: TCC0/WO/5
+ label: WO/5
+ - identifier: TCC_PWM2:WO/6
+ pad: PC22
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.6
+ name: TCC0/WO/6
+ label: WO/6
+ - identifier: TCC_PWM2:WO/7
+ pad: PC23
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.7
+ name: TCC0/WO/7
+ label: WO/7
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TCC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tcc_gclk_selection: Generic clock generator 0
+ TCC_PWM:
+ user_label: TCC_PWM
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TCC1::driver_config_definition::PWM::HAL:Driver:PWM
+ functionality: PWM
+ api: HAL:Driver:PWM
+ configuration:
+ tcc_arch_alock: false
+ tcc_arch_cc0: 0
+ tcc_arch_cc1: 0
+ tcc_arch_cc2: 0
+ tcc_arch_cc3: 0
+ tcc_arch_cnteo: false
+ tcc_arch_cntsel: An interrupt/event is generated when a new counter cycle starts
+ tcc_arch_cpten0: false
+ tcc_arch_cpten1: false
+ tcc_arch_cpten2: false
+ tcc_arch_cpten3: false
+ tcc_arch_cpten4: false
+ tcc_arch_cpten5: false
+ tcc_arch_cpten6: false
+ tcc_arch_cpten7: false
+ tcc_arch_dbgrun: false
+ tcc_arch_evact0: Event action disabled
+ tcc_arch_evact1: Event action disabled
+ tcc_arch_lupd: false
+ tcc_arch_mcei0: false
+ tcc_arch_mcei1: false
+ tcc_arch_mcei2: false
+ tcc_arch_mcei3: false
+ tcc_arch_mceo0: false
+ tcc_arch_mceo1: false
+ tcc_arch_mceo2: false
+ tcc_arch_mceo3: false
+ tcc_arch_ovfeo: true
+ tcc_arch_prescsync: Reload or reset counter on next GCLK
+ tcc_arch_runstdby: false
+ tcc_arch_sel_ch: 3
+ tcc_arch_tcei0: false
+ tcc_arch_tcei1: false
+ tcc_arch_tceinv0: false
+ tcc_arch_tceinv1: false
+ tcc_arch_trgeo: false
+ tcc_arch_wave_duty_val: 500
+ tcc_arch_wave_per_val: 48
+ tcc_arch_wavegen: Single-slope PWM
+ tcc_per: 10000
+ tcc_prescaler: Divide by 2
+ timer_event_control: true
+ optional_signals:
+ - identifier: TCC_PWM:WO/0
+ pad: PC14
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.0
+ name: TCC1/WO/0
+ label: WO/0
+ - identifier: TCC_PWM:WO/2
+ pad: PB26
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.2
+ name: TCC1/WO/2
+ label: WO/2
+ - identifier: TCC_PWM:WO/3
+ pad: PB27
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.3
+ name: TCC1/WO/3
+ label: WO/3
+ - identifier: TCC_PWM:WO/4
+ pad: PB28
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.4
+ name: TCC1/WO/4
+ label: WO/4
+ - identifier: TCC_PWM:WO/5
+ pad: PB29
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.5
+ name: TCC1/WO/5
+ label: WO/5
+ - identifier: TCC_PWM:WO/6
+ pad: PA22
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.6
+ name: TCC1/WO/6
+ label: WO/6
+ - identifier: TCC_PWM:WO/7
+ pad: PA23
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.7
+ name: TCC1/WO/7
+ label: WO/7
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TCC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tcc_gclk_selection: Generic clock generator 0
+pads:
+ DEBUG_1:
+ name: PC01
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC01
+ mode: Digital output
+ user_label: DEBUG_1
+ configuration: null
+ DEBUG_3:
+ name: PC02
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC02
+ mode: Digital output
+ user_label: DEBUG_3
+ configuration: null
+ DEBUG_2:
+ name: PC03
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC03
+ mode: Digital output
+ user_label: DEBUG_2
+ configuration: null
+ PB08:
+ name: PB08
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB08
+ mode: Analog
+ user_label: PB08
+ configuration: null
+ PB09:
+ name: PB09
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB09
+ mode: Analog
+ user_label: PB09
+ configuration: null
+ HALL_C:
+ name: PA04
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA04
+ mode: Peripheral IO
+ user_label: HALL_C
+ configuration: null
+ HALL_B:
+ name: PA05
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA05
+ mode: Peripheral IO
+ user_label: HALL_B
+ configuration: null
+ HALL_A:
+ name: PA06
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA06
+ mode: Peripheral IO
+ user_label: HALL_A
+ configuration: null
+ M2_0:
+ name: PC04
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC04
+ mode: Peripheral IO
+ user_label: M2_0
+ configuration: null
+ M3_4:
+ name: PB14
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB14
+ mode: Digital output
+ user_label: M3_4
+ configuration: null
+ M3_5:
+ name: PB15
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB15
+ mode: Digital output
+ user_label: M3_5
+ configuration: null
+ M2_1:
+ name: PD08
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD08
+ mode: Peripheral IO
+ user_label: M2_1
+ configuration: null
+ M2_2:
+ name: PD09
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD09
+ mode: Peripheral IO
+ user_label: M2_2
+ configuration: null
+ M2_3:
+ name: PD10
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD10
+ mode: Peripheral IO
+ user_label: M2_3
+ configuration: null
+ DEBUG_5:
+ name: PD11
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD11
+ mode: Digital output
+ user_label: DEBUG_5
+ configuration: null
+ M3_2:
+ name: PC14
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC14
+ mode: Peripheral IO
+ user_label: M3_2
+ configuration: null
+ M2_4:
+ name: PA16
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA16
+ mode: Peripheral IO
+ user_label: M2_4
+ configuration: null
+ M2_5:
+ name: PA17
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA17
+ mode: Peripheral IO
+ user_label: M2_5
+ configuration: null
+ M3_3:
+ name: PA18
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA18
+ mode: Digital output
+ user_label: M3_3
+ configuration: null
+ LED0:
+ name: PC18
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC18
+ mode: Digital output
+ user_label: LED0
+ configuration: null
+ M3_0:
+ name: PC22
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC22
+ mode: Peripheral IO
+ user_label: M3_0
+ configuration: null
+ M3_1:
+ name: PC23
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC23
+ mode: Peripheral IO
+ user_label: M3_1
+ configuration: null
+ PB16:
+ name: PB16
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB16
+ mode: Digital output
+ user_label: PB16
+ configuration: null
+ PB17:
+ name: PB17
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB17
+ mode: Digital output
+ user_label: PB17
+ configuration: null
+ DRV_ENA:
+ name: PA22
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA22
+ mode: Peripheral IO
+ user_label: DRV_ENA
+ configuration: null
+ DRV_INA:
+ name: PA23
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA23
+ mode: Peripheral IO
+ user_label: DRV_INA
+ configuration: null
+ DRV_INC:
+ name: PB26
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB26
+ mode: Peripheral IO
+ user_label: DRV_INC
+ configuration: null
+ DRV_INB:
+ name: PB27
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB27
+ mode: Peripheral IO
+ user_label: DRV_INB
+ configuration: null
+ DRV_ENB:
+ name: PB28
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB28
+ mode: Peripheral IO
+ user_label: DRV_ENB
+ configuration: null
+ DRV_ENC:
+ name: PB29
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB29
+ mode: Peripheral IO
+ user_label: DRV_ENC
+ configuration: null
+ DRV_RESET:
+ name: PA27
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA27
+ mode: Digital output
+ user_label: DRV_RESET
+ configuration: null
+ SW0:
+ name: PB31
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB31
+ mode: Digital input
+ user_label: SW0
+ configuration:
+ pad_pull_config: Pull-up
+ DEBUG_4:
+ name: PC30
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC30
+ mode: Digital output
+ user_label: DEBUG_4
+ configuration: null
+ ECAT_SPI_CS_PIN:
+ name: PB00
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB00
+ mode: Digital output
+ user_label: ECAT_SPI_CS_PIN
+ configuration: null
+ PB01:
+ name: PB01
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB01
+ mode: Digital input
+ user_label: PB01
+ configuration: null
+toolchain_options: []
diff --git a/BLDC_E54v2/BLCD_E54v2.atzip b/BLDC_E54v2/BLCD_E54v2.atzip
new file mode 100644
index 0000000..7729bd7
Binary files /dev/null and b/BLDC_E54v2/BLCD_E54v2.atzip differ
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2.atsln b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2.atsln
new file mode 100644
index 0000000..7c367b7
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2.atsln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Atmel Studio Solution File, Format Version 11.00
+VisualStudioVersion = 14.0.23107.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "BLCD_E54v2", "BLCD_E54v2\BLCD_E54v2.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|ARM = Debug|ARM
+ Release|ARM = Release|ARM
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|ARM.ActiveCfg = Debug|ARM
+ {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|ARM.Build.0 = Debug|ARM
+ {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|ARM.ActiveCfg = Release|ARM
+ {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|ARM.Build.0 = Release|ARM
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.env_conf b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.env_conf
new file mode 100644
index 0000000..2033451
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.env_conf
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.gpdsc b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.gpdsc
new file mode 100644
index 0000000..df09edd
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/AtmelStart.gpdsc
@@ -0,0 +1,231 @@
+
+ Atmel
+ My Project
+ Project generated by Atmel Start
+ http://start.atmel.com/
+
+ Initial version
+
+
+ Configuration Files generated by Atmel Start
+
+
+
+ Atmel Start
+
+ http://start.atmel.com/
+
+
+
+
+
+
+
+
+ Dependency on CMSIS core and Device Startup components
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Atmel Start Framework
+ #define ATMEL_START
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/atmel_start_config.atstart b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/atmel_start_config.atstart
new file mode 100644
index 0000000..77c331b
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/.atmelstart/atmel_start_config.atstart
@@ -0,0 +1,2126 @@
+format_version: '2'
+name: My Project
+versions:
+ api: '1.0'
+ backend: 1.8.543
+ commit: 931b2422bde1a793dea853de68547f48bf245b0f
+ content: unknown
+ content_pack_name: unknown
+ format: '2'
+ frontend: 1.8.543
+ packs_version_avr8: 1.0.1457
+ packs_version_qtouch: unknown
+ packs_version_sam: 1.0.1726
+ version_backend: 1.8.543
+ version_frontend: ''
+board:
+ identifier: SAME54XplainedPro
+ device: SAME54P20A-AU
+details: null
+application: null
+middlewares: {}
+drivers:
+ ADC_0:
+ user_label: ADC_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::ADC0::driver_config_definition::ADC::HAL:Driver:ADC.Sync
+ functionality: ADC
+ api: HAL:Driver:ADC_Sync
+ configuration:
+ adc_advanced_settings: true
+ adc_arch_adjres: 0
+ adc_arch_corren: false
+ adc_arch_dbgrun: false
+ adc_arch_event_settings: true
+ adc_arch_flushei: false
+ adc_arch_flushinv: false
+ adc_arch_gaincorr: 0
+ adc_arch_leftadj: false
+ adc_arch_offcomp: false
+ adc_arch_offsetcorr: 0
+ adc_arch_ondemand: false
+ adc_arch_refcomp: false
+ adc_arch_resrdyeo: true
+ adc_arch_runstdby: false
+ adc_arch_samplen: 3
+ adc_arch_samplenum: 1 sample
+ adc_arch_seqen: 0
+ adc_arch_startei: false
+ adc_arch_startinv: false
+ adc_arch_winlt: 0
+ adc_arch_winmode: No window mode
+ adc_arch_winmoneo: false
+ adc_arch_winut: 0
+ adc_differential_mode: false
+ adc_freerunning_mode: false
+ adc_pinmux_negative: Internal ground
+ adc_pinmux_positive: ADC AIN2 pin
+ adc_prescaler: Peripheral clock divided by 8
+ adc_reference: VDDANA
+ adc_resolution: 12-bit
+ optional_signals:
+ - identifier: ADC_0:AIN/2
+ pad: PB08
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::ADC0.AIN.2
+ name: ADC0/AIN/2
+ label: AIN/2
+ - identifier: ADC_0:AIN/3
+ pad: PB09
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::ADC0.AIN.3
+ name: ADC0/AIN/3
+ label: AIN/3
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: ADC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ adc_gclk_selection: Generic clock generator 0
+ DIGITAL_GLUE_LOGIC_0:
+ user_label: DIGITAL_GLUE_LOGIC_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::CCL::driver_config_definition::CCL::HAL:Driver:CCL
+ functionality: Digital_Glue_Logic
+ api: HAL:Driver:CCL
+ configuration:
+ ccl_arch_advanced_settings: false
+ ccl_arch_edgesel_0: false
+ ccl_arch_edgesel_1: false
+ ccl_arch_edgesel_2: false
+ ccl_arch_edgesel_3: false
+ ccl_arch_filtsel_0: Disabled
+ ccl_arch_filtsel_1: Disabled
+ ccl_arch_filtsel_2: Disabled
+ ccl_arch_filtsel_3: Disabled
+ ccl_arch_insel0_0: IO pin input source
+ ccl_arch_insel0_1: IO pin input source
+ ccl_arch_insel0_2: IO pin input source
+ ccl_arch_insel0_3: IO pin input source
+ ccl_arch_insel1_0: IO pin input source
+ ccl_arch_insel1_1: IO pin input source
+ ccl_arch_insel1_2: IO pin input source
+ ccl_arch_insel1_3: IO pin input source
+ ccl_arch_insel2_0: IO pin input source
+ ccl_arch_insel2_1: IO pin input source
+ ccl_arch_insel2_2: IO pin input source
+ ccl_arch_insel2_3: IO pin input source
+ ccl_arch_invei_0: false
+ ccl_arch_invei_1: false
+ ccl_arch_invei_2: false
+ ccl_arch_invei_3: false
+ ccl_arch_lutctrl0: true
+ ccl_arch_lutctrl1: false
+ ccl_arch_lutctrl2: false
+ ccl_arch_lutctrl3: false
+ ccl_arch_lutei_0: false
+ ccl_arch_lutei_1: false
+ ccl_arch_lutei_2: false
+ ccl_arch_lutei_3: false
+ ccl_arch_luteo_0: true
+ ccl_arch_luteo_1: false
+ ccl_arch_luteo_2: false
+ ccl_arch_luteo_3: false
+ ccl_arch_runstdby: false
+ ccl_arch_seqsel_0: Sequential logic is disabled
+ ccl_arch_seqsel_1: Sequential logic is disabled
+ ccl_arch_truth_0: 150
+ ccl_arch_truth_1: 0
+ ccl_arch_truth_2: 0
+ ccl_arch_truth_3: 0
+ ccl_e_persistance_0: ''
+ ccl_e_persistance_1: ''
+ ccl_e_persistance_2: ''
+ ccl_e_persistance_3: ''
+ ccl_l_persistance_0: ''
+ ccl_l_persistance_1: ''
+ ccl_l_persistance_2: ''
+ ccl_l_persistance_3: ''
+ optional_signals:
+ - identifier: DIGITAL_GLUE_LOGIC_0:IN/0
+ pad: PA04
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.0
+ name: CCL/IN/0
+ label: IN/0
+ - identifier: DIGITAL_GLUE_LOGIC_0:IN/1
+ pad: PA05
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.1
+ name: CCL/IN/1
+ label: IN/1
+ - identifier: DIGITAL_GLUE_LOGIC_0:IN/2
+ pad: PA06
+ mode: Enabled
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::CCL.IN.2
+ name: CCL/IN/2
+ label: IN/2
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: CCL
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ ccl_gclk_selection: Generic clock generator 0
+ CMCC:
+ user_label: CMCC
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::CMCC::driver_config_definition::CMCC::HAL:HPL:CMCC
+ functionality: System
+ api: HAL:HPL:CMCC
+ configuration:
+ cache_size: 4 KB
+ cmcc_advanced_configuration: false
+ cmcc_clock_gating_disable: false
+ cmcc_data_cache_disable: false
+ cmcc_enable: false
+ cmcc_inst_cache_disable: false
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ DMAC:
+ user_label: DMAC
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::DMAC::driver_config_definition::DMAC::HAL:HPL:DMAC
+ functionality: System
+ api: HAL:HPL:DMAC
+ configuration:
+ dmac_beatsize_0: 8-bit bus transfer
+ dmac_beatsize_1: 8-bit bus transfer
+ dmac_beatsize_10: 8-bit bus transfer
+ dmac_beatsize_11: 8-bit bus transfer
+ dmac_beatsize_12: 8-bit bus transfer
+ dmac_beatsize_13: 8-bit bus transfer
+ dmac_beatsize_14: 8-bit bus transfer
+ dmac_beatsize_15: 8-bit bus transfer
+ dmac_beatsize_16: 8-bit bus transfer
+ dmac_beatsize_17: 8-bit bus transfer
+ dmac_beatsize_18: 8-bit bus transfer
+ dmac_beatsize_19: 8-bit bus transfer
+ dmac_beatsize_2: 32-bit bus transfer
+ dmac_beatsize_20: 8-bit bus transfer
+ dmac_beatsize_21: 8-bit bus transfer
+ dmac_beatsize_22: 8-bit bus transfer
+ dmac_beatsize_23: 8-bit bus transfer
+ dmac_beatsize_24: 8-bit bus transfer
+ dmac_beatsize_25: 8-bit bus transfer
+ dmac_beatsize_26: 8-bit bus transfer
+ dmac_beatsize_27: 8-bit bus transfer
+ dmac_beatsize_28: 8-bit bus transfer
+ dmac_beatsize_29: 8-bit bus transfer
+ dmac_beatsize_3: 16-bit bus transfer
+ dmac_beatsize_30: 8-bit bus transfer
+ dmac_beatsize_31: 8-bit bus transfer
+ dmac_beatsize_4: 8-bit bus transfer
+ dmac_beatsize_5: 8-bit bus transfer
+ dmac_beatsize_6: 8-bit bus transfer
+ dmac_beatsize_7: 8-bit bus transfer
+ dmac_beatsize_8: 8-bit bus transfer
+ dmac_beatsize_9: 8-bit bus transfer
+ dmac_blockact_0: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_1: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_10: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_11: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_12: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_13: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_14: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_15: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_16: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_17: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_18: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_19: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_2: Channel suspend operation is complete
+ dmac_blockact_20: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_21: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_22: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_23: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_24: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_25: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_26: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_27: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_28: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_29: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_3: Channel will be disabled if it is the last block transfer in
+ the transaction and block interrupt
+ dmac_blockact_30: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_31: Channel will be disabled if it is the last block transfer
+ in the transaction
+ dmac_blockact_4: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_5: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_6: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_7: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_8: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_blockact_9: Channel will be disabled if it is the last block transfer in
+ the transaction
+ dmac_channel_0_settings: true
+ dmac_channel_10_settings: false
+ dmac_channel_11_settings: false
+ dmac_channel_12_settings: false
+ dmac_channel_13_settings: false
+ dmac_channel_14_settings: false
+ dmac_channel_15_settings: false
+ dmac_channel_16_settings: false
+ dmac_channel_17_settings: false
+ dmac_channel_18_settings: false
+ dmac_channel_19_settings: false
+ dmac_channel_1_settings: true
+ dmac_channel_20_settings: false
+ dmac_channel_21_settings: false
+ dmac_channel_22_settings: false
+ dmac_channel_23_settings: false
+ dmac_channel_24_settings: false
+ dmac_channel_25_settings: false
+ dmac_channel_26_settings: false
+ dmac_channel_27_settings: false
+ dmac_channel_28_settings: false
+ dmac_channel_29_settings: false
+ dmac_channel_2_settings: true
+ dmac_channel_30_settings: false
+ dmac_channel_31_settings: false
+ dmac_channel_3_settings: true
+ dmac_channel_4_settings: false
+ dmac_channel_5_settings: false
+ dmac_channel_6_settings: false
+ dmac_channel_7_settings: false
+ dmac_channel_8_settings: false
+ dmac_channel_9_settings: false
+ dmac_dbgrun: false
+ dmac_dstinc_0: true
+ dmac_dstinc_1: false
+ dmac_dstinc_10: false
+ dmac_dstinc_11: false
+ dmac_dstinc_12: false
+ dmac_dstinc_13: false
+ dmac_dstinc_14: false
+ dmac_dstinc_15: false
+ dmac_dstinc_16: false
+ dmac_dstinc_17: false
+ dmac_dstinc_18: false
+ dmac_dstinc_19: false
+ dmac_dstinc_2: false
+ dmac_dstinc_20: false
+ dmac_dstinc_21: false
+ dmac_dstinc_22: false
+ dmac_dstinc_23: false
+ dmac_dstinc_24: false
+ dmac_dstinc_25: false
+ dmac_dstinc_26: false
+ dmac_dstinc_27: false
+ dmac_dstinc_28: false
+ dmac_dstinc_29: false
+ dmac_dstinc_3: true
+ dmac_dstinc_30: false
+ dmac_dstinc_31: false
+ dmac_dstinc_4: false
+ dmac_dstinc_5: false
+ dmac_dstinc_6: false
+ dmac_dstinc_7: false
+ dmac_dstinc_8: false
+ dmac_dstinc_9: false
+ dmac_enable: true
+ dmac_evact_0: No action
+ dmac_evact_1: No action
+ dmac_evact_10: No action
+ dmac_evact_11: No action
+ dmac_evact_12: No action
+ dmac_evact_13: No action
+ dmac_evact_14: No action
+ dmac_evact_15: No action
+ dmac_evact_16: No action
+ dmac_evact_17: No action
+ dmac_evact_18: No action
+ dmac_evact_19: No action
+ dmac_evact_2: Channel resume operation
+ dmac_evact_20: No action
+ dmac_evact_21: No action
+ dmac_evact_22: No action
+ dmac_evact_23: No action
+ dmac_evact_24: No action
+ dmac_evact_25: No action
+ dmac_evact_26: No action
+ dmac_evact_27: No action
+ dmac_evact_28: No action
+ dmac_evact_29: No action
+ dmac_evact_3: No action
+ dmac_evact_30: No action
+ dmac_evact_31: No action
+ dmac_evact_4: No action
+ dmac_evact_5: No action
+ dmac_evact_6: No action
+ dmac_evact_7: No action
+ dmac_evact_8: No action
+ dmac_evact_9: No action
+ dmac_evie_0: false
+ dmac_evie_1: false
+ dmac_evie_10: false
+ dmac_evie_11: false
+ dmac_evie_12: false
+ dmac_evie_13: false
+ dmac_evie_14: false
+ dmac_evie_15: false
+ dmac_evie_16: false
+ dmac_evie_17: false
+ dmac_evie_18: false
+ dmac_evie_19: false
+ dmac_evie_2: true
+ dmac_evie_20: false
+ dmac_evie_21: false
+ dmac_evie_22: false
+ dmac_evie_23: false
+ dmac_evie_24: false
+ dmac_evie_25: false
+ dmac_evie_26: false
+ dmac_evie_27: false
+ dmac_evie_28: false
+ dmac_evie_29: false
+ dmac_evie_3: false
+ dmac_evie_30: false
+ dmac_evie_31: false
+ dmac_evie_4: false
+ dmac_evie_5: false
+ dmac_evie_6: false
+ dmac_evie_7: false
+ dmac_evie_8: false
+ dmac_evie_9: false
+ dmac_evoe_0: true
+ dmac_evoe_1: true
+ dmac_evoe_10: false
+ dmac_evoe_11: false
+ dmac_evoe_12: false
+ dmac_evoe_13: false
+ dmac_evoe_14: false
+ dmac_evoe_15: false
+ dmac_evoe_16: false
+ dmac_evoe_17: false
+ dmac_evoe_18: false
+ dmac_evoe_19: false
+ dmac_evoe_2: false
+ dmac_evoe_20: false
+ dmac_evoe_21: false
+ dmac_evoe_22: false
+ dmac_evoe_23: false
+ dmac_evoe_24: false
+ dmac_evoe_25: false
+ dmac_evoe_26: false
+ dmac_evoe_27: false
+ dmac_evoe_28: false
+ dmac_evoe_29: false
+ dmac_evoe_3: false
+ dmac_evoe_30: false
+ dmac_evoe_31: false
+ dmac_evoe_4: false
+ dmac_evoe_5: false
+ dmac_evoe_6: false
+ dmac_evoe_7: false
+ dmac_evoe_8: false
+ dmac_evoe_9: false
+ dmac_evosel_0: Event strobe when block transfer complete
+ dmac_evosel_1: Event strobe when block transfer complete
+ dmac_evosel_10: Event generation disabled
+ dmac_evosel_11: Event generation disabled
+ dmac_evosel_12: Event generation disabled
+ dmac_evosel_13: Event generation disabled
+ dmac_evosel_14: Event generation disabled
+ dmac_evosel_15: Event generation disabled
+ dmac_evosel_16: Event generation disabled
+ dmac_evosel_17: Event generation disabled
+ dmac_evosel_18: Event generation disabled
+ dmac_evosel_19: Event generation disabled
+ dmac_evosel_2: Event generation disabled
+ dmac_evosel_20: Event generation disabled
+ dmac_evosel_21: Event generation disabled
+ dmac_evosel_22: Event generation disabled
+ dmac_evosel_23: Event generation disabled
+ dmac_evosel_24: Event generation disabled
+ dmac_evosel_25: Event generation disabled
+ dmac_evosel_26: Event generation disabled
+ dmac_evosel_27: Event generation disabled
+ dmac_evosel_28: Event generation disabled
+ dmac_evosel_29: Event generation disabled
+ dmac_evosel_3: Event generation disabled
+ dmac_evosel_30: Event generation disabled
+ dmac_evosel_31: Event generation disabled
+ dmac_evosel_4: Event generation disabled
+ dmac_evosel_5: Event generation disabled
+ dmac_evosel_6: Event generation disabled
+ dmac_evosel_7: Event generation disabled
+ dmac_evosel_8: Event generation disabled
+ dmac_evosel_9: Event generation disabled
+ dmac_lvl_0: Channel priority 1
+ dmac_lvl_1: Channel priority 1
+ dmac_lvl_10: Channel priority 0
+ dmac_lvl_11: Channel priority 0
+ dmac_lvl_12: Channel priority 0
+ dmac_lvl_13: Channel priority 0
+ dmac_lvl_14: Channel priority 0
+ dmac_lvl_15: Channel priority 0
+ dmac_lvl_16: Channel priority 0
+ dmac_lvl_17: Channel priority 0
+ dmac_lvl_18: Channel priority 0
+ dmac_lvl_19: Channel priority 0
+ dmac_lvl_2: Channel priority 0
+ dmac_lvl_20: Channel priority 0
+ dmac_lvl_21: Channel priority 0
+ dmac_lvl_22: Channel priority 0
+ dmac_lvl_23: Channel priority 0
+ dmac_lvl_24: Channel priority 0
+ dmac_lvl_25: Channel priority 0
+ dmac_lvl_26: Channel priority 0
+ dmac_lvl_27: Channel priority 0
+ dmac_lvl_28: Channel priority 0
+ dmac_lvl_29: Channel priority 0
+ dmac_lvl_3: Channel priority 0
+ dmac_lvl_30: Channel priority 0
+ dmac_lvl_31: Channel priority 0
+ dmac_lvl_4: Channel priority 0
+ dmac_lvl_5: Channel priority 0
+ dmac_lvl_6: Channel priority 0
+ dmac_lvl_7: Channel priority 0
+ dmac_lvl_8: Channel priority 0
+ dmac_lvl_9: Channel priority 0
+ dmac_lvlen0: true
+ dmac_lvlen1: true
+ dmac_lvlen2: true
+ dmac_lvlen3: true
+ dmac_lvlpri0: 0
+ dmac_lvlpri1: 0
+ dmac_lvlpri2: 0
+ dmac_lvlpri3: 0
+ dmac_rrlvlen0: Round-robin arbitration scheme for channel with priority 0
+ dmac_rrlvlen1: Round-robin arbitration scheme for channel with priority 1
+ dmac_rrlvlen2: Round-robin arbitration scheme for channel with priority 2
+ dmac_rrlvlen3: Round-robin arbitration scheme for channel with priority 3
+ dmac_runstdby_0: false
+ dmac_runstdby_1: false
+ dmac_runstdby_10: false
+ dmac_runstdby_11: false
+ dmac_runstdby_12: false
+ dmac_runstdby_13: false
+ dmac_runstdby_14: false
+ dmac_runstdby_15: false
+ dmac_runstdby_16: false
+ dmac_runstdby_17: false
+ dmac_runstdby_18: false
+ dmac_runstdby_19: false
+ dmac_runstdby_2: true
+ dmac_runstdby_20: false
+ dmac_runstdby_21: false
+ dmac_runstdby_22: false
+ dmac_runstdby_23: false
+ dmac_runstdby_24: false
+ dmac_runstdby_25: false
+ dmac_runstdby_26: false
+ dmac_runstdby_27: false
+ dmac_runstdby_28: false
+ dmac_runstdby_29: false
+ dmac_runstdby_3: true
+ dmac_runstdby_30: false
+ dmac_runstdby_31: false
+ dmac_runstdby_4: false
+ dmac_runstdby_5: false
+ dmac_runstdby_6: false
+ dmac_runstdby_7: false
+ dmac_runstdby_8: false
+ dmac_runstdby_9: false
+ dmac_srcinc_0: false
+ dmac_srcinc_1: true
+ dmac_srcinc_10: false
+ dmac_srcinc_11: false
+ dmac_srcinc_12: false
+ dmac_srcinc_13: false
+ dmac_srcinc_14: false
+ dmac_srcinc_15: false
+ dmac_srcinc_16: false
+ dmac_srcinc_17: false
+ dmac_srcinc_18: false
+ dmac_srcinc_19: false
+ dmac_srcinc_2: true
+ dmac_srcinc_20: false
+ dmac_srcinc_21: false
+ dmac_srcinc_22: false
+ dmac_srcinc_23: false
+ dmac_srcinc_24: false
+ dmac_srcinc_25: false
+ dmac_srcinc_26: false
+ dmac_srcinc_27: false
+ dmac_srcinc_28: false
+ dmac_srcinc_29: false
+ dmac_srcinc_3: false
+ dmac_srcinc_30: false
+ dmac_srcinc_31: false
+ dmac_srcinc_4: false
+ dmac_srcinc_5: false
+ dmac_srcinc_6: false
+ dmac_srcinc_7: false
+ dmac_srcinc_8: false
+ dmac_srcinc_9: false
+ dmac_stepsel_0: Step size settings apply to the source address
+ dmac_stepsel_1: Step size settings apply to the destination address
+ dmac_stepsel_10: Step size settings apply to the destination address
+ dmac_stepsel_11: Step size settings apply to the destination address
+ dmac_stepsel_12: Step size settings apply to the destination address
+ dmac_stepsel_13: Step size settings apply to the destination address
+ dmac_stepsel_14: Step size settings apply to the destination address
+ dmac_stepsel_15: Step size settings apply to the destination address
+ dmac_stepsel_16: Step size settings apply to the destination address
+ dmac_stepsel_17: Step size settings apply to the destination address
+ dmac_stepsel_18: Step size settings apply to the destination address
+ dmac_stepsel_19: Step size settings apply to the destination address
+ dmac_stepsel_2: Step size settings apply to the source address
+ dmac_stepsel_20: Step size settings apply to the destination address
+ dmac_stepsel_21: Step size settings apply to the destination address
+ dmac_stepsel_22: Step size settings apply to the destination address
+ dmac_stepsel_23: Step size settings apply to the destination address
+ dmac_stepsel_24: Step size settings apply to the destination address
+ dmac_stepsel_25: Step size settings apply to the destination address
+ dmac_stepsel_26: Step size settings apply to the destination address
+ dmac_stepsel_27: Step size settings apply to the destination address
+ dmac_stepsel_28: Step size settings apply to the destination address
+ dmac_stepsel_29: Step size settings apply to the destination address
+ dmac_stepsel_3: Step size settings apply to the destination address
+ dmac_stepsel_30: Step size settings apply to the destination address
+ dmac_stepsel_31: Step size settings apply to the destination address
+ dmac_stepsel_4: Step size settings apply to the destination address
+ dmac_stepsel_5: Step size settings apply to the destination address
+ dmac_stepsel_6: Step size settings apply to the destination address
+ dmac_stepsel_7: Step size settings apply to the destination address
+ dmac_stepsel_8: Step size settings apply to the destination address
+ dmac_stepsel_9: Step size settings apply to the destination address
+ dmac_stepsize_0: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_1: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_10: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_11: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_12: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_13: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_14: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_15: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_16: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_17: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_18: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_19: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_2: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_20: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_21: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_22: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_23: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_24: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_25: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_26: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_27: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_28: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_29: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_3: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_30: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_31: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_4: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_5: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_6: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_7: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_8: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_stepsize_9: Next ADDR = ADDR + (BEATSIZE + 1) * 1
+ dmac_trifsrc_0: SERCOM5 RX Trigger
+ dmac_trifsrc_1: SERCOM5 TX Trigger
+ dmac_trifsrc_10: Only software/event triggers
+ dmac_trifsrc_11: Only software/event triggers
+ dmac_trifsrc_12: Only software/event triggers
+ dmac_trifsrc_13: Only software/event triggers
+ dmac_trifsrc_14: Only software/event triggers
+ dmac_trifsrc_15: Only software/event triggers
+ dmac_trifsrc_16: Only software/event triggers
+ dmac_trifsrc_17: Only software/event triggers
+ dmac_trifsrc_18: Only software/event triggers
+ dmac_trifsrc_19: Only software/event triggers
+ dmac_trifsrc_2: ADC0 Sequencing Trigger
+ dmac_trifsrc_20: Only software/event triggers
+ dmac_trifsrc_21: Only software/event triggers
+ dmac_trifsrc_22: Only software/event triggers
+ dmac_trifsrc_23: Only software/event triggers
+ dmac_trifsrc_24: Only software/event triggers
+ dmac_trifsrc_25: Only software/event triggers
+ dmac_trifsrc_26: Only software/event triggers
+ dmac_trifsrc_27: Only software/event triggers
+ dmac_trifsrc_28: Only software/event triggers
+ dmac_trifsrc_29: Only software/event triggers
+ dmac_trifsrc_3: ADC0 Result Ready Trigger
+ dmac_trifsrc_30: Only software/event triggers
+ dmac_trifsrc_31: Only software/event triggers
+ dmac_trifsrc_4: Only software/event triggers
+ dmac_trifsrc_5: Only software/event triggers
+ dmac_trifsrc_6: Only software/event triggers
+ dmac_trifsrc_7: Only software/event triggers
+ dmac_trifsrc_8: Only software/event triggers
+ dmac_trifsrc_9: Only software/event triggers
+ dmac_trigact_0: One trigger required for each beat transfer
+ dmac_trigact_1: One trigger required for each beat transfer
+ dmac_trigact_10: One trigger required for each block transfer
+ dmac_trigact_11: One trigger required for each block transfer
+ dmac_trigact_12: One trigger required for each block transfer
+ dmac_trigact_13: One trigger required for each block transfer
+ dmac_trigact_14: One trigger required for each block transfer
+ dmac_trigact_15: One trigger required for each block transfer
+ dmac_trigact_16: One trigger required for each block transfer
+ dmac_trigact_17: One trigger required for each block transfer
+ dmac_trigact_18: One trigger required for each block transfer
+ dmac_trigact_19: One trigger required for each block transfer
+ dmac_trigact_2: One trigger required for each beat transfer
+ dmac_trigact_20: One trigger required for each block transfer
+ dmac_trigact_21: One trigger required for each block transfer
+ dmac_trigact_22: One trigger required for each block transfer
+ dmac_trigact_23: One trigger required for each block transfer
+ dmac_trigact_24: One trigger required for each block transfer
+ dmac_trigact_25: One trigger required for each block transfer
+ dmac_trigact_26: One trigger required for each block transfer
+ dmac_trigact_27: One trigger required for each block transfer
+ dmac_trigact_28: One trigger required for each block transfer
+ dmac_trigact_29: One trigger required for each block transfer
+ dmac_trigact_3: One trigger required for each beat transfer
+ dmac_trigact_30: One trigger required for each block transfer
+ dmac_trigact_31: One trigger required for each block transfer
+ dmac_trigact_4: One trigger required for each block transfer
+ dmac_trigact_5: One trigger required for each block transfer
+ dmac_trigact_6: One trigger required for each block transfer
+ dmac_trigact_7: One trigger required for each block transfer
+ dmac_trigact_8: One trigger required for each block transfer
+ dmac_trigact_9: One trigger required for each block transfer
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ EVENT_SYSTEM_0:
+ user_label: EVENT_SYSTEM_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::EVSYS::driver_config_definition::Event.System::HAL:Driver:Event.system
+ functionality: Event_System
+ api: HAL:Driver:Event_system
+ configuration:
+ evsys_channel_0: No channel output selected
+ evsys_channel_1: Channel 0
+ evsys_channel_10: No channel output selected
+ evsys_channel_11: No channel output selected
+ evsys_channel_12: No channel output selected
+ evsys_channel_17: No channel output selected
+ evsys_channel_18: No channel output selected
+ evsys_channel_19: No channel output selected
+ evsys_channel_2: Channel 2
+ evsys_channel_20: No channel output selected
+ evsys_channel_21: No channel output selected
+ evsys_channel_22: No channel output selected
+ evsys_channel_23: No channel output selected
+ evsys_channel_24: No channel output selected
+ evsys_channel_25: No channel output selected
+ evsys_channel_26: No channel output selected
+ evsys_channel_27: No channel output selected
+ evsys_channel_28: No channel output selected
+ evsys_channel_29: No channel output selected
+ evsys_channel_3: No channel output selected
+ evsys_channel_30: No channel output selected
+ evsys_channel_31: No channel output selected
+ evsys_channel_32: No channel output selected
+ evsys_channel_33: No channel output selected
+ evsys_channel_34: No channel output selected
+ evsys_channel_35: No channel output selected
+ evsys_channel_36: No channel output selected
+ evsys_channel_37: No channel output selected
+ evsys_channel_38: No channel output selected
+ evsys_channel_39: No channel output selected
+ evsys_channel_4: No channel output selected
+ evsys_channel_40: No channel output selected
+ evsys_channel_41: No channel output selected
+ evsys_channel_42: No channel output selected
+ evsys_channel_43: No channel output selected
+ evsys_channel_44: Channel 1
+ evsys_channel_45: No channel output selected
+ evsys_channel_46: No channel output selected
+ evsys_channel_47: No channel output selected
+ evsys_channel_48: No channel output selected
+ evsys_channel_49: No channel output selected
+ evsys_channel_5: No channel output selected
+ evsys_channel_50: No channel output selected
+ evsys_channel_51: No channel output selected
+ evsys_channel_52: No channel output selected
+ evsys_channel_53: No channel output selected
+ evsys_channel_54: No channel output selected
+ evsys_channel_55: No channel output selected
+ evsys_channel_56: No channel output selected
+ evsys_channel_57: No channel output selected
+ evsys_channel_58: No channel output selected
+ evsys_channel_59: No channel output selected
+ evsys_channel_6: No channel output selected
+ evsys_channel_60: No channel output selected
+ evsys_channel_61: No channel output selected
+ evsys_channel_62: No channel output selected
+ evsys_channel_63: No channel output selected
+ evsys_channel_64: No channel output selected
+ evsys_channel_65: No channel output selected
+ evsys_channel_66: No channel output selected
+ evsys_channel_7: Channel 0
+ evsys_channel_8: No channel output selected
+ evsys_channel_9: No channel output selected
+ evsys_channel_setting_0: true
+ evsys_channel_setting_1: true
+ evsys_channel_setting_10: false
+ evsys_channel_setting_11: false
+ evsys_channel_setting_12: false
+ evsys_channel_setting_13: false
+ evsys_channel_setting_14: false
+ evsys_channel_setting_15: false
+ evsys_channel_setting_16: false
+ evsys_channel_setting_17: false
+ evsys_channel_setting_18: false
+ evsys_channel_setting_19: false
+ evsys_channel_setting_2: true
+ evsys_channel_setting_20: false
+ evsys_channel_setting_21: false
+ evsys_channel_setting_22: false
+ evsys_channel_setting_23: false
+ evsys_channel_setting_24: false
+ evsys_channel_setting_25: false
+ evsys_channel_setting_26: false
+ evsys_channel_setting_27: false
+ evsys_channel_setting_28: false
+ evsys_channel_setting_29: false
+ evsys_channel_setting_3: false
+ evsys_channel_setting_30: false
+ evsys_channel_setting_31: false
+ evsys_channel_setting_4: false
+ evsys_channel_setting_5: false
+ evsys_channel_setting_6: false
+ evsys_channel_setting_7: false
+ evsys_channel_setting_8: false
+ evsys_channel_setting_9: false
+ evsys_edgsel_0: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_1: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_10: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_11: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_12: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_13: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_14: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_15: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_16: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_17: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_18: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_19: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_2: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_20: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_21: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_22: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_23: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_24: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_25: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_26: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_27: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_28: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_29: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_3: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_30: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_31: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_4: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_5: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_6: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_7: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_8: No event output when using the resynchronized or synchronous
+ path
+ evsys_edgsel_9: No event output when using the resynchronized or synchronous
+ path
+ evsys_evd_0: false
+ evsys_evd_1: false
+ evsys_evd_10: false
+ evsys_evd_11: false
+ evsys_evd_12: false
+ evsys_evd_13: false
+ evsys_evd_14: false
+ evsys_evd_15: false
+ evsys_evd_16: false
+ evsys_evd_17: false
+ evsys_evd_18: false
+ evsys_evd_19: false
+ evsys_evd_2: false
+ evsys_evd_20: false
+ evsys_evd_21: false
+ evsys_evd_22: false
+ evsys_evd_23: false
+ evsys_evd_24: false
+ evsys_evd_25: false
+ evsys_evd_26: false
+ evsys_evd_27: false
+ evsys_evd_28: false
+ evsys_evd_29: false
+ evsys_evd_3: false
+ evsys_evd_30: false
+ evsys_evd_31: false
+ evsys_evd_4: false
+ evsys_evd_5: false
+ evsys_evd_6: false
+ evsys_evd_7: false
+ evsys_evd_8: false
+ evsys_evd_9: false
+ evsys_evgen_0: TCC1 overflow
+ evsys_evgen_1: CCL LUT output 0
+ evsys_evgen_10: No event generator
+ evsys_evgen_11: No event generator
+ evsys_evgen_12: No event generator
+ evsys_evgen_13: No event generator
+ evsys_evgen_14: No event generator
+ evsys_evgen_15: No event generator
+ evsys_evgen_16: No event generator
+ evsys_evgen_17: No event generator
+ evsys_evgen_18: No event generator
+ evsys_evgen_19: No event generator
+ evsys_evgen_2: TC7 match/capture 0
+ evsys_evgen_20: No event generator
+ evsys_evgen_21: No event generator
+ evsys_evgen_22: No event generator
+ evsys_evgen_23: No event generator
+ evsys_evgen_24: No event generator
+ evsys_evgen_25: No event generator
+ evsys_evgen_26: No event generator
+ evsys_evgen_27: No event generator
+ evsys_evgen_28: No event generator
+ evsys_evgen_29: No event generator
+ evsys_evgen_3: No event generator
+ evsys_evgen_30: No event generator
+ evsys_evgen_31: No event generator
+ evsys_evgen_4: No event generator
+ evsys_evgen_5: No event generator
+ evsys_evgen_6: No event generator
+ evsys_evgen_7: No event generator
+ evsys_evgen_8: No event generator
+ evsys_evgen_9: No event generator
+ evsys_ondemand_0: false
+ evsys_ondemand_1: false
+ evsys_ondemand_10: false
+ evsys_ondemand_11: false
+ evsys_ondemand_12: false
+ evsys_ondemand_13: false
+ evsys_ondemand_14: false
+ evsys_ondemand_15: false
+ evsys_ondemand_16: false
+ evsys_ondemand_17: false
+ evsys_ondemand_18: false
+ evsys_ondemand_19: false
+ evsys_ondemand_2: false
+ evsys_ondemand_20: false
+ evsys_ondemand_21: false
+ evsys_ondemand_22: false
+ evsys_ondemand_23: false
+ evsys_ondemand_24: false
+ evsys_ondemand_25: false
+ evsys_ondemand_26: false
+ evsys_ondemand_27: false
+ evsys_ondemand_28: false
+ evsys_ondemand_29: false
+ evsys_ondemand_3: false
+ evsys_ondemand_30: false
+ evsys_ondemand_31: false
+ evsys_ondemand_4: false
+ evsys_ondemand_5: false
+ evsys_ondemand_6: false
+ evsys_ondemand_7: false
+ evsys_ondemand_8: false
+ evsys_ondemand_9: false
+ evsys_ovr_0: false
+ evsys_ovr_1: false
+ evsys_ovr_10: false
+ evsys_ovr_11: false
+ evsys_ovr_12: false
+ evsys_ovr_13: false
+ evsys_ovr_14: false
+ evsys_ovr_15: false
+ evsys_ovr_16: false
+ evsys_ovr_17: false
+ evsys_ovr_18: false
+ evsys_ovr_19: false
+ evsys_ovr_2: false
+ evsys_ovr_20: false
+ evsys_ovr_21: false
+ evsys_ovr_22: false
+ evsys_ovr_23: false
+ evsys_ovr_24: false
+ evsys_ovr_25: false
+ evsys_ovr_26: false
+ evsys_ovr_27: false
+ evsys_ovr_28: false
+ evsys_ovr_29: false
+ evsys_ovr_3: false
+ evsys_ovr_30: false
+ evsys_ovr_31: false
+ evsys_ovr_4: false
+ evsys_ovr_5: false
+ evsys_ovr_6: false
+ evsys_ovr_7: false
+ evsys_ovr_8: false
+ evsys_ovr_9: false
+ evsys_path_0: Asynchronous path
+ evsys_path_1: Asynchronous path
+ evsys_path_10: Synchronous path
+ evsys_path_11: Synchronous path
+ evsys_path_12: Synchronous path
+ evsys_path_13: Synchronous path
+ evsys_path_14: Synchronous path
+ evsys_path_15: Synchronous path
+ evsys_path_16: Synchronous path
+ evsys_path_17: Synchronous path
+ evsys_path_18: Synchronous path
+ evsys_path_19: Synchronous path
+ evsys_path_2: Asynchronous path
+ evsys_path_20: Synchronous path
+ evsys_path_21: Synchronous path
+ evsys_path_22: Synchronous path
+ evsys_path_23: Synchronous path
+ evsys_path_24: Synchronous path
+ evsys_path_25: Synchronous path
+ evsys_path_26: Synchronous path
+ evsys_path_27: Synchronous path
+ evsys_path_28: Synchronous path
+ evsys_path_29: Synchronous path
+ evsys_path_3: Synchronous path
+ evsys_path_30: Synchronous path
+ evsys_path_31: Synchronous path
+ evsys_path_4: Synchronous path
+ evsys_path_5: Synchronous path
+ evsys_path_6: Synchronous path
+ evsys_path_7: Synchronous path
+ evsys_path_8: Synchronous path
+ evsys_path_9: Synchronous path
+ evsys_runstdby_0: false
+ evsys_runstdby_1: false
+ evsys_runstdby_10: false
+ evsys_runstdby_11: false
+ evsys_runstdby_12: false
+ evsys_runstdby_13: false
+ evsys_runstdby_14: false
+ evsys_runstdby_15: false
+ evsys_runstdby_16: false
+ evsys_runstdby_17: false
+ evsys_runstdby_18: false
+ evsys_runstdby_19: false
+ evsys_runstdby_2: false
+ evsys_runstdby_20: false
+ evsys_runstdby_21: false
+ evsys_runstdby_22: false
+ evsys_runstdby_23: false
+ evsys_runstdby_24: false
+ evsys_runstdby_25: false
+ evsys_runstdby_26: false
+ evsys_runstdby_27: false
+ evsys_runstdby_28: false
+ evsys_runstdby_29: false
+ evsys_runstdby_3: false
+ evsys_runstdby_30: false
+ evsys_runstdby_31: false
+ evsys_runstdby_4: false
+ evsys_runstdby_5: false
+ evsys_runstdby_6: false
+ evsys_runstdby_7: false
+ evsys_runstdby_8: false
+ evsys_runstdby_9: false
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: Channel 0
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 1
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 2
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 3
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 4
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 5
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 6
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 7
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 8
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 9
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 10
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Channel 11
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ evsys_clk_selection_0: Generic clock generator 0
+ evsys_clk_selection_1: Generic clock generator 0
+ evsys_clk_selection_10: Generic clock generator 0
+ evsys_clk_selection_11: Generic clock generator 0
+ evsys_clk_selection_2: Generic clock generator 0
+ evsys_clk_selection_3: Generic clock generator 0
+ evsys_clk_selection_4: Generic clock generator 0
+ evsys_clk_selection_5: Generic clock generator 0
+ evsys_clk_selection_6: Generic clock generator 0
+ evsys_clk_selection_7: Generic clock generator 0
+ evsys_clk_selection_8: Generic clock generator 0
+ evsys_clk_selection_9: Generic clock generator 0
+ GCLK:
+ user_label: GCLK
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::GCLK::driver_config_definition::GCLK::HAL:HPL:GCLK
+ functionality: System
+ api: HAL:HPL:GCLK
+ configuration:
+ $input: 12000000
+ $input_id: External Crystal Oscillator 8-48MHz (XOSC1)
+ RESERVED_InputFreq: 12000000
+ RESERVED_InputFreq_id: External Crystal Oscillator 8-48MHz (XOSC1)
+ _$freq_output_Generic clock generator 0: 120000000
+ _$freq_output_Generic clock generator 1: 2000000
+ _$freq_output_Generic clock generator 10: 12000000
+ _$freq_output_Generic clock generator 11: 12000000
+ _$freq_output_Generic clock generator 2: 32768
+ _$freq_output_Generic clock generator 3: 32768
+ _$freq_output_Generic clock generator 4: 12000000
+ _$freq_output_Generic clock generator 5: 12000000
+ _$freq_output_Generic clock generator 6: 12000000
+ _$freq_output_Generic clock generator 7: 12000000
+ _$freq_output_Generic clock generator 8: 12000000
+ _$freq_output_Generic clock generator 9: 12000000
+ enable_gclk_gen_0: true
+ enable_gclk_gen_0__externalclock: 1000000
+ enable_gclk_gen_1: true
+ enable_gclk_gen_10: false
+ enable_gclk_gen_10__externalclock: 1000000
+ enable_gclk_gen_11: false
+ enable_gclk_gen_11__externalclock: 1000000
+ enable_gclk_gen_1__externalclock: 1000000
+ enable_gclk_gen_2: true
+ enable_gclk_gen_2__externalclock: 1000000
+ enable_gclk_gen_3: false
+ enable_gclk_gen_3__externalclock: 1000000
+ enable_gclk_gen_4: false
+ enable_gclk_gen_4__externalclock: 1000000
+ enable_gclk_gen_5: false
+ enable_gclk_gen_5__externalclock: 1000000
+ enable_gclk_gen_6: false
+ enable_gclk_gen_6__externalclock: 1000000
+ enable_gclk_gen_7: false
+ enable_gclk_gen_7__externalclock: 1000000
+ enable_gclk_gen_8: false
+ enable_gclk_gen_8__externalclock: 1000000
+ enable_gclk_gen_9: false
+ enable_gclk_gen_9__externalclock: 1000000
+ gclk_arch_gen_0_enable: true
+ gclk_arch_gen_0_idc: false
+ gclk_arch_gen_0_oe: true
+ gclk_arch_gen_0_oov: false
+ gclk_arch_gen_0_runstdby: false
+ gclk_arch_gen_10_enable: false
+ gclk_arch_gen_10_idc: false
+ gclk_arch_gen_10_oe: false
+ gclk_arch_gen_10_oov: false
+ gclk_arch_gen_10_runstdby: false
+ gclk_arch_gen_11_enable: false
+ gclk_arch_gen_11_idc: false
+ gclk_arch_gen_11_oe: false
+ gclk_arch_gen_11_oov: false
+ gclk_arch_gen_11_runstdby: false
+ gclk_arch_gen_1_enable: true
+ gclk_arch_gen_1_idc: false
+ gclk_arch_gen_1_oe: true
+ gclk_arch_gen_1_oov: false
+ gclk_arch_gen_1_runstdby: false
+ gclk_arch_gen_2_enable: true
+ gclk_arch_gen_2_idc: false
+ gclk_arch_gen_2_oe: true
+ gclk_arch_gen_2_oov: false
+ gclk_arch_gen_2_runstdby: false
+ gclk_arch_gen_3_enable: false
+ gclk_arch_gen_3_idc: false
+ gclk_arch_gen_3_oe: false
+ gclk_arch_gen_3_oov: false
+ gclk_arch_gen_3_runstdby: false
+ gclk_arch_gen_4_enable: false
+ gclk_arch_gen_4_idc: false
+ gclk_arch_gen_4_oe: false
+ gclk_arch_gen_4_oov: false
+ gclk_arch_gen_4_runstdby: false
+ gclk_arch_gen_5_enable: false
+ gclk_arch_gen_5_idc: false
+ gclk_arch_gen_5_oe: false
+ gclk_arch_gen_5_oov: false
+ gclk_arch_gen_5_runstdby: false
+ gclk_arch_gen_6_enable: false
+ gclk_arch_gen_6_idc: false
+ gclk_arch_gen_6_oe: false
+ gclk_arch_gen_6_oov: false
+ gclk_arch_gen_6_runstdby: false
+ gclk_arch_gen_7_enable: false
+ gclk_arch_gen_7_idc: false
+ gclk_arch_gen_7_oe: false
+ gclk_arch_gen_7_oov: false
+ gclk_arch_gen_7_runstdby: false
+ gclk_arch_gen_8_enable: false
+ gclk_arch_gen_8_idc: false
+ gclk_arch_gen_8_oe: false
+ gclk_arch_gen_8_oov: false
+ gclk_arch_gen_8_runstdby: false
+ gclk_arch_gen_9_enable: false
+ gclk_arch_gen_9_idc: false
+ gclk_arch_gen_9_oe: false
+ gclk_arch_gen_9_oov: false
+ gclk_arch_gen_9_runstdby: false
+ gclk_gen_0_div: 1
+ gclk_gen_0_div_sel: false
+ gclk_gen_0_oscillator: Digital Phase Locked Loop (DPLL1)
+ gclk_gen_10_div: 1
+ gclk_gen_10_div_sel: false
+ gclk_gen_10_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_11_div: 1
+ gclk_gen_11_div_sel: false
+ gclk_gen_11_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_1_div: 24
+ gclk_gen_1_div_sel: false
+ gclk_gen_1_oscillator: Digital Frequency Locked Loop (DFLL48M)
+ gclk_gen_2_div: 1
+ gclk_gen_2_div_sel: false
+ gclk_gen_2_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ gclk_gen_3_div: 1
+ gclk_gen_3_div_sel: false
+ gclk_gen_3_oscillator: 32kHz External Crystal Oscillator (XOSC32K)
+ gclk_gen_4_div: 1
+ gclk_gen_4_div_sel: false
+ gclk_gen_4_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_5_div: 1
+ gclk_gen_5_div_sel: false
+ gclk_gen_5_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_6_div: 1
+ gclk_gen_6_div_sel: false
+ gclk_gen_6_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_7_div: 1
+ gclk_gen_7_div_sel: false
+ gclk_gen_7_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_8_div: 1
+ gclk_gen_8_div_sel: false
+ gclk_gen_8_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ gclk_gen_9_div: 1
+ gclk_gen_9_div_sel: false
+ gclk_gen_9_oscillator: External Crystal Oscillator 8-48MHz (XOSC1)
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ MCLK:
+ user_label: MCLK
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::MCLK::driver_config_definition::MCLK::HAL:HPL:MCLK
+ functionality: System
+ api: HAL:HPL:MCLK
+ configuration:
+ $input: 120000000
+ $input_id: Generic clock generator 0
+ RESERVED_InputFreq: 120000000
+ RESERVED_InputFreq_id: Generic clock generator 0
+ _$freq_output_CPU: 120000000
+ cpu_clock_source: Generic clock generator 0
+ cpu_div: '1'
+ enable_cpu_clock: true
+ mclk_arch_bupdiv: Divide by 8
+ mclk_arch_hsdiv: Divide by 1
+ mclk_arch_lpdiv: Divide by 4
+ nvm_wait_states: '0'
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: CPU
+ input: CPU
+ external: false
+ external_frequency: 0
+ configuration: {}
+ OSC32KCTRL:
+ user_label: OSC32KCTRL
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::OSC32KCTRL::driver_config_definition::OSC32KCTRL::HAL:HPL:OSC32KCTRL
+ functionality: System
+ api: HAL:HPL:OSC32KCTRL
+ configuration:
+ $input: 32768
+ $input_id: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ RESERVED_InputFreq: 32768
+ RESERVED_InputFreq_id: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ _$freq_output_RTC source: 32768
+ enable_osculp32k: true
+ enable_rtc_source: false
+ enable_xosc32k: false
+ osculp32k_calib: 0
+ osculp32k_calib_enable: false
+ rtc_1khz_selection: false
+ rtc_source_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+ xosc32k_arch_cfden: false
+ xosc32k_arch_cfdeo: false
+ xosc32k_arch_cgm: Standard mode
+ xosc32k_arch_en1k: false
+ xosc32k_arch_en32k: false
+ xosc32k_arch_enable: false
+ xosc32k_arch_ondemand: true
+ xosc32k_arch_runstdby: false
+ xosc32k_arch_startup: 62592us
+ xosc32k_arch_swben: false
+ xosc32k_arch_xtalen: true
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ OSCCTRL:
+ user_label: OSCCTRL
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::OSCCTRL::driver_config_definition::OSCCTRL::HAL:HPL:OSCCTRL
+ functionality: System
+ api: HAL:HPL:OSCCTRL
+ configuration:
+ $input: 2000000
+ $input_id: Generic clock generator 1
+ RESERVED_InputFreq: 2000000
+ RESERVED_InputFreq_id: Generic clock generator 1
+ _$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000
+ _$freq_output_Digital Phase Locked Loop (DPLL0): 47985664
+ _$freq_output_Digital Phase Locked Loop (DPLL1): 120000000
+ _$freq_output_External Crystal Oscillator 8-48MHz (XOSC0): 12000000
+ _$freq_output_External Crystal Oscillator 8-48MHz (XOSC1): 12000000
+ dfll_arch_bplckc: false
+ dfll_arch_calibration: false
+ dfll_arch_ccdis: false
+ dfll_arch_coarse: 31
+ dfll_arch_cstep: 1
+ dfll_arch_enable: true
+ dfll_arch_fine: 128
+ dfll_arch_fstep: 1
+ dfll_arch_llaw: false
+ dfll_arch_ondemand: false
+ dfll_arch_qldis: false
+ dfll_arch_runstdby: false
+ dfll_arch_stable: false
+ dfll_arch_usbcrm: false
+ dfll_arch_waitlock: true
+ dfll_mode: Open Loop Mode
+ dfll_mul: 0
+ dfll_ref_clock: Generic clock generator 2
+ enable_dfll: true
+ enable_fdpll0: false
+ enable_fdpll1: true
+ enable_xosc0: false
+ enable_xosc1: true
+ fdpll0_arch_dcoen: false
+ fdpll0_arch_enable: false
+ fdpll0_arch_filter: 0
+ fdpll0_arch_lbypass: false
+ fdpll0_arch_ltime: No time-out, automatic lock
+ fdpll0_arch_ondemand: false
+ fdpll0_arch_refclk: XOSC32K clock reference
+ fdpll0_arch_runstdby: false
+ fdpll0_arch_wuf: false
+ fdpll0_clock_dcofilter: 0
+ fdpll0_clock_div: 0
+ fdpll0_ldr: 1463
+ fdpll0_ldrfrac: 13
+ fdpll0_ref_clock: 32kHz External Crystal Oscillator (XOSC32K)
+ fdpll1_arch_dcoen: false
+ fdpll1_arch_enable: true
+ fdpll1_arch_filter: 0
+ fdpll1_arch_lbypass: false
+ fdpll1_arch_ltime: No time-out, automatic lock
+ fdpll1_arch_ondemand: false
+ fdpll1_arch_refclk: GCLK clock reference
+ fdpll1_arch_runstdby: false
+ fdpll1_arch_wuf: false
+ fdpll1_clock_dcofilter: 0
+ fdpll1_clock_div: 0
+ fdpll1_ldr: 59
+ fdpll1_ldrfrac: 0
+ fdpll1_ref_clock: Generic clock generator 1
+ xosc0_arch_cfden: false
+ xosc0_arch_enable: false
+ xosc0_arch_enalc: false
+ xosc0_arch_lowbufgain: false
+ xosc0_arch_ondemand: false
+ xosc0_arch_runstdby: false
+ xosc0_arch_startup: 31us
+ xosc0_arch_swben: false
+ xosc0_arch_xtalen: false
+ xosc0_frequency: 12000000
+ xosc1_arch_cfden: false
+ xosc1_arch_enable: true
+ xosc1_arch_enalc: false
+ xosc1_arch_lowbufgain: false
+ xosc1_arch_ondemand: false
+ xosc1_arch_runstdby: false
+ xosc1_arch_startup: 31us
+ xosc1_arch_swben: false
+ xosc1_arch_xtalen: true
+ xosc1_frequency: 12000000
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ PORT:
+ user_label: PORT
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::PORT::driver_config_definition::PORT::HAL:HPL:PORT
+ functionality: System
+ api: HAL:HPL:PORT
+ configuration:
+ enable_port_input_event_0: true
+ enable_port_input_event_1: true
+ enable_port_input_event_2: false
+ enable_port_input_event_3: false
+ porta_event_action_0: Output register of pin will be set to level of event
+ porta_event_action_1: Output register of pin will be set to level of event
+ porta_event_action_2: Output register of pin will be set to level of event
+ porta_event_action_3: Output register of pin will be set to level of event
+ porta_event_pin_identifier_0: 0
+ porta_event_pin_identifier_1: 0
+ porta_event_pin_identifier_2: 0
+ porta_event_pin_identifier_3: 0
+ porta_input_event_enable_0: false
+ porta_input_event_enable_1: false
+ porta_input_event_enable_2: false
+ porta_input_event_enable_3: false
+ portb_event_action_0: Output register of pin will be set to level of event
+ portb_event_action_1: Output register of pin will be set to level of event
+ portb_event_action_2: Output register of pin will be set to level of event
+ portb_event_action_3: Output register of pin will be set to level of event
+ portb_event_pin_identifier_0: 0
+ portb_event_pin_identifier_1: 0
+ portb_event_pin_identifier_2: 0
+ portb_event_pin_identifier_3: 0
+ portb_input_event_enable_0: false
+ portb_input_event_enable_1: false
+ portb_input_event_enable_2: false
+ portb_input_event_enable_3: false
+ portc_event_action_0: Output register of pin will be set to level of event
+ portc_event_action_1: Output register of pin will be set to level of event
+ portc_event_action_2: Output register of pin will be set to level of event
+ portc_event_action_3: Output register of pin will be set to level of event
+ portc_event_pin_identifier_0: 0
+ portc_event_pin_identifier_1: 1
+ portc_event_pin_identifier_2: 0
+ portc_event_pin_identifier_3: 0
+ portc_input_event_enable_0: false
+ portc_input_event_enable_1: true
+ portc_input_event_enable_2: false
+ portc_input_event_enable_3: false
+ portd_event_action_0: Output register of pin will be set to level of event
+ portd_event_action_1: Output register of pin will be set to level of event
+ portd_event_action_2: Output register of pin will be set to level of event
+ portd_event_action_3: Output register of pin will be set to level of event
+ portd_event_pin_identifier_0: 11
+ portd_event_pin_identifier_1: 0
+ portd_event_pin_identifier_2: 0
+ portd_event_pin_identifier_3: 0
+ portd_input_event_enable_0: true
+ portd_input_event_enable_1: false
+ portd_input_event_enable_2: false
+ portd_input_event_enable_3: false
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ RAMECC:
+ user_label: RAMECC
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::RAMECC::driver_config_definition::RAMECC::HAL:HPL:RAMECC
+ functionality: System
+ api: HAL:HPL:RAMECC
+ configuration: {}
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group: null
+ SPI_0:
+ user_label: SPI_0
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::SERCOM5::driver_config_definition::SPI.Master::HAL:Driver:SPI.Master.DMA
+ functionality: SPI
+ api: HAL:Driver:SPI_Master_DMA
+ configuration:
+ spi_master_advanced: true
+ spi_master_arch_cpha: Sample input on leading edge
+ spi_master_arch_cpol: SCK is low when idle
+ spi_master_arch_dbgstop: Keep running
+ spi_master_arch_dord: MSB first
+ spi_master_arch_ibon: In data stream
+ spi_master_arch_runstdby: false
+ spi_master_baud_rate: 12000000
+ spi_master_character_size: 8 bits
+ spi_master_dma_rx_channel: 0
+ spi_master_dma_tx_channel: 1
+ spi_master_dummybyte: 511
+ spi_master_rx_channel: true
+ spi_master_rx_enable: true
+ optional_signals: []
+ variant:
+ specification: TXPO=0, RXPO=3
+ required_signals:
+ - name: SERCOM5/PAD/0
+ pad: PB16
+ label: MOSI
+ - name: SERCOM5/PAD/1
+ pad: PB17
+ label: SCK
+ - name: SERCOM5/PAD/3
+ pad: PB01
+ label: MISO
+ clocks:
+ domain_group:
+ nodes:
+ - name: Core
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ - name: Slow
+ input: Generic clock generator 3
+ external: false
+ external_frequency: 0
+ configuration:
+ core_gclk_selection: Generic clock generator 0
+ slow_gclk_selection: Generic clock generator 3
+ TC_SPEED:
+ user_label: TC_SPEED
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TC0::driver_config_definition::32-bit.Counter.Mode::Lite:TC:Timer
+ functionality: Timer
+ api: Lite:TC:Timer
+ configuration:
+ cc_cc0: 0
+ cc_cc1: 0
+ cc_control: false
+ count_control: false
+ count_count: 0
+ ctrla_alock: false
+ ctrla_capten0: true
+ ctrla_capten1: true
+ ctrla_captmode0: DEFAULT
+ ctrla_captmode1: DEFAULT
+ ctrla_control: true
+ ctrla_copen0: false
+ ctrla_copen1: false
+ ctrla_enable: true
+ ctrla_mode: 2
+ ctrla_ondemand: false
+ ctrla_prescaler: DIV4
+ ctrla_prescsync: GCLK
+ ctrla_runstdby: false
+ ctrlbset_cmd: NONE
+ ctrlbset_control: false
+ ctrlbset_dir: false
+ ctrlbset_lupd: false
+ ctrlbset_oneshot: false
+ ctrlc_inven0: false
+ ctrlc_inven1: false
+ dbgctrl_control: false
+ dbgctrl_dbgrun: false
+ drvctrl_control: false
+ evctrl_control: true
+ evctrl_evact: PPW
+ evctrl_mceo0: false
+ evctrl_mceo1: false
+ evctrl_ovfeo: true
+ evctrl_tcei: true
+ evctrl_tcinv: false
+ intenset_control: true
+ intenset_err: false
+ intenset_mc0: false
+ intenset_mc1: false
+ intenset_ovf: true
+ wave_control: true
+ wave_wavegen: NFRQ
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tc_gclk_selection: Generic clock generator 0
+ TC_ECAT:
+ user_label: TC_ECAT
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TC7::driver_config_definition::32-bit.Counter.Mode::Lite:TC:Timer
+ functionality: Timer
+ api: Lite:TC:Timer
+ configuration:
+ cc_cc0: 30000
+ cc_cc1: 0
+ cc_control: true
+ count_control: false
+ count_count: 0
+ ctrla_alock: false
+ ctrla_capten0: false
+ ctrla_capten1: false
+ ctrla_captmode0: DEFAULT
+ ctrla_captmode1: DEFAULT
+ ctrla_control: true
+ ctrla_copen0: false
+ ctrla_copen1: false
+ ctrla_enable: true
+ ctrla_mode: 0
+ ctrla_ondemand: false
+ ctrla_prescaler: DIV4
+ ctrla_prescsync: GCLK
+ ctrla_runstdby: false
+ ctrlbset_cmd: NONE
+ ctrlbset_control: false
+ ctrlbset_dir: false
+ ctrlbset_lupd: false
+ ctrlbset_oneshot: false
+ ctrlc_inven0: false
+ ctrlc_inven1: false
+ dbgctrl_control: false
+ dbgctrl_dbgrun: false
+ drvctrl_control: false
+ evctrl_control: true
+ evctrl_evact: 'OFF'
+ evctrl_mceo0: true
+ evctrl_mceo1: false
+ evctrl_ovfeo: false
+ evctrl_tcei: false
+ evctrl_tcinv: false
+ intenset_control: true
+ intenset_err: false
+ intenset_mc0: false
+ intenset_mc1: false
+ intenset_ovf: true
+ wave_control: true
+ wave_wavegen: MFRQ
+ optional_signals: []
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tc_gclk_selection: Generic clock generator 0
+ TCC_PWM2:
+ user_label: TCC_PWM2
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TCC0::driver_config_definition::PWM::HAL:Driver:PWM
+ functionality: PWM
+ api: HAL:Driver:PWM
+ configuration:
+ tcc_arch_alock: false
+ tcc_arch_cc0: 0
+ tcc_arch_cc1: 0
+ tcc_arch_cc2: 0
+ tcc_arch_cc3: 0
+ tcc_arch_cc4: 0
+ tcc_arch_cc5: 0
+ tcc_arch_cnteo: false
+ tcc_arch_cntsel: An interrupt/event is generated when a new counter cycle starts
+ tcc_arch_cpten0: false
+ tcc_arch_cpten1: false
+ tcc_arch_cpten2: false
+ tcc_arch_cpten3: false
+ tcc_arch_cpten4: false
+ tcc_arch_cpten5: false
+ tcc_arch_cpten6: false
+ tcc_arch_cpten7: false
+ tcc_arch_dbgrun: false
+ tcc_arch_evact0: Event action disabled
+ tcc_arch_evact1: Event action disabled
+ tcc_arch_lupd: false
+ tcc_arch_mcei0: false
+ tcc_arch_mcei1: false
+ tcc_arch_mcei2: false
+ tcc_arch_mcei3: false
+ tcc_arch_mcei4: false
+ tcc_arch_mcei5: false
+ tcc_arch_mceo0: false
+ tcc_arch_mceo1: false
+ tcc_arch_mceo2: false
+ tcc_arch_mceo3: false
+ tcc_arch_mceo4: false
+ tcc_arch_mceo5: false
+ tcc_arch_ovfeo: true
+ tcc_arch_prescsync: Reload or reset counter on next GCLK
+ tcc_arch_runstdby: false
+ tcc_arch_sel_ch: 0
+ tcc_arch_tcei0: false
+ tcc_arch_tcei1: false
+ tcc_arch_tceinv0: false
+ tcc_arch_tceinv1: false
+ tcc_arch_trgeo: false
+ tcc_arch_wave_duty_val: 500
+ tcc_arch_wave_per_val: 48
+ tcc_arch_wavegen: Dual-slope, interrupt/event at ZERO (DSBOTTOM)
+ tcc_per: 10000
+ tcc_prescaler: Divide by 2
+ timer_event_control: true
+ optional_signals:
+ - identifier: TCC_PWM2:WO/0
+ pad: PC04
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.0
+ name: TCC0/WO/0
+ label: WO/0
+ - identifier: TCC_PWM2:WO/1
+ pad: PD08
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.1
+ name: TCC0/WO/1
+ label: WO/1
+ - identifier: TCC_PWM2:WO/2
+ pad: PD09
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.2
+ name: TCC0/WO/2
+ label: WO/2
+ - identifier: TCC_PWM2:WO/3
+ pad: PD10
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.3
+ name: TCC0/WO/3
+ label: WO/3
+ - identifier: TCC_PWM2:WO/4
+ pad: PA16
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.4
+ name: TCC0/WO/4
+ label: WO/4
+ - identifier: TCC_PWM2:WO/5
+ pad: PA17
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.5
+ name: TCC0/WO/5
+ label: WO/5
+ - identifier: TCC_PWM2:WO/6
+ pad: PC22
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.6
+ name: TCC0/WO/6
+ label: WO/6
+ - identifier: TCC_PWM2:WO/7
+ pad: PC23
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC0.WO.7
+ name: TCC0/WO/7
+ label: WO/7
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TCC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tcc_gclk_selection: Generic clock generator 0
+ TCC_PWM:
+ user_label: TCC_PWM
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::TCC1::driver_config_definition::PWM::HAL:Driver:PWM
+ functionality: PWM
+ api: HAL:Driver:PWM
+ configuration:
+ tcc_arch_alock: false
+ tcc_arch_cc0: 0
+ tcc_arch_cc1: 0
+ tcc_arch_cc2: 0
+ tcc_arch_cc3: 0
+ tcc_arch_cnteo: false
+ tcc_arch_cntsel: An interrupt/event is generated when a new counter cycle starts
+ tcc_arch_cpten0: false
+ tcc_arch_cpten1: false
+ tcc_arch_cpten2: false
+ tcc_arch_cpten3: false
+ tcc_arch_cpten4: false
+ tcc_arch_cpten5: false
+ tcc_arch_cpten6: false
+ tcc_arch_cpten7: false
+ tcc_arch_dbgrun: false
+ tcc_arch_evact0: Event action disabled
+ tcc_arch_evact1: Event action disabled
+ tcc_arch_lupd: false
+ tcc_arch_mcei0: false
+ tcc_arch_mcei1: false
+ tcc_arch_mcei2: false
+ tcc_arch_mcei3: false
+ tcc_arch_mceo0: false
+ tcc_arch_mceo1: false
+ tcc_arch_mceo2: false
+ tcc_arch_mceo3: false
+ tcc_arch_ovfeo: true
+ tcc_arch_prescsync: Reload or reset counter on next GCLK
+ tcc_arch_runstdby: false
+ tcc_arch_sel_ch: 3
+ tcc_arch_tcei0: false
+ tcc_arch_tcei1: false
+ tcc_arch_tceinv0: false
+ tcc_arch_tceinv1: false
+ tcc_arch_trgeo: false
+ tcc_arch_wave_duty_val: 500
+ tcc_arch_wave_per_val: 48
+ tcc_arch_wavegen: Single-slope PWM
+ tcc_per: 10000
+ tcc_prescaler: Divide by 2
+ timer_event_control: true
+ optional_signals:
+ - identifier: TCC_PWM:WO/0
+ pad: PC14
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.0
+ name: TCC1/WO/0
+ label: WO/0
+ - identifier: TCC_PWM:WO/2
+ pad: PB26
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.2
+ name: TCC1/WO/2
+ label: WO/2
+ - identifier: TCC_PWM:WO/3
+ pad: PB27
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.3
+ name: TCC1/WO/3
+ label: WO/3
+ - identifier: TCC_PWM:WO/4
+ pad: PB28
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.4
+ name: TCC1/WO/4
+ label: WO/4
+ - identifier: TCC_PWM:WO/5
+ pad: PB29
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.5
+ name: TCC1/WO/5
+ label: WO/5
+ - identifier: TCC_PWM:WO/6
+ pad: PA22
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.6
+ name: TCC1/WO/6
+ label: WO/6
+ - identifier: TCC_PWM:WO/7
+ pad: PA23
+ mode: PWM output
+ configuration: null
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::optional_signal_definition::TCC1.WO.7
+ name: TCC1/WO/7
+ label: WO/7
+ variant: null
+ clocks:
+ domain_group:
+ nodes:
+ - name: TCC
+ input: Generic clock generator 0
+ external: false
+ external_frequency: 0
+ configuration:
+ tcc_gclk_selection: Generic clock generator 0
+pads:
+ DEBUG_1:
+ name: PC01
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC01
+ mode: Digital output
+ user_label: DEBUG_1
+ configuration: null
+ DEBUG_3:
+ name: PC02
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC02
+ mode: Digital output
+ user_label: DEBUG_3
+ configuration: null
+ DEBUG_2:
+ name: PC03
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC03
+ mode: Digital output
+ user_label: DEBUG_2
+ configuration: null
+ PB08:
+ name: PB08
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB08
+ mode: Analog
+ user_label: PB08
+ configuration: null
+ PB09:
+ name: PB09
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB09
+ mode: Analog
+ user_label: PB09
+ configuration: null
+ HALL_C:
+ name: PA04
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA04
+ mode: Peripheral IO
+ user_label: HALL_C
+ configuration: null
+ HALL_B:
+ name: PA05
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA05
+ mode: Peripheral IO
+ user_label: HALL_B
+ configuration: null
+ HALL_A:
+ name: PA06
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA06
+ mode: Peripheral IO
+ user_label: HALL_A
+ configuration: null
+ M2_0:
+ name: PC04
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC04
+ mode: Peripheral IO
+ user_label: M2_0
+ configuration: null
+ M3_4:
+ name: PB14
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB14
+ mode: Digital output
+ user_label: M3_4
+ configuration: null
+ M3_5:
+ name: PB15
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB15
+ mode: Digital output
+ user_label: M3_5
+ configuration: null
+ M2_1:
+ name: PD08
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD08
+ mode: Peripheral IO
+ user_label: M2_1
+ configuration: null
+ M2_2:
+ name: PD09
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD09
+ mode: Peripheral IO
+ user_label: M2_2
+ configuration: null
+ M2_3:
+ name: PD10
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD10
+ mode: Peripheral IO
+ user_label: M2_3
+ configuration: null
+ DEBUG_5:
+ name: PD11
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PD11
+ mode: Digital output
+ user_label: DEBUG_5
+ configuration: null
+ M3_2:
+ name: PC14
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC14
+ mode: Peripheral IO
+ user_label: M3_2
+ configuration: null
+ M2_4:
+ name: PA16
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA16
+ mode: Peripheral IO
+ user_label: M2_4
+ configuration: null
+ M2_5:
+ name: PA17
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA17
+ mode: Peripheral IO
+ user_label: M2_5
+ configuration: null
+ M3_3:
+ name: PA18
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA18
+ mode: Digital output
+ user_label: M3_3
+ configuration: null
+ LED0:
+ name: PC18
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC18
+ mode: Digital output
+ user_label: LED0
+ configuration: null
+ M3_0:
+ name: PC22
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC22
+ mode: Peripheral IO
+ user_label: M3_0
+ configuration: null
+ M3_1:
+ name: PC23
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC23
+ mode: Peripheral IO
+ user_label: M3_1
+ configuration: null
+ PB16:
+ name: PB16
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB16
+ mode: Digital output
+ user_label: PB16
+ configuration: null
+ PB17:
+ name: PB17
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB17
+ mode: Digital output
+ user_label: PB17
+ configuration: null
+ DRV_ENA:
+ name: PA22
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA22
+ mode: Peripheral IO
+ user_label: DRV_ENA
+ configuration: null
+ DRV_INA:
+ name: PA23
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA23
+ mode: Peripheral IO
+ user_label: DRV_INA
+ configuration: null
+ DRV_INC:
+ name: PB26
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB26
+ mode: Peripheral IO
+ user_label: DRV_INC
+ configuration: null
+ DRV_INB:
+ name: PB27
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB27
+ mode: Peripheral IO
+ user_label: DRV_INB
+ configuration: null
+ DRV_ENB:
+ name: PB28
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB28
+ mode: Peripheral IO
+ user_label: DRV_ENB
+ configuration: null
+ DRV_ENC:
+ name: PB29
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB29
+ mode: Peripheral IO
+ user_label: DRV_ENC
+ configuration: null
+ DRV_RESET:
+ name: PA27
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PA27
+ mode: Digital output
+ user_label: DRV_RESET
+ configuration: null
+ SW0:
+ name: PB31
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB31
+ mode: Digital input
+ user_label: SW0
+ configuration:
+ pad_pull_config: Pull-up
+ DEBUG_4:
+ name: PC30
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PC30
+ mode: Digital output
+ user_label: DEBUG_4
+ configuration: null
+ ECAT_SPI_CS_PIN:
+ name: PB00
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB00
+ mode: Digital output
+ user_label: ECAT_SPI_CS_PIN
+ configuration: null
+ PB01:
+ name: PB01
+ definition: Atmel:SAME54_Drivers:0.0.1::SAME54P20A-AU::pad::PB01
+ mode: Digital input
+ user_label: PB01
+ configuration: null
+toolchain_options: []
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/BLCD_E54v2.componentinfo.xml b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/BLCD_E54v2.componentinfo.xml
new file mode 100644
index 0000000..59ffde4
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/BLCD_E54v2.componentinfo.xml
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+ CMSIS
+ CORE
+
+
+ ARM
+ 5.1.2
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Documentation\Core\html\index.html
+
+ doc
+
+
+
+ CMSIS/Documentation/Core/html/index.html
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+
+ include
+
+
+
+ CMSIS/Core/Include/
+
+
+
+
+ CMSIS
+ C:/Program Files (x86)/Atmel/Studio/7.0/Packs/arm/CMSIS/5.4.0/ARM.CMSIS.pdsc
+ 5.4.0
+ true
+ ARMv6_7_8-M Device
+
+
+
+ Resolved
+ Fixed
+ true
+
+
+
+
+ Device
+ Startup
+
+
+ Atmel
+ 1.1.0
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs
+
+
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include
+
+ include
+ C
+
+
+ include
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\include\sam.h
+
+ header
+ C
+ 8A8bci0EePdi0b+8Lluv4A==
+
+ include/sam.h
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\templates\main.c
+ template
+ source
+ C Exe
+ SJgCZe88oMZvgSxZz+Ly/A==
+
+ templates/main.c
+ Main file (.c)
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\templates\main.cpp
+ template
+ source
+ C Exe
+ Wwcf/gxegRQ10+cCzYcFIw==
+
+ templates/main.cpp
+ Main file (.cpp)
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\gcc\system_same54.c
+ config
+ source
+ GCC Exe
+ 13EKFJ9ZysfwBWEbJglN5Q==
+
+ gcc/system_same54.c
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\gcc\gcc\startup_same54.c
+ config
+ source
+ GCC Exe
+ hvyBThCuEBmDbH8Yhxa2Jw==
+
+ gcc/gcc/startup_same54.c
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\gcc\gcc\same54p20a_flash.ld
+ config
+ linkerScript
+ GCC Exe
+ KxZPrZpayTyit24vDXKm8w==
+
+ gcc/gcc/same54p20a_flash.ld
+
+
+
+
+ C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME54_DFP\1.1.134\gcc\gcc\same54p20a_sram.ld
+ config
+ other
+ GCC Exe
+ +7n8kxIwTIMsWzB2gEYtIg==
+
+ gcc/gcc/same54p20a_sram.ld
+
+
+
+
+ SAME54_DFP
+ C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/SAME54_DFP/1.1.134/Atmel.SAME54_DFP.pdsc
+ 1.1.134
+ true
+ ATSAME54P20A
+
+
+
+ Resolved
+ Fixed
+ true
+
+
+
\ No newline at end of file
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/BLCD_E54v2.cproj b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/BLCD_E54v2.cproj
new file mode 100644
index 0000000..3b78680
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/BLCD_E54v2.cproj
@@ -0,0 +1,1030 @@
+
+
+
+ 2.0
+ 7.0
+ com.Atmel.ARMGCC.C
+ dce6c7e3-ee26-4d79-826b-08594b9ad897
+ ATSAME54P20A
+ none
+ Executable
+ C
+ $(MSBuildProjectName)
+ .elf
+ $(MSBuildProjectDirectory)\$(Configuration)
+ BLCD_E54v2
+ BLCD_E54v2
+ BLCD_E54v2
+ Native
+ true
+ false
+ true
+ true
+ 0x20000000
+
+ true
+ exception_table
+ 2
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ gcc
+ .atmelstart\atmel_start_config.atstart
+ .atmelstart\AtmelStart.gpdsc
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ True
+ True
+ True
+
+
+ NDEBUG
+
+
+
+
+ %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+ ../Config
+ ../
+ ../examples
+ ../hal/include
+ ../hal/utils/include
+ ../hpl/adc
+ ../hpl/ccl
+ ../hpl/cmcc
+ ../hpl/core
+ ../hpl/dmac
+ ../hpl/evsys
+ ../hpl/gclk
+ ../hpl/mclk
+ ../hpl/osc32kctrl
+ ../hpl/oscctrl
+ ../hpl/pm
+ ../hpl/port
+ ../hpl/ramecc
+ ../hpl/sercom
+ ../hpl/tc
+ ../hpl/tcc
+ ../hri
+ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
+
+
+ Optimize for size (-Os)
+ True
+ True
+ -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16
+ True
+
+
+ libm
+ libarm_cortexM4lf_math.a
+
+
+
+
+ %24(ProjectDir)\Device_Startup
+ C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\bldc_firmware_thesis\BLDC_E54v2\BLCD_E54v2\BLCD_E54v2\cmsis
+
+
+ True
+ -Tsame54p20a_flash.ld
+
+
+ %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+ ../Config
+ ../
+ ../examples
+ ../hal/include
+ ../hal/utils/include
+ ../hpl/adc
+ ../hpl/ccl
+ ../hpl/cmcc
+ ../hpl/core
+ ../hpl/dmac
+ ../hpl/evsys
+ ../hpl/gclk
+ ../hpl/mclk
+ ../hpl/osc32kctrl
+ ../hpl/oscctrl
+ ../hpl/pm
+ ../hpl/port
+ ../hpl/ramecc
+ ../hpl/sercom
+ ../hpl/tc
+ ../hpl/tcc
+ ../hri
+ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
+
+
+
+
+ %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+ ../Config
+ ../
+ ../examples
+ ../hal/include
+ ../hal/utils/include
+ ../hpl/adc
+ ../hpl/ccl
+ ../hpl/cmcc
+ ../hpl/core
+ ../hpl/dmac
+ ../hpl/evsys
+ ../hpl/gclk
+ ../hpl/mclk
+ ../hpl/osc32kctrl
+ ../hpl/oscctrl
+ ../hpl/pm
+ ../hpl/port
+ ../hpl/ramecc
+ ../hpl/sercom
+ ../hpl/tc
+ ../hpl/tcc
+ ../hri
+ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
+
+
+
+
+
+
+
+
+ True
+ True
+ True
+ True
+ True
+
+
+ DEBUG
+ ARM_MATH_CM4=1
+
+
+
+
+ %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
+ ../Config
+ ../
+ ../examples
+ ../hal/include
+ ../hal/utils/include
+ ../hpl/adc
+ ../hpl/ccl
+ ../hpl/cmcc
+ ../hpl/core
+ ../hpl/dmac
+ ../hpl/evsys
+ ../hpl/gclk
+ ../hpl/mclk
+ ../hpl/osc32kctrl
+ ../hpl/oscctrl
+ ../hpl/pm
+ ../hpl/port
+ ../hpl/ramecc
+ ../hpl/sercom
+ ../hpl/tc
+ ../hpl/tcc
+ ../hri
+
+
+ Optimize (-O1)
+ True
+ Maximum (-g3)
+ True
+ True
+ -std=gnu99 -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mfp16-format=ieee
+
+
+ libm
+ libarm_cortexM4lf_math.a
+
+
+
+
+ %24(ProjectDir)\Device_Startup
+ C:\Users\Nick-XMG\Documents\github\bldc_control_thesis\bldc_firmware_thesis\BLDC_E54v2\BLCD_E54v2\BLCD_E54v2\cmsis
+
+
+ True
+
+ -Tsame54p20a_flash.ld -std=gnu99 -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mfp16-format=ieee
+
+
+ %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
+ ../Config
+ ../
+ ../examples
+ ../hal/include
+ ../hal/utils/include
+ ../hpl/adc
+ ../hpl/ccl
+ ../hpl/cmcc
+ ../hpl/core
+ ../hpl/dmac
+ ../hpl/evsys
+ ../hpl/gclk
+ ../hpl/mclk
+ ../hpl/osc32kctrl
+ ../hpl/oscctrl
+ ../hpl/pm
+ ../hpl/port
+ ../hpl/ramecc
+ ../hpl/sercom
+ ../hpl/tc
+ ../hpl/tcc
+ ../hri
+
+
+ Default (-g)
+
+
+ %24(PackRepoDir)\arm\CMSIS\5.4.0\CMSIS\Core\Include\
+ %24(PackRepoDir)\atmel\SAME54_DFP\1.1.134\include
+ ../Config
+ ../
+ ../examples
+ ../hal/include
+ ../hal/utils/include
+ ../hpl/adc
+ ../hpl/ccl
+ ../hpl/cmcc
+ ../hpl/core
+ ../hpl/dmac
+ ../hpl/evsys
+ ../hpl/gclk
+ ../hpl/mclk
+ ../hpl/osc32kctrl
+ ../hpl/oscctrl
+ ../hpl/pm
+ ../hpl/port
+ ../hpl/ramecc
+ ../hpl/sercom
+ ../hpl/tc
+ ../hpl/tcc
+ ../hri
+
+
+ Default (-Wa,-g)
+
+
+
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+ compile
+
+
+
+
\ No newline at end of file
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/RTE_Components.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/RTE_Components.h
new file mode 100644
index 0000000..f956f38
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/RTE_Components.h
@@ -0,0 +1,54 @@
+ /**
+ * \file
+ *
+ * \brief Autogenerated API include file for the Atmel Configuration Management Engine (ACME)
+ *
+ * Copyright (c) 2012 Atmel Corporation. All rights reserved.
+ *
+ * \acme_license_start
+ *
+ * \page License
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * 3. The name of Atmel may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * 4. This software may only be redistributed and used in connection with an
+ * Atmel microcontroller product.
+ *
+ * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
+ * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ *
+ * \acme_license_stop
+ *
+ * Project: BLCD_E54v2
+ * Target: ATSAME54P20A
+ *
+ **/
+
+
+#ifndef RTE_COMPONENTS_H
+#define RTE_COMPONENTS_H
+
+
+#define ATMEL_START
+
+#endif /* RTE_COMPONENTS_H */
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_adc_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_adc_config.h
new file mode 100644
index 0000000..9964e0a
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_adc_config.h
@@ -0,0 +1,302 @@
+/* Auto-generated config file hpl_adc_config.h */
+#ifndef HPL_ADC_CONFIG_H
+#define HPL_ADC_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+#ifndef CONF_ADC_0_ENABLE
+#define CONF_ADC_0_ENABLE 1
+#endif
+
+// Basic Configuration
+
+// Conversion Result Resolution
+// <0x0=>12-bit
+// <0x1=>16-bit (averaging must be enabled)
+// <0x2=>10-bit
+// <0x3=>8-bit
+// Defines the bit resolution for the ADC sample values (RESSEL)
+// adc_resolution
+#ifndef CONF_ADC_0_RESSEL
+#define CONF_ADC_0_RESSEL 0x0
+#endif
+
+// Reference Selection
+// <0x0=>Internal bandgap reference
+// <0x2=>1/2 VDDANA (only for VDDANA > 2.0V)
+// <0x3=>VDDANA
+// <0x4=>External reference A
+// <0x5=>External reference B
+// <0x6=>External reference C
+// Select the reference for the ADC (REFSEL)
+// adc_reference
+#ifndef CONF_ADC_0_REFSEL
+#define CONF_ADC_0_REFSEL 0x3
+#endif
+
+// Prescaler configuration
+// <0x0=>Peripheral clock divided by 2
+// <0x1=>Peripheral clock divided by 4
+// <0x2=>Peripheral clock divided by 8
+// <0x3=>Peripheral clock divided by 16
+// <0x4=>Peripheral clock divided by 32
+// <0x5=>Peripheral clock divided by 64
+// <0x6=>Peripheral clock divided by 128
+// <0x7=>Peripheral clock divided by 256
+// These bits define the ADC clock relative to the peripheral clock (PRESCALER)
+// adc_prescaler
+#ifndef CONF_ADC_0_PRESCALER
+#define CONF_ADC_0_PRESCALER 0x2
+#endif
+
+// Free Running Mode
+// When enabled, the ADC is in free running mode and a new conversion will be initiated when a previous conversion completes. (FREERUN)
+// adc_freerunning_mode
+#ifndef CONF_ADC_0_FREERUN
+#define CONF_ADC_0_FREERUN 0
+#endif
+
+// Differential Mode
+// In differential mode, the voltage difference between the MUXPOS and MUXNEG inputs will be converted by the ADC. (DIFFMODE)
+// adc_differential_mode
+#ifndef CONF_ADC_0_DIFFMODE
+#define CONF_ADC_0_DIFFMODE 0
+#endif
+
+// Positive Mux Input Selection
+// <0x00=>ADC AIN0 pin
+// <0x01=>ADC AIN1 pin
+// <0x02=>ADC AIN2 pin
+// <0x03=>ADC AIN3 pin
+// <0x04=>ADC AIN4 pin
+// <0x05=>ADC AIN5 pin
+// <0x06=>ADC AIN6 pin
+// <0x07=>ADC AIN7 pin
+// <0x08=>ADC AIN8 pin
+// <0x09=>ADC AIN9 pin
+// <0x0A=>ADC AIN10 pin
+// <0x0B=>ADC AIN11 pin
+// <0x0C=>ADC AIN12 pin
+// <0x0D=>ADC AIN13 pin
+// <0x0E=>ADC AIN14 pin
+// <0x0F=>ADC AIN15 pin
+// <0x18=>1/4 scaled core supply
+// <0x19=>1/4 Scaled VBAT Supply
+// <0x1A=>1/4 scaled I/O supply
+// <0x1B=>Bandgap voltage
+// <0x1C=>Temperature reference (PTAT)
+// <0x1D=>Temperature reference (CTAT)
+// <0x1E=>DAC Output
+// These bits define the Mux selection for the positive ADC input. (MUXPOS)
+// adc_pinmux_positive
+#ifndef CONF_ADC_0_MUXPOS
+#define CONF_ADC_0_MUXPOS 0x2
+#endif
+
+// Negative Mux Input Selection
+// <0x00=>ADC AIN0 pin
+// <0x01=>ADC AIN1 pin
+// <0x02=>ADC AIN2 pin
+// <0x03=>ADC AIN3 pin
+// <0x04=>ADC AIN4 pin
+// <0x05=>ADC AIN5 pin
+// <0x06=>ADC AIN6 pin
+// <0x07=>ADC AIN7 pin
+// <0x18=>Internal ground
+// These bits define the Mux selection for the negative ADC input. (MUXNEG)
+// adc_pinmux_negative
+#ifndef CONF_ADC_0_MUXNEG
+#define CONF_ADC_0_MUXNEG 0x18
+#endif
+
+//
+
+// Advanced Configuration
+// adc_advanced_settings
+#ifndef CONF_ADC_0_ADVANCED
+#define CONF_ADC_0_ADVANCED 1
+#endif
+
+// Run in standby
+// Indicates whether the ADC will continue running in standby sleep mode or not (RUNSTDBY)
+// adc_arch_runstdby
+#ifndef CONF_ADC_0_RUNSTDBY
+#define CONF_ADC_0_RUNSTDBY 0
+#endif
+
+// Debug Run
+// If enabled, the ADC is running if the CPU is halted by an external debugger. (DBGRUN)
+// adc_arch_dbgrun
+#ifndef CONF_ADC_0_DBGRUN
+#define CONF_ADC_0_DBGRUN 0
+#endif
+
+// On Demand Control
+// Will keep the ADC peripheral running if requested by other peripherals (ONDEMAND)
+// adc_arch_ondemand
+#ifndef CONF_ADC_0_ONDEMAND
+#define CONF_ADC_0_ONDEMAND 0
+#endif
+
+// Left-Adjusted Result
+// When enabled, the ADC conversion result is left-adjusted in the RESULT register. The high byte of the 12-bit result will be present in the upper part of the result register. (LEFTADJ)
+// adc_arch_leftadj
+#ifndef CONF_ADC_0_LEFTADJ
+#define CONF_ADC_0_LEFTADJ 0
+#endif
+
+// Reference Buffer Offset Compensation Enable
+// The accuracy of the gain stage can be increased by enabling the reference buffer offset compensation. This will decrease the input impedance and thus increase the start-up time of the reference. (REFCOMP)
+// adc_arch_refcomp
+#ifndef CONF_ADC_0_REFCOMP
+#define CONF_ADC_0_REFCOMP 0
+#endif
+
+// Comparator Offset Compensation Enable
+// This bit indicates whether the Comparator Offset Compensation is enabled or not (OFFCOMP)
+// adc_arch_offcomp
+#ifndef CONF_ADC_0_OFFCOMP
+#define CONF_ADC_0_OFFCOMP 0
+#endif
+
+// Digital Correction Logic Enabled
+// When enabled, the ADC conversion result in the RESULT register is then corrected for gain and offset based on the values in the GAINCAL and OFFSETCAL registers. (CORREN)
+// adc_arch_corren
+#ifndef CONF_ADC_0_CORREN
+#define CONF_ADC_0_CORREN 0
+#endif
+
+// Offset Correction Value <0-4095>
+// If the digital correction logic is enabled (CTRLB.CORREN = 1), these bits define how the ADC conversion result is compensated for offset error before being written to the Result register. (OFFSETCORR)
+// adc_arch_offsetcorr
+#ifndef CONF_ADC_0_OFFSETCORR
+#define CONF_ADC_0_OFFSETCORR 0
+#endif
+
+// Gain Correction Value <0-4095>
+// If the digital correction logic is enabled (CTRLB.CORREN = 1), these bits define how the ADC conversion result is compensated for gain error before being written to the result register. (GAINCORR)
+// adc_arch_gaincorr
+#ifndef CONF_ADC_0_GAINCORR
+#define CONF_ADC_0_GAINCORR 0
+#endif
+
+// Adjusting Result / Division Coefficient <0-7>
+// These bits define the division coefficient in 2n steps. (ADJRES)
+// adc_arch_adjres
+#ifndef CONF_ADC_0_ADJRES
+#define CONF_ADC_0_ADJRES 0x0
+#endif
+
+// Number of Samples to be Collected
+// <0x0=>1 sample
+// <0x1=>2 samples
+// <0x2=>4 samples
+// <0x3=>8 samples
+// <0x4=>16 samples
+// <0x5=>32 samples
+// <0x6=>64 samples
+// <0x7=>128 samples
+// <0x8=>256 samples
+// <0x9=>512 samples
+// <0xA=>1024 samples
+// Define how many samples should be added together.The result will be available in the Result register (SAMPLENUM)
+// adc_arch_samplenum
+#ifndef CONF_ADC_0_SAMPLENUM
+#define CONF_ADC_0_SAMPLENUM 0x0
+#endif
+
+// Sampling Time Length <0-63>
+// These bits control the ADC sampling time in number of CLK_ADC cycles, depending of the prescaler value, thus controlling the ADC input impedance. (SAMPLEN)
+// adc_arch_samplen
+#ifndef CONF_ADC_0_SAMPLEN
+#define CONF_ADC_0_SAMPLEN 3
+#endif
+
+// Window Monitor Mode
+// <0x0=>No window mode
+// <0x1=>Mode 1: RESULT above lower threshold
+// <0x2=>Mode 2: RESULT beneath upper threshold
+// <0x3=>Mode 3: RESULT inside lower and upper threshold
+// <0x4=>Mode 4: RESULT outside lower and upper threshold
+// These bits enable and define the window monitor mode. (WINMODE)
+// adc_arch_winmode
+#ifndef CONF_ADC_0_WINMODE
+#define CONF_ADC_0_WINMODE 0x0
+#endif
+
+// Window Monitor Lower Threshold <0-65535>
+// If the window monitor is enabled, these bits define the lower threshold value. (WINLT)
+// adc_arch_winlt
+#ifndef CONF_ADC_0_WINLT
+#define CONF_ADC_0_WINLT 0
+#endif
+
+// Window Monitor Upper Threshold <0-65535>
+// If the window monitor is enabled, these bits define the lower threshold value. (WINUT)
+// adc_arch_winut
+#ifndef CONF_ADC_0_WINUT
+#define CONF_ADC_0_WINUT 0
+#endif
+
+// Bitmask for positive input sequence <0-4294967295>
+// Use this parameter to input the bitmask for positive input sequence control (refer to datasheet for the device).
+// adc_arch_seqen
+#ifndef CONF_ADC_0_SEQEN
+#define CONF_ADC_0_SEQEN 0x0
+#endif
+
+//
+
+// Event Control
+// adc_arch_event_settings
+#ifndef CONF_ADC_0_EVENT_CONTROL
+#define CONF_ADC_0_EVENT_CONTROL 1
+#endif
+
+// Window Monitor Event Out
+// Enables event output on window event (WINMONEO)
+// adc_arch_winmoneo
+#ifndef CONF_ADC_0_WINMONEO
+#define CONF_ADC_0_WINMONEO 0
+#endif
+
+// Result Ready Event Out
+// Enables event output on result ready event (RESRDEO)
+// adc_arch_resrdyeo
+#ifndef CONF_ADC_0_RESRDYEO
+#define CONF_ADC_0_RESRDYEO 1
+#endif
+
+// Invert flush Event Signal
+// Invert the flush event input signal (FLUSHINV)
+// adc_arch_flushinv
+#ifndef CONF_ADC_0_FLUSHINV
+#define CONF_ADC_0_FLUSHINV 0
+#endif
+
+// Trigger Flush On Event
+// Trigger an ADC pipeline flush on event (FLUSHEI)
+// adc_arch_flushei
+#ifndef CONF_ADC_0_FLUSHEI
+#define CONF_ADC_0_FLUSHEI 0
+#endif
+
+// Invert Start Conversion Event Signal
+// Invert the start conversion event input signal (STARTINV)
+// adc_arch_startinv
+#ifndef CONF_ADC_0_STARTINV
+#define CONF_ADC_0_STARTINV 0
+#endif
+
+// Trigger Conversion On Event
+// Trigger a conversion on event. (STARTEI)
+// adc_arch_startei
+#ifndef CONF_ADC_0_STARTEI
+#define CONF_ADC_0_STARTEI 0
+#endif
+
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_ADC_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_ccl_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_ccl_config.h
new file mode 100644
index 0000000..0df946c
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_ccl_config.h
@@ -0,0 +1,499 @@
+/* Auto-generated config file hpl_ccl_config.h */
+#ifndef HPL_CCL_CONFIG_H
+#define HPL_CCL_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// Sequential Control Logic 0
+// <0x0=> Sequential logic is disabled
+// <0x1=> D flip flop
+// <0x2=> JK flip flop
+// <0x3=> D latch
+// <0x4=> RS latch
+// Selects mode for sequential module 0
+// ccl_arch_seqsel_0
+#ifndef CONF_CCL_SEQSEL_0
+#define CONF_CCL_SEQSEL_0 0x0
+#endif
+
+// Sequential Control Logic 1
+// <0x0=> Sequential logic is disabled
+// <0x1=> D flip flop
+// <0x2=> JK flip flop
+// <0x3=> D latch
+// <0x4=> RS latch
+// Selects mode for sequential module 1
+// ccl_arch_seqsel_1
+#ifndef CONF_CCL_SEQSEL_1
+#define CONF_CCL_SEQSEL_1 0x0
+#endif
+
+// Lookup Table Control 0
+// Enable and setup the lookup table module 0
+// ccl_arch_lutctrl0
+#ifndef CONF_CCL_LUTCTRL_EN_0
+#define CONF_CCL_LUTCTRL_EN_0 1
+#endif
+
+// Truth Table <0x00-0xFF>
+// Define the value of truth logic according to inputs IN[2:0]
+// ccl_arch_truth_0
+#ifndef CONF_CCL_TRUTH_0
+#define CONF_CCL_TRUTH_0 0x96
+#endif
+
+// Input Source Selection 0
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel0_0
+#ifndef CONF_CCL_INSEL0_0
+#define CONF_CCL_INSEL0_0 0x4
+#endif
+
+// Input Source Selection 1
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel1_0
+#ifndef CONF_CCL_INSEL1_0
+#define CONF_CCL_INSEL1_0 0x4
+#endif
+
+// Input Source Selection 2
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel2_0
+#ifndef CONF_CCL_INSEL2_0
+#define CONF_CCL_INSEL2_0 0x4
+#endif
+
+// Edge detector enable
+// ccl_arch_edgesel_0
+#ifndef CONF_CCL_EDGESEL_0
+#define CONF_CCL_EDGESEL_0 0
+#endif
+
+// Output Filter
+// <0x0=> Disabled
+// <0x1=> Synchronizer Enabled
+// <0x2=> Filter Enabled
+// ccl_arch_filtsel_0
+#ifndef CONF_CCL_FILTSEL_0
+#define CONF_CCL_FILTSEL_0 0x0
+#endif
+
+// Event settings 0
+
+// Event output enable
+// ccl_arch_luteo_0
+#ifndef CONF_CCL_LUTEO_0
+#define CONF_CCL_LUTEO_0 1
+#endif
+
+// Event input enable
+// ccl_arch_lutei_0
+#ifndef CONF_CCL_LUTEI_0
+#define CONF_CCL_LUTEI_0 0
+#endif
+
+// Event input invert
+// ccl_arch_invei_0
+#ifndef CONF_CCL_INVEI_0
+#define CONF_CCL_INVEI_0 0
+#endif
+
+//
+
+//
+
+// Persistance settings 0
+
+// Expression Persistance
+// ccl_e_persistance_0
+#define EXPRESSION_PERSISTANCE_0 ""
+
+// Logic Persistance
+// ccl_l_persistance_0
+#define LOGIC_PERSISTANCE_0 ""
+
+//
+
+// Lookup Table Control 1
+// Enable and setup the lookup table module 1
+// ccl_arch_lutctrl1
+#ifndef CONF_CCL_LUTCTRL_EN_1
+#define CONF_CCL_LUTCTRL_EN_1 0
+#endif
+
+// Truth Table <0x00-0xFF>
+// Define the value of truth logic according to inputs IN[2:0]
+// ccl_arch_truth_1
+#ifndef CONF_CCL_TRUTH_1
+#define CONF_CCL_TRUTH_1 0x0
+#endif
+
+// Input Source Selection 0
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel0_1
+#ifndef CONF_CCL_INSEL0_1
+#define CONF_CCL_INSEL0_1 0x4
+#endif
+
+// Input Source Selection 1
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel1_1
+#ifndef CONF_CCL_INSEL1_1
+#define CONF_CCL_INSEL1_1 0x4
+#endif
+
+// Input Source Selection 2
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel2_1
+#ifndef CONF_CCL_INSEL2_1
+#define CONF_CCL_INSEL2_1 0x4
+#endif
+
+// Edge detector enable
+// ccl_arch_edgesel_1
+#ifndef CONF_CCL_EDGESEL_1
+#define CONF_CCL_EDGESEL_1 0
+#endif
+
+// Output Filter
+// <0x0=> Disabled
+// <0x1=> Synchronizer Enabled
+// <0x2=> Filter Enabled
+// ccl_arch_filtsel_1
+#ifndef CONF_CCL_FILTSEL_1
+#define CONF_CCL_FILTSEL_1 0x0
+#endif
+
+// Event settings 1
+
+// Event output enable
+// ccl_arch_luteo_1
+#ifndef CONF_CCL_LUTEO_1
+#define CONF_CCL_LUTEO_1 0
+#endif
+
+// Event input enable
+// ccl_arch_lutei_1
+#ifndef CONF_CCL_LUTEI_1
+#define CONF_CCL_LUTEI_1 0
+#endif
+
+// Event input invert
+// ccl_arch_invei_1
+#ifndef CONF_CCL_INVEI_1
+#define CONF_CCL_INVEI_1 0
+#endif
+
+//
+
+//
+
+// Persistance settings 1
+
+// Expression Persistance
+// ccl_e_persistance_1
+#define EXPRESSION_PERSISTANCE_1 ""
+
+// Logic Persistance
+// ccl_l_persistance_1
+#define LOGIC_PERSISTANCE_1 ""
+
+//
+
+// Lookup Table Control 2
+// Enable and setup the lookup table module 2
+// ccl_arch_lutctrl2
+#ifndef CONF_CCL_LUTCTRL_EN_2
+#define CONF_CCL_LUTCTRL_EN_2 0
+#endif
+
+// Truth Table <0x00-0xFF>
+// Define the value of truth logic according to inputs IN[2:0]
+// ccl_arch_truth_2
+#ifndef CONF_CCL_TRUTH_2
+#define CONF_CCL_TRUTH_2 0x0
+#endif
+
+// Input Source Selection 0
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel0_2
+#ifndef CONF_CCL_INSEL0_2
+#define CONF_CCL_INSEL0_2 0x4
+#endif
+
+// Input Source Selection 1
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel1_2
+#ifndef CONF_CCL_INSEL1_2
+#define CONF_CCL_INSEL1_2 0x4
+#endif
+
+// Input Source Selection 2
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel2_2
+#ifndef CONF_CCL_INSEL2_2
+#define CONF_CCL_INSEL2_2 0x4
+#endif
+
+// Edge detector enable
+// ccl_arch_edgesel_2
+#ifndef CONF_CCL_EDGESEL_2
+#define CONF_CCL_EDGESEL_2 0
+#endif
+
+// Output Filter
+// <0x0=> Disabled
+// <0x1=> Synchronizer Enabled
+// <0x2=> Filter Enabled
+// ccl_arch_filtsel_2
+#ifndef CONF_CCL_FILTSEL_2
+#define CONF_CCL_FILTSEL_2 0x0
+#endif
+
+// Event settings 2
+
+// Event output enable
+// ccl_arch_luteo_2
+#ifndef CONF_CCL_LUTEO_2
+#define CONF_CCL_LUTEO_2 0
+#endif
+
+// Event input enable
+// ccl_arch_lutei_2
+#ifndef CONF_CCL_LUTEI_2
+#define CONF_CCL_LUTEI_2 0
+#endif
+
+// Event input invert
+// ccl_arch_invei_2
+#ifndef CONF_CCL_INVEI_2
+#define CONF_CCL_INVEI_2 0
+#endif
+
+//
+
+//
+
+// Persistance settings 2
+
+// Expression Persistance
+// ccl_e_persistance_2
+#define EXPRESSION_PERSISTANCE_2 ""
+
+// Logic Persistance
+// ccl_l_persistance_2
+#define LOGIC_PERSISTANCE_2 ""
+
+//
+
+// Lookup Table Control 3
+// Enable and setup the lookup table module 3
+// ccl_arch_lutctrl3
+#ifndef CONF_CCL_LUTCTRL_EN_3
+#define CONF_CCL_LUTCTRL_EN_3 0
+#endif
+
+// Truth Table <0x00-0xFF>
+// Define the value of truth logic according to inputs IN[2:0]
+// ccl_arch_truth_3
+#ifndef CONF_CCL_TRUTH_3
+#define CONF_CCL_TRUTH_3 0x0
+#endif
+
+// Input Source Selection 0
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel0_3
+#ifndef CONF_CCL_INSEL0_3
+#define CONF_CCL_INSEL0_3 0x4
+#endif
+
+// Input Source Selection 1
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel1_3
+#ifndef CONF_CCL_INSEL1_3
+#define CONF_CCL_INSEL1_3 0x4
+#endif
+
+// Input Source Selection 2
+// <0x0=> Masked input
+// <0x1=> Feedback input source
+// <0x2=> Linked LookUpTable input source
+// <0x3=> Event input source
+// <0x4=> IO pin input source
+// <0x5=> AC input source
+// <0x6=> TC input source
+// <0x7=> Alternative TC input source
+// <0x8=> TCC input source
+// <0x9=> SERCOM input source
+// ccl_arch_insel2_3
+#ifndef CONF_CCL_INSEL2_3
+#define CONF_CCL_INSEL2_3 0x4
+#endif
+
+// Edge detector enable
+// ccl_arch_edgesel_3
+#ifndef CONF_CCL_EDGESEL_3
+#define CONF_CCL_EDGESEL_3 0
+#endif
+
+// Output Filter
+// <0x0=> Disabled
+// <0x1=> Synchronizer Enabled
+// <0x2=> Filter Enabled
+// ccl_arch_filtsel_3
+#ifndef CONF_CCL_FILTSEL_3
+#define CONF_CCL_FILTSEL_3 0x0
+#endif
+
+// Event settings 3
+
+// Event output enable
+// ccl_arch_luteo_3
+#ifndef CONF_CCL_LUTEO_3
+#define CONF_CCL_LUTEO_3 0
+#endif
+
+// Event input enable
+// ccl_arch_lutei_3
+#ifndef CONF_CCL_LUTEI_3
+#define CONF_CCL_LUTEI_3 0
+#endif
+
+// Event input invert
+// ccl_arch_invei_3
+#ifndef CONF_CCL_INVEI_3
+#define CONF_CCL_INVEI_3 0
+#endif
+
+//
+
+//
+
+// Persistance settings 3
+
+// Expression Persistance
+// ccl_e_persistance_3
+#define EXPRESSION_PERSISTANCE_3 ""
+
+// Logic Persistance
+// ccl_l_persistance_3
+#define LOGIC_PERSISTANCE_3 ""
+
+//
+
+// Advanced configurations
+// ccl_arch_advanced_settings
+#ifndef CONF_CCL_ADVANCED
+#define CONF_CCL_ADVANCED 0
+#endif
+
+// Run in Standby
+// ccl_arch_runstdby
+#ifndef CONF_CCL_RUNSTDBY
+#define CONF_CCL_RUNSTDBY 0
+#endif
+
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_CCL_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_cmcc_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_cmcc_config.h
new file mode 100644
index 0000000..8590736
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_cmcc_config.h
@@ -0,0 +1,54 @@
+/* Auto-generated config file hpl_cmcc_config.h */
+#ifndef HPL_CMCC_CONFIG_H
+#define HPL_CMCC_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// Basic Configuration
+
+// Cache enable
+// Defines the cache should be enabled or not.
+// cmcc_enable
+#ifndef CONF_CMCC_ENABLE
+#define CONF_CMCC_ENABLE 0x0
+#endif
+
+// Cache Size
+// Defines the cache memory size to be configured.
+// <0x0=>1 KB
+// <0x1=>2 KB
+// <0x2=>4 KB
+// cache_size
+#ifndef CONF_CMCC_CACHE_SIZE
+#define CONF_CMCC_CACHE_SIZE 0x2
+#endif
+
+// Advanced Configuration
+// cmcc_advanced_configuration
+// Data cache disable
+// Defines the data cache should be disabled or not.
+// cmcc_data_cache_disable
+#ifndef CONF_CMCC_DATA_CACHE_DISABLE
+#define CONF_CMCC_DATA_CACHE_DISABLE 0x0
+#endif
+
+// Instruction cache disable
+// Defines the Instruction cache should be disabled or not.
+// cmcc_inst_cache_disable
+#ifndef CONF_CMCC_INST_CACHE_DISABLE
+#define CONF_CMCC_INST_CACHE_DISABLE 0x0
+#endif
+
+// Clock Gating disable
+// Defines the clock gating should be disabled or not.
+// cmcc_clock_gating_disable
+#ifndef CONF_CMCC_CLK_GATING_DISABLE
+#define CONF_CMCC_CLK_GATING_DISABLE 0x0
+#endif
+
+//
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_CMCC_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_dmac_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_dmac_config.h
new file mode 100644
index 0000000..111fb23
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_dmac_config.h
@@ -0,0 +1,7277 @@
+/* Auto-generated config file hpl_dmac_config.h */
+#ifndef HPL_DMAC_CONFIG_H
+#define HPL_DMAC_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// DMAC enable
+// Indicates whether dmac is enabled or not
+// dmac_enable
+#ifndef CONF_DMAC_ENABLE
+#define CONF_DMAC_ENABLE 1
+#endif
+
+// Priority Level 0
+// Indicates whether Priority Level 0 is enabled or not
+// dmac_lvlen0
+#ifndef CONF_DMAC_LVLEN0
+#define CONF_DMAC_LVLEN0 1
+#endif
+
+// Level 0 Round-Robin Arbitration
+// <0=> Static arbitration scheme for channel with priority 0
+// <1=> Round-robin arbitration scheme for channel with priority 0
+// Defines Level 0 Arbitration for DMA channels
+// dmac_rrlvlen0
+#ifndef CONF_DMAC_RRLVLEN0
+#define CONF_DMAC_RRLVLEN0 1
+#endif
+
+// Level 0 Channel Priority Number <0x00-0xFF>
+// dmac_lvlpri0
+#ifndef CONF_DMAC_LVLPRI0
+#define CONF_DMAC_LVLPRI0 0
+#endif
+// Priority Level 1
+// Indicates whether Priority Level 1 is enabled or not
+// dmac_lvlen1
+#ifndef CONF_DMAC_LVLEN1
+#define CONF_DMAC_LVLEN1 1
+#endif
+
+// Level 1 Round-Robin Arbitration
+// <0=> Static arbitration scheme for channel with priority 1
+// <1=> Round-robin arbitration scheme for channel with priority 1
+// Defines Level 1 Arbitration for DMA channels
+// dmac_rrlvlen1
+#ifndef CONF_DMAC_RRLVLEN1
+#define CONF_DMAC_RRLVLEN1 1
+#endif
+
+// Level 1 Channel Priority Number <0x00-0xFF>
+// dmac_lvlpri1
+#ifndef CONF_DMAC_LVLPRI1
+#define CONF_DMAC_LVLPRI1 0
+#endif
+// Priority Level 2
+// Indicates whether Priority Level 2 is enabled or not
+// dmac_lvlen2
+#ifndef CONF_DMAC_LVLEN2
+#define CONF_DMAC_LVLEN2 1
+#endif
+
+// Level 2 Round-Robin Arbitration
+// <0=> Static arbitration scheme for channel with priority 2
+// <1=> Round-robin arbitration scheme for channel with priority 2
+// Defines Level 2 Arbitration for DMA channels
+// dmac_rrlvlen2
+#ifndef CONF_DMAC_RRLVLEN2
+#define CONF_DMAC_RRLVLEN2 1
+#endif
+
+// Level 2 Channel Priority Number <0x00-0xFF>
+// dmac_lvlpri2
+#ifndef CONF_DMAC_LVLPRI2
+#define CONF_DMAC_LVLPRI2 0
+#endif
+// Priority Level 3
+// Indicates whether Priority Level 3 is enabled or not
+// dmac_lvlen3
+#ifndef CONF_DMAC_LVLEN3
+#define CONF_DMAC_LVLEN3 1
+#endif
+
+// Level 3 Round-Robin Arbitration
+// <0=> Static arbitration scheme for channel with priority 3
+// <1=> Round-robin arbitration scheme for channel with priority 3
+// Defines Level 3 Arbitration for DMA channels
+// dmac_rrlvlen3
+#ifndef CONF_DMAC_RRLVLEN3
+#define CONF_DMAC_RRLVLEN3 1
+#endif
+
+// Level 3 Channel Priority Number <0x00-0xFF>
+// dmac_lvlpri3
+#ifndef CONF_DMAC_LVLPRI3
+#define CONF_DMAC_LVLPRI3 0
+#endif
+// Debug Run
+// Indicates whether Debug Run is enabled or not
+// dmac_dbgrun
+#ifndef CONF_DMAC_DBGRUN
+#define CONF_DMAC_DBGRUN 0
+#endif
+
+// Channel 0 settings
+// dmac_channel_0_settings
+#ifndef CONF_DMAC_CHANNEL_0_SETTINGS
+#define CONF_DMAC_CHANNEL_0_SETTINGS 1
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 0 is running in standby mode or not
+// dmac_runstdby_0
+#ifndef CONF_DMAC_RUNSTDBY_0
+#define CONF_DMAC_RUNSTDBY_0 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_0
+#ifndef CONF_DMAC_TRIGACT_0
+#define CONF_DMAC_TRIGACT_0 2
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_0
+#ifndef CONF_DMAC_TRIGSRC_0
+#define CONF_DMAC_TRIGSRC_0 14
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_0
+#ifndef CONF_DMAC_LVL_0
+#define CONF_DMAC_LVL_0 1
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_0
+#ifndef CONF_DMAC_EVOE_0
+#define CONF_DMAC_EVOE_0 1
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_0
+#ifndef CONF_DMAC_EVIE_0
+#define CONF_DMAC_EVIE_0 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_0
+#ifndef CONF_DMAC_EVACT_0
+#define CONF_DMAC_EVACT_0 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_0
+#ifndef CONF_DMAC_STEPSIZE_0
+#define CONF_DMAC_STEPSIZE_0 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_0
+#ifndef CONF_DMAC_STEPSEL_0
+#define CONF_DMAC_STEPSEL_0 1
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_0
+#ifndef CONF_DMAC_SRCINC_0
+#define CONF_DMAC_SRCINC_0 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_0
+#ifndef CONF_DMAC_DSTINC_0
+#define CONF_DMAC_DSTINC_0 1
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_0
+#ifndef CONF_DMAC_BEATSIZE_0
+#define CONF_DMAC_BEATSIZE_0 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_0
+#ifndef CONF_DMAC_BLOCKACT_0
+#define CONF_DMAC_BLOCKACT_0 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_0
+#ifndef CONF_DMAC_EVOSEL_0
+#define CONF_DMAC_EVOSEL_0 1
+#endif
+//
+
+// Channel 1 settings
+// dmac_channel_1_settings
+#ifndef CONF_DMAC_CHANNEL_1_SETTINGS
+#define CONF_DMAC_CHANNEL_1_SETTINGS 1
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 1 is running in standby mode or not
+// dmac_runstdby_1
+#ifndef CONF_DMAC_RUNSTDBY_1
+#define CONF_DMAC_RUNSTDBY_1 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_1
+#ifndef CONF_DMAC_TRIGACT_1
+#define CONF_DMAC_TRIGACT_1 2
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_1
+#ifndef CONF_DMAC_TRIGSRC_1
+#define CONF_DMAC_TRIGSRC_1 15
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_1
+#ifndef CONF_DMAC_LVL_1
+#define CONF_DMAC_LVL_1 1
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_1
+#ifndef CONF_DMAC_EVOE_1
+#define CONF_DMAC_EVOE_1 1
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_1
+#ifndef CONF_DMAC_EVIE_1
+#define CONF_DMAC_EVIE_1 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_1
+#ifndef CONF_DMAC_EVACT_1
+#define CONF_DMAC_EVACT_1 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_1
+#ifndef CONF_DMAC_STEPSIZE_1
+#define CONF_DMAC_STEPSIZE_1 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_1
+#ifndef CONF_DMAC_STEPSEL_1
+#define CONF_DMAC_STEPSEL_1 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_1
+#ifndef CONF_DMAC_SRCINC_1
+#define CONF_DMAC_SRCINC_1 1
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_1
+#ifndef CONF_DMAC_DSTINC_1
+#define CONF_DMAC_DSTINC_1 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_1
+#ifndef CONF_DMAC_BEATSIZE_1
+#define CONF_DMAC_BEATSIZE_1 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_1
+#ifndef CONF_DMAC_BLOCKACT_1
+#define CONF_DMAC_BLOCKACT_1 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_1
+#ifndef CONF_DMAC_EVOSEL_1
+#define CONF_DMAC_EVOSEL_1 1
+#endif
+//
+
+// Channel 2 settings
+// dmac_channel_2_settings
+#ifndef CONF_DMAC_CHANNEL_2_SETTINGS
+#define CONF_DMAC_CHANNEL_2_SETTINGS 1
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 2 is running in standby mode or not
+// dmac_runstdby_2
+#ifndef CONF_DMAC_RUNSTDBY_2
+#define CONF_DMAC_RUNSTDBY_2 1
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_2
+#ifndef CONF_DMAC_TRIGACT_2
+#define CONF_DMAC_TRIGACT_2 2
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_2
+#ifndef CONF_DMAC_TRIGSRC_2
+#define CONF_DMAC_TRIGSRC_2 69
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_2
+#ifndef CONF_DMAC_LVL_2
+#define CONF_DMAC_LVL_2 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_2
+#ifndef CONF_DMAC_EVOE_2
+#define CONF_DMAC_EVOE_2 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_2
+#ifndef CONF_DMAC_EVIE_2
+#define CONF_DMAC_EVIE_2 1
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_2
+#ifndef CONF_DMAC_EVACT_2
+#define CONF_DMAC_EVACT_2 5
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_2
+#ifndef CONF_DMAC_STEPSIZE_2
+#define CONF_DMAC_STEPSIZE_2 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_2
+#ifndef CONF_DMAC_STEPSEL_2
+#define CONF_DMAC_STEPSEL_2 1
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_2
+#ifndef CONF_DMAC_SRCINC_2
+#define CONF_DMAC_SRCINC_2 1
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_2
+#ifndef CONF_DMAC_DSTINC_2
+#define CONF_DMAC_DSTINC_2 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_2
+#ifndef CONF_DMAC_BEATSIZE_2
+#define CONF_DMAC_BEATSIZE_2 2
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_2
+#ifndef CONF_DMAC_BLOCKACT_2
+#define CONF_DMAC_BLOCKACT_2 2
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_2
+#ifndef CONF_DMAC_EVOSEL_2
+#define CONF_DMAC_EVOSEL_2 0
+#endif
+//
+
+// Channel 3 settings
+// dmac_channel_3_settings
+#ifndef CONF_DMAC_CHANNEL_3_SETTINGS
+#define CONF_DMAC_CHANNEL_3_SETTINGS 1
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 3 is running in standby mode or not
+// dmac_runstdby_3
+#ifndef CONF_DMAC_RUNSTDBY_3
+#define CONF_DMAC_RUNSTDBY_3 1
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_3
+#ifndef CONF_DMAC_TRIGACT_3
+#define CONF_DMAC_TRIGACT_3 2
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_3
+#ifndef CONF_DMAC_TRIGSRC_3
+#define CONF_DMAC_TRIGSRC_3 68
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_3
+#ifndef CONF_DMAC_LVL_3
+#define CONF_DMAC_LVL_3 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_3
+#ifndef CONF_DMAC_EVOE_3
+#define CONF_DMAC_EVOE_3 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_3
+#ifndef CONF_DMAC_EVIE_3
+#define CONF_DMAC_EVIE_3 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_3
+#ifndef CONF_DMAC_EVACT_3
+#define CONF_DMAC_EVACT_3 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_3
+#ifndef CONF_DMAC_STEPSIZE_3
+#define CONF_DMAC_STEPSIZE_3 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_3
+#ifndef CONF_DMAC_STEPSEL_3
+#define CONF_DMAC_STEPSEL_3 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_3
+#ifndef CONF_DMAC_SRCINC_3
+#define CONF_DMAC_SRCINC_3 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_3
+#ifndef CONF_DMAC_DSTINC_3
+#define CONF_DMAC_DSTINC_3 1
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_3
+#ifndef CONF_DMAC_BEATSIZE_3
+#define CONF_DMAC_BEATSIZE_3 1
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_3
+#ifndef CONF_DMAC_BLOCKACT_3
+#define CONF_DMAC_BLOCKACT_3 1
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_3
+#ifndef CONF_DMAC_EVOSEL_3
+#define CONF_DMAC_EVOSEL_3 0
+#endif
+//
+
+// Channel 4 settings
+// dmac_channel_4_settings
+#ifndef CONF_DMAC_CHANNEL_4_SETTINGS
+#define CONF_DMAC_CHANNEL_4_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 4 is running in standby mode or not
+// dmac_runstdby_4
+#ifndef CONF_DMAC_RUNSTDBY_4
+#define CONF_DMAC_RUNSTDBY_4 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_4
+#ifndef CONF_DMAC_TRIGACT_4
+#define CONF_DMAC_TRIGACT_4 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_4
+#ifndef CONF_DMAC_TRIGSRC_4
+#define CONF_DMAC_TRIGSRC_4 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_4
+#ifndef CONF_DMAC_LVL_4
+#define CONF_DMAC_LVL_4 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_4
+#ifndef CONF_DMAC_EVOE_4
+#define CONF_DMAC_EVOE_4 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_4
+#ifndef CONF_DMAC_EVIE_4
+#define CONF_DMAC_EVIE_4 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_4
+#ifndef CONF_DMAC_EVACT_4
+#define CONF_DMAC_EVACT_4 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_4
+#ifndef CONF_DMAC_STEPSIZE_4
+#define CONF_DMAC_STEPSIZE_4 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_4
+#ifndef CONF_DMAC_STEPSEL_4
+#define CONF_DMAC_STEPSEL_4 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_4
+#ifndef CONF_DMAC_SRCINC_4
+#define CONF_DMAC_SRCINC_4 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_4
+#ifndef CONF_DMAC_DSTINC_4
+#define CONF_DMAC_DSTINC_4 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_4
+#ifndef CONF_DMAC_BEATSIZE_4
+#define CONF_DMAC_BEATSIZE_4 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_4
+#ifndef CONF_DMAC_BLOCKACT_4
+#define CONF_DMAC_BLOCKACT_4 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_4
+#ifndef CONF_DMAC_EVOSEL_4
+#define CONF_DMAC_EVOSEL_4 0
+#endif
+//
+
+// Channel 5 settings
+// dmac_channel_5_settings
+#ifndef CONF_DMAC_CHANNEL_5_SETTINGS
+#define CONF_DMAC_CHANNEL_5_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 5 is running in standby mode or not
+// dmac_runstdby_5
+#ifndef CONF_DMAC_RUNSTDBY_5
+#define CONF_DMAC_RUNSTDBY_5 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_5
+#ifndef CONF_DMAC_TRIGACT_5
+#define CONF_DMAC_TRIGACT_5 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_5
+#ifndef CONF_DMAC_TRIGSRC_5
+#define CONF_DMAC_TRIGSRC_5 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_5
+#ifndef CONF_DMAC_LVL_5
+#define CONF_DMAC_LVL_5 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_5
+#ifndef CONF_DMAC_EVOE_5
+#define CONF_DMAC_EVOE_5 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_5
+#ifndef CONF_DMAC_EVIE_5
+#define CONF_DMAC_EVIE_5 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_5
+#ifndef CONF_DMAC_EVACT_5
+#define CONF_DMAC_EVACT_5 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_5
+#ifndef CONF_DMAC_STEPSIZE_5
+#define CONF_DMAC_STEPSIZE_5 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_5
+#ifndef CONF_DMAC_STEPSEL_5
+#define CONF_DMAC_STEPSEL_5 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_5
+#ifndef CONF_DMAC_SRCINC_5
+#define CONF_DMAC_SRCINC_5 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_5
+#ifndef CONF_DMAC_DSTINC_5
+#define CONF_DMAC_DSTINC_5 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_5
+#ifndef CONF_DMAC_BEATSIZE_5
+#define CONF_DMAC_BEATSIZE_5 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_5
+#ifndef CONF_DMAC_BLOCKACT_5
+#define CONF_DMAC_BLOCKACT_5 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_5
+#ifndef CONF_DMAC_EVOSEL_5
+#define CONF_DMAC_EVOSEL_5 0
+#endif
+//
+
+// Channel 6 settings
+// dmac_channel_6_settings
+#ifndef CONF_DMAC_CHANNEL_6_SETTINGS
+#define CONF_DMAC_CHANNEL_6_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 6 is running in standby mode or not
+// dmac_runstdby_6
+#ifndef CONF_DMAC_RUNSTDBY_6
+#define CONF_DMAC_RUNSTDBY_6 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_6
+#ifndef CONF_DMAC_TRIGACT_6
+#define CONF_DMAC_TRIGACT_6 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_6
+#ifndef CONF_DMAC_TRIGSRC_6
+#define CONF_DMAC_TRIGSRC_6 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_6
+#ifndef CONF_DMAC_LVL_6
+#define CONF_DMAC_LVL_6 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_6
+#ifndef CONF_DMAC_EVOE_6
+#define CONF_DMAC_EVOE_6 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_6
+#ifndef CONF_DMAC_EVIE_6
+#define CONF_DMAC_EVIE_6 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_6
+#ifndef CONF_DMAC_EVACT_6
+#define CONF_DMAC_EVACT_6 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_6
+#ifndef CONF_DMAC_STEPSIZE_6
+#define CONF_DMAC_STEPSIZE_6 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_6
+#ifndef CONF_DMAC_STEPSEL_6
+#define CONF_DMAC_STEPSEL_6 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_6
+#ifndef CONF_DMAC_SRCINC_6
+#define CONF_DMAC_SRCINC_6 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_6
+#ifndef CONF_DMAC_DSTINC_6
+#define CONF_DMAC_DSTINC_6 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_6
+#ifndef CONF_DMAC_BEATSIZE_6
+#define CONF_DMAC_BEATSIZE_6 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_6
+#ifndef CONF_DMAC_BLOCKACT_6
+#define CONF_DMAC_BLOCKACT_6 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_6
+#ifndef CONF_DMAC_EVOSEL_6
+#define CONF_DMAC_EVOSEL_6 0
+#endif
+//
+
+// Channel 7 settings
+// dmac_channel_7_settings
+#ifndef CONF_DMAC_CHANNEL_7_SETTINGS
+#define CONF_DMAC_CHANNEL_7_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 7 is running in standby mode or not
+// dmac_runstdby_7
+#ifndef CONF_DMAC_RUNSTDBY_7
+#define CONF_DMAC_RUNSTDBY_7 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_7
+#ifndef CONF_DMAC_TRIGACT_7
+#define CONF_DMAC_TRIGACT_7 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_7
+#ifndef CONF_DMAC_TRIGSRC_7
+#define CONF_DMAC_TRIGSRC_7 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_7
+#ifndef CONF_DMAC_LVL_7
+#define CONF_DMAC_LVL_7 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_7
+#ifndef CONF_DMAC_EVOE_7
+#define CONF_DMAC_EVOE_7 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_7
+#ifndef CONF_DMAC_EVIE_7
+#define CONF_DMAC_EVIE_7 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_7
+#ifndef CONF_DMAC_EVACT_7
+#define CONF_DMAC_EVACT_7 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_7
+#ifndef CONF_DMAC_STEPSIZE_7
+#define CONF_DMAC_STEPSIZE_7 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_7
+#ifndef CONF_DMAC_STEPSEL_7
+#define CONF_DMAC_STEPSEL_7 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_7
+#ifndef CONF_DMAC_SRCINC_7
+#define CONF_DMAC_SRCINC_7 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_7
+#ifndef CONF_DMAC_DSTINC_7
+#define CONF_DMAC_DSTINC_7 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_7
+#ifndef CONF_DMAC_BEATSIZE_7
+#define CONF_DMAC_BEATSIZE_7 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_7
+#ifndef CONF_DMAC_BLOCKACT_7
+#define CONF_DMAC_BLOCKACT_7 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_7
+#ifndef CONF_DMAC_EVOSEL_7
+#define CONF_DMAC_EVOSEL_7 0
+#endif
+//
+
+// Channel 8 settings
+// dmac_channel_8_settings
+#ifndef CONF_DMAC_CHANNEL_8_SETTINGS
+#define CONF_DMAC_CHANNEL_8_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 8 is running in standby mode or not
+// dmac_runstdby_8
+#ifndef CONF_DMAC_RUNSTDBY_8
+#define CONF_DMAC_RUNSTDBY_8 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_8
+#ifndef CONF_DMAC_TRIGACT_8
+#define CONF_DMAC_TRIGACT_8 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_8
+#ifndef CONF_DMAC_TRIGSRC_8
+#define CONF_DMAC_TRIGSRC_8 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_8
+#ifndef CONF_DMAC_LVL_8
+#define CONF_DMAC_LVL_8 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_8
+#ifndef CONF_DMAC_EVOE_8
+#define CONF_DMAC_EVOE_8 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_8
+#ifndef CONF_DMAC_EVIE_8
+#define CONF_DMAC_EVIE_8 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_8
+#ifndef CONF_DMAC_EVACT_8
+#define CONF_DMAC_EVACT_8 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_8
+#ifndef CONF_DMAC_STEPSIZE_8
+#define CONF_DMAC_STEPSIZE_8 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_8
+#ifndef CONF_DMAC_STEPSEL_8
+#define CONF_DMAC_STEPSEL_8 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_8
+#ifndef CONF_DMAC_SRCINC_8
+#define CONF_DMAC_SRCINC_8 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_8
+#ifndef CONF_DMAC_DSTINC_8
+#define CONF_DMAC_DSTINC_8 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_8
+#ifndef CONF_DMAC_BEATSIZE_8
+#define CONF_DMAC_BEATSIZE_8 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_8
+#ifndef CONF_DMAC_BLOCKACT_8
+#define CONF_DMAC_BLOCKACT_8 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_8
+#ifndef CONF_DMAC_EVOSEL_8
+#define CONF_DMAC_EVOSEL_8 0
+#endif
+//
+
+// Channel 9 settings
+// dmac_channel_9_settings
+#ifndef CONF_DMAC_CHANNEL_9_SETTINGS
+#define CONF_DMAC_CHANNEL_9_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 9 is running in standby mode or not
+// dmac_runstdby_9
+#ifndef CONF_DMAC_RUNSTDBY_9
+#define CONF_DMAC_RUNSTDBY_9 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_9
+#ifndef CONF_DMAC_TRIGACT_9
+#define CONF_DMAC_TRIGACT_9 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_9
+#ifndef CONF_DMAC_TRIGSRC_9
+#define CONF_DMAC_TRIGSRC_9 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_9
+#ifndef CONF_DMAC_LVL_9
+#define CONF_DMAC_LVL_9 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_9
+#ifndef CONF_DMAC_EVOE_9
+#define CONF_DMAC_EVOE_9 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_9
+#ifndef CONF_DMAC_EVIE_9
+#define CONF_DMAC_EVIE_9 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_9
+#ifndef CONF_DMAC_EVACT_9
+#define CONF_DMAC_EVACT_9 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_9
+#ifndef CONF_DMAC_STEPSIZE_9
+#define CONF_DMAC_STEPSIZE_9 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_9
+#ifndef CONF_DMAC_STEPSEL_9
+#define CONF_DMAC_STEPSEL_9 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_9
+#ifndef CONF_DMAC_SRCINC_9
+#define CONF_DMAC_SRCINC_9 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_9
+#ifndef CONF_DMAC_DSTINC_9
+#define CONF_DMAC_DSTINC_9 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_9
+#ifndef CONF_DMAC_BEATSIZE_9
+#define CONF_DMAC_BEATSIZE_9 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_9
+#ifndef CONF_DMAC_BLOCKACT_9
+#define CONF_DMAC_BLOCKACT_9 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_9
+#ifndef CONF_DMAC_EVOSEL_9
+#define CONF_DMAC_EVOSEL_9 0
+#endif
+//
+
+// Channel 10 settings
+// dmac_channel_10_settings
+#ifndef CONF_DMAC_CHANNEL_10_SETTINGS
+#define CONF_DMAC_CHANNEL_10_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 10 is running in standby mode or not
+// dmac_runstdby_10
+#ifndef CONF_DMAC_RUNSTDBY_10
+#define CONF_DMAC_RUNSTDBY_10 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_10
+#ifndef CONF_DMAC_TRIGACT_10
+#define CONF_DMAC_TRIGACT_10 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_10
+#ifndef CONF_DMAC_TRIGSRC_10
+#define CONF_DMAC_TRIGSRC_10 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_10
+#ifndef CONF_DMAC_LVL_10
+#define CONF_DMAC_LVL_10 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_10
+#ifndef CONF_DMAC_EVOE_10
+#define CONF_DMAC_EVOE_10 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_10
+#ifndef CONF_DMAC_EVIE_10
+#define CONF_DMAC_EVIE_10 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_10
+#ifndef CONF_DMAC_EVACT_10
+#define CONF_DMAC_EVACT_10 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_10
+#ifndef CONF_DMAC_STEPSIZE_10
+#define CONF_DMAC_STEPSIZE_10 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_10
+#ifndef CONF_DMAC_STEPSEL_10
+#define CONF_DMAC_STEPSEL_10 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_10
+#ifndef CONF_DMAC_SRCINC_10
+#define CONF_DMAC_SRCINC_10 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_10
+#ifndef CONF_DMAC_DSTINC_10
+#define CONF_DMAC_DSTINC_10 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_10
+#ifndef CONF_DMAC_BEATSIZE_10
+#define CONF_DMAC_BEATSIZE_10 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_10
+#ifndef CONF_DMAC_BLOCKACT_10
+#define CONF_DMAC_BLOCKACT_10 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_10
+#ifndef CONF_DMAC_EVOSEL_10
+#define CONF_DMAC_EVOSEL_10 0
+#endif
+//
+
+// Channel 11 settings
+// dmac_channel_11_settings
+#ifndef CONF_DMAC_CHANNEL_11_SETTINGS
+#define CONF_DMAC_CHANNEL_11_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 11 is running in standby mode or not
+// dmac_runstdby_11
+#ifndef CONF_DMAC_RUNSTDBY_11
+#define CONF_DMAC_RUNSTDBY_11 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_11
+#ifndef CONF_DMAC_TRIGACT_11
+#define CONF_DMAC_TRIGACT_11 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_11
+#ifndef CONF_DMAC_TRIGSRC_11
+#define CONF_DMAC_TRIGSRC_11 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_11
+#ifndef CONF_DMAC_LVL_11
+#define CONF_DMAC_LVL_11 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_11
+#ifndef CONF_DMAC_EVOE_11
+#define CONF_DMAC_EVOE_11 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_11
+#ifndef CONF_DMAC_EVIE_11
+#define CONF_DMAC_EVIE_11 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_11
+#ifndef CONF_DMAC_EVACT_11
+#define CONF_DMAC_EVACT_11 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_11
+#ifndef CONF_DMAC_STEPSIZE_11
+#define CONF_DMAC_STEPSIZE_11 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_11
+#ifndef CONF_DMAC_STEPSEL_11
+#define CONF_DMAC_STEPSEL_11 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_11
+#ifndef CONF_DMAC_SRCINC_11
+#define CONF_DMAC_SRCINC_11 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_11
+#ifndef CONF_DMAC_DSTINC_11
+#define CONF_DMAC_DSTINC_11 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_11
+#ifndef CONF_DMAC_BEATSIZE_11
+#define CONF_DMAC_BEATSIZE_11 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_11
+#ifndef CONF_DMAC_BLOCKACT_11
+#define CONF_DMAC_BLOCKACT_11 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_11
+#ifndef CONF_DMAC_EVOSEL_11
+#define CONF_DMAC_EVOSEL_11 0
+#endif
+//
+
+// Channel 12 settings
+// dmac_channel_12_settings
+#ifndef CONF_DMAC_CHANNEL_12_SETTINGS
+#define CONF_DMAC_CHANNEL_12_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 12 is running in standby mode or not
+// dmac_runstdby_12
+#ifndef CONF_DMAC_RUNSTDBY_12
+#define CONF_DMAC_RUNSTDBY_12 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_12
+#ifndef CONF_DMAC_TRIGACT_12
+#define CONF_DMAC_TRIGACT_12 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_12
+#ifndef CONF_DMAC_TRIGSRC_12
+#define CONF_DMAC_TRIGSRC_12 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_12
+#ifndef CONF_DMAC_LVL_12
+#define CONF_DMAC_LVL_12 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_12
+#ifndef CONF_DMAC_EVOE_12
+#define CONF_DMAC_EVOE_12 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_12
+#ifndef CONF_DMAC_EVIE_12
+#define CONF_DMAC_EVIE_12 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_12
+#ifndef CONF_DMAC_EVACT_12
+#define CONF_DMAC_EVACT_12 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_12
+#ifndef CONF_DMAC_STEPSIZE_12
+#define CONF_DMAC_STEPSIZE_12 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_12
+#ifndef CONF_DMAC_STEPSEL_12
+#define CONF_DMAC_STEPSEL_12 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_12
+#ifndef CONF_DMAC_SRCINC_12
+#define CONF_DMAC_SRCINC_12 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_12
+#ifndef CONF_DMAC_DSTINC_12
+#define CONF_DMAC_DSTINC_12 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_12
+#ifndef CONF_DMAC_BEATSIZE_12
+#define CONF_DMAC_BEATSIZE_12 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_12
+#ifndef CONF_DMAC_BLOCKACT_12
+#define CONF_DMAC_BLOCKACT_12 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_12
+#ifndef CONF_DMAC_EVOSEL_12
+#define CONF_DMAC_EVOSEL_12 0
+#endif
+//
+
+// Channel 13 settings
+// dmac_channel_13_settings
+#ifndef CONF_DMAC_CHANNEL_13_SETTINGS
+#define CONF_DMAC_CHANNEL_13_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 13 is running in standby mode or not
+// dmac_runstdby_13
+#ifndef CONF_DMAC_RUNSTDBY_13
+#define CONF_DMAC_RUNSTDBY_13 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_13
+#ifndef CONF_DMAC_TRIGACT_13
+#define CONF_DMAC_TRIGACT_13 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_13
+#ifndef CONF_DMAC_TRIGSRC_13
+#define CONF_DMAC_TRIGSRC_13 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_13
+#ifndef CONF_DMAC_LVL_13
+#define CONF_DMAC_LVL_13 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_13
+#ifndef CONF_DMAC_EVOE_13
+#define CONF_DMAC_EVOE_13 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_13
+#ifndef CONF_DMAC_EVIE_13
+#define CONF_DMAC_EVIE_13 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_13
+#ifndef CONF_DMAC_EVACT_13
+#define CONF_DMAC_EVACT_13 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_13
+#ifndef CONF_DMAC_STEPSIZE_13
+#define CONF_DMAC_STEPSIZE_13 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_13
+#ifndef CONF_DMAC_STEPSEL_13
+#define CONF_DMAC_STEPSEL_13 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_13
+#ifndef CONF_DMAC_SRCINC_13
+#define CONF_DMAC_SRCINC_13 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_13
+#ifndef CONF_DMAC_DSTINC_13
+#define CONF_DMAC_DSTINC_13 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_13
+#ifndef CONF_DMAC_BEATSIZE_13
+#define CONF_DMAC_BEATSIZE_13 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_13
+#ifndef CONF_DMAC_BLOCKACT_13
+#define CONF_DMAC_BLOCKACT_13 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_13
+#ifndef CONF_DMAC_EVOSEL_13
+#define CONF_DMAC_EVOSEL_13 0
+#endif
+//
+
+// Channel 14 settings
+// dmac_channel_14_settings
+#ifndef CONF_DMAC_CHANNEL_14_SETTINGS
+#define CONF_DMAC_CHANNEL_14_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 14 is running in standby mode or not
+// dmac_runstdby_14
+#ifndef CONF_DMAC_RUNSTDBY_14
+#define CONF_DMAC_RUNSTDBY_14 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_14
+#ifndef CONF_DMAC_TRIGACT_14
+#define CONF_DMAC_TRIGACT_14 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_14
+#ifndef CONF_DMAC_TRIGSRC_14
+#define CONF_DMAC_TRIGSRC_14 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_14
+#ifndef CONF_DMAC_LVL_14
+#define CONF_DMAC_LVL_14 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_14
+#ifndef CONF_DMAC_EVOE_14
+#define CONF_DMAC_EVOE_14 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_14
+#ifndef CONF_DMAC_EVIE_14
+#define CONF_DMAC_EVIE_14 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_14
+#ifndef CONF_DMAC_EVACT_14
+#define CONF_DMAC_EVACT_14 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_14
+#ifndef CONF_DMAC_STEPSIZE_14
+#define CONF_DMAC_STEPSIZE_14 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_14
+#ifndef CONF_DMAC_STEPSEL_14
+#define CONF_DMAC_STEPSEL_14 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_14
+#ifndef CONF_DMAC_SRCINC_14
+#define CONF_DMAC_SRCINC_14 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_14
+#ifndef CONF_DMAC_DSTINC_14
+#define CONF_DMAC_DSTINC_14 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_14
+#ifndef CONF_DMAC_BEATSIZE_14
+#define CONF_DMAC_BEATSIZE_14 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_14
+#ifndef CONF_DMAC_BLOCKACT_14
+#define CONF_DMAC_BLOCKACT_14 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_14
+#ifndef CONF_DMAC_EVOSEL_14
+#define CONF_DMAC_EVOSEL_14 0
+#endif
+//
+
+// Channel 15 settings
+// dmac_channel_15_settings
+#ifndef CONF_DMAC_CHANNEL_15_SETTINGS
+#define CONF_DMAC_CHANNEL_15_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 15 is running in standby mode or not
+// dmac_runstdby_15
+#ifndef CONF_DMAC_RUNSTDBY_15
+#define CONF_DMAC_RUNSTDBY_15 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_15
+#ifndef CONF_DMAC_TRIGACT_15
+#define CONF_DMAC_TRIGACT_15 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_15
+#ifndef CONF_DMAC_TRIGSRC_15
+#define CONF_DMAC_TRIGSRC_15 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_15
+#ifndef CONF_DMAC_LVL_15
+#define CONF_DMAC_LVL_15 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_15
+#ifndef CONF_DMAC_EVOE_15
+#define CONF_DMAC_EVOE_15 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_15
+#ifndef CONF_DMAC_EVIE_15
+#define CONF_DMAC_EVIE_15 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_15
+#ifndef CONF_DMAC_EVACT_15
+#define CONF_DMAC_EVACT_15 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_15
+#ifndef CONF_DMAC_STEPSIZE_15
+#define CONF_DMAC_STEPSIZE_15 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_15
+#ifndef CONF_DMAC_STEPSEL_15
+#define CONF_DMAC_STEPSEL_15 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_15
+#ifndef CONF_DMAC_SRCINC_15
+#define CONF_DMAC_SRCINC_15 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_15
+#ifndef CONF_DMAC_DSTINC_15
+#define CONF_DMAC_DSTINC_15 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_15
+#ifndef CONF_DMAC_BEATSIZE_15
+#define CONF_DMAC_BEATSIZE_15 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_15
+#ifndef CONF_DMAC_BLOCKACT_15
+#define CONF_DMAC_BLOCKACT_15 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_15
+#ifndef CONF_DMAC_EVOSEL_15
+#define CONF_DMAC_EVOSEL_15 0
+#endif
+//
+
+// Channel 16 settings
+// dmac_channel_16_settings
+#ifndef CONF_DMAC_CHANNEL_16_SETTINGS
+#define CONF_DMAC_CHANNEL_16_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 16 is running in standby mode or not
+// dmac_runstdby_16
+#ifndef CONF_DMAC_RUNSTDBY_16
+#define CONF_DMAC_RUNSTDBY_16 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_16
+#ifndef CONF_DMAC_TRIGACT_16
+#define CONF_DMAC_TRIGACT_16 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_16
+#ifndef CONF_DMAC_TRIGSRC_16
+#define CONF_DMAC_TRIGSRC_16 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_16
+#ifndef CONF_DMAC_LVL_16
+#define CONF_DMAC_LVL_16 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_16
+#ifndef CONF_DMAC_EVOE_16
+#define CONF_DMAC_EVOE_16 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_16
+#ifndef CONF_DMAC_EVIE_16
+#define CONF_DMAC_EVIE_16 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_16
+#ifndef CONF_DMAC_EVACT_16
+#define CONF_DMAC_EVACT_16 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_16
+#ifndef CONF_DMAC_STEPSIZE_16
+#define CONF_DMAC_STEPSIZE_16 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_16
+#ifndef CONF_DMAC_STEPSEL_16
+#define CONF_DMAC_STEPSEL_16 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_16
+#ifndef CONF_DMAC_SRCINC_16
+#define CONF_DMAC_SRCINC_16 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_16
+#ifndef CONF_DMAC_DSTINC_16
+#define CONF_DMAC_DSTINC_16 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_16
+#ifndef CONF_DMAC_BEATSIZE_16
+#define CONF_DMAC_BEATSIZE_16 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_16
+#ifndef CONF_DMAC_BLOCKACT_16
+#define CONF_DMAC_BLOCKACT_16 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_16
+#ifndef CONF_DMAC_EVOSEL_16
+#define CONF_DMAC_EVOSEL_16 0
+#endif
+//
+
+// Channel 17 settings
+// dmac_channel_17_settings
+#ifndef CONF_DMAC_CHANNEL_17_SETTINGS
+#define CONF_DMAC_CHANNEL_17_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 17 is running in standby mode or not
+// dmac_runstdby_17
+#ifndef CONF_DMAC_RUNSTDBY_17
+#define CONF_DMAC_RUNSTDBY_17 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_17
+#ifndef CONF_DMAC_TRIGACT_17
+#define CONF_DMAC_TRIGACT_17 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_17
+#ifndef CONF_DMAC_TRIGSRC_17
+#define CONF_DMAC_TRIGSRC_17 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_17
+#ifndef CONF_DMAC_LVL_17
+#define CONF_DMAC_LVL_17 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_17
+#ifndef CONF_DMAC_EVOE_17
+#define CONF_DMAC_EVOE_17 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_17
+#ifndef CONF_DMAC_EVIE_17
+#define CONF_DMAC_EVIE_17 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_17
+#ifndef CONF_DMAC_EVACT_17
+#define CONF_DMAC_EVACT_17 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_17
+#ifndef CONF_DMAC_STEPSIZE_17
+#define CONF_DMAC_STEPSIZE_17 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_17
+#ifndef CONF_DMAC_STEPSEL_17
+#define CONF_DMAC_STEPSEL_17 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_17
+#ifndef CONF_DMAC_SRCINC_17
+#define CONF_DMAC_SRCINC_17 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_17
+#ifndef CONF_DMAC_DSTINC_17
+#define CONF_DMAC_DSTINC_17 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_17
+#ifndef CONF_DMAC_BEATSIZE_17
+#define CONF_DMAC_BEATSIZE_17 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_17
+#ifndef CONF_DMAC_BLOCKACT_17
+#define CONF_DMAC_BLOCKACT_17 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_17
+#ifndef CONF_DMAC_EVOSEL_17
+#define CONF_DMAC_EVOSEL_17 0
+#endif
+//
+
+// Channel 18 settings
+// dmac_channel_18_settings
+#ifndef CONF_DMAC_CHANNEL_18_SETTINGS
+#define CONF_DMAC_CHANNEL_18_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 18 is running in standby mode or not
+// dmac_runstdby_18
+#ifndef CONF_DMAC_RUNSTDBY_18
+#define CONF_DMAC_RUNSTDBY_18 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_18
+#ifndef CONF_DMAC_TRIGACT_18
+#define CONF_DMAC_TRIGACT_18 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_18
+#ifndef CONF_DMAC_TRIGSRC_18
+#define CONF_DMAC_TRIGSRC_18 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_18
+#ifndef CONF_DMAC_LVL_18
+#define CONF_DMAC_LVL_18 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_18
+#ifndef CONF_DMAC_EVOE_18
+#define CONF_DMAC_EVOE_18 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_18
+#ifndef CONF_DMAC_EVIE_18
+#define CONF_DMAC_EVIE_18 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_18
+#ifndef CONF_DMAC_EVACT_18
+#define CONF_DMAC_EVACT_18 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_18
+#ifndef CONF_DMAC_STEPSIZE_18
+#define CONF_DMAC_STEPSIZE_18 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_18
+#ifndef CONF_DMAC_STEPSEL_18
+#define CONF_DMAC_STEPSEL_18 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_18
+#ifndef CONF_DMAC_SRCINC_18
+#define CONF_DMAC_SRCINC_18 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_18
+#ifndef CONF_DMAC_DSTINC_18
+#define CONF_DMAC_DSTINC_18 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_18
+#ifndef CONF_DMAC_BEATSIZE_18
+#define CONF_DMAC_BEATSIZE_18 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_18
+#ifndef CONF_DMAC_BLOCKACT_18
+#define CONF_DMAC_BLOCKACT_18 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_18
+#ifndef CONF_DMAC_EVOSEL_18
+#define CONF_DMAC_EVOSEL_18 0
+#endif
+//
+
+// Channel 19 settings
+// dmac_channel_19_settings
+#ifndef CONF_DMAC_CHANNEL_19_SETTINGS
+#define CONF_DMAC_CHANNEL_19_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 19 is running in standby mode or not
+// dmac_runstdby_19
+#ifndef CONF_DMAC_RUNSTDBY_19
+#define CONF_DMAC_RUNSTDBY_19 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_19
+#ifndef CONF_DMAC_TRIGACT_19
+#define CONF_DMAC_TRIGACT_19 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_19
+#ifndef CONF_DMAC_TRIGSRC_19
+#define CONF_DMAC_TRIGSRC_19 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_19
+#ifndef CONF_DMAC_LVL_19
+#define CONF_DMAC_LVL_19 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_19
+#ifndef CONF_DMAC_EVOE_19
+#define CONF_DMAC_EVOE_19 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_19
+#ifndef CONF_DMAC_EVIE_19
+#define CONF_DMAC_EVIE_19 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_19
+#ifndef CONF_DMAC_EVACT_19
+#define CONF_DMAC_EVACT_19 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_19
+#ifndef CONF_DMAC_STEPSIZE_19
+#define CONF_DMAC_STEPSIZE_19 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_19
+#ifndef CONF_DMAC_STEPSEL_19
+#define CONF_DMAC_STEPSEL_19 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_19
+#ifndef CONF_DMAC_SRCINC_19
+#define CONF_DMAC_SRCINC_19 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_19
+#ifndef CONF_DMAC_DSTINC_19
+#define CONF_DMAC_DSTINC_19 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_19
+#ifndef CONF_DMAC_BEATSIZE_19
+#define CONF_DMAC_BEATSIZE_19 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_19
+#ifndef CONF_DMAC_BLOCKACT_19
+#define CONF_DMAC_BLOCKACT_19 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_19
+#ifndef CONF_DMAC_EVOSEL_19
+#define CONF_DMAC_EVOSEL_19 0
+#endif
+//
+
+// Channel 20 settings
+// dmac_channel_20_settings
+#ifndef CONF_DMAC_CHANNEL_20_SETTINGS
+#define CONF_DMAC_CHANNEL_20_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 20 is running in standby mode or not
+// dmac_runstdby_20
+#ifndef CONF_DMAC_RUNSTDBY_20
+#define CONF_DMAC_RUNSTDBY_20 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_20
+#ifndef CONF_DMAC_TRIGACT_20
+#define CONF_DMAC_TRIGACT_20 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_20
+#ifndef CONF_DMAC_TRIGSRC_20
+#define CONF_DMAC_TRIGSRC_20 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_20
+#ifndef CONF_DMAC_LVL_20
+#define CONF_DMAC_LVL_20 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_20
+#ifndef CONF_DMAC_EVOE_20
+#define CONF_DMAC_EVOE_20 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_20
+#ifndef CONF_DMAC_EVIE_20
+#define CONF_DMAC_EVIE_20 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_20
+#ifndef CONF_DMAC_EVACT_20
+#define CONF_DMAC_EVACT_20 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_20
+#ifndef CONF_DMAC_STEPSIZE_20
+#define CONF_DMAC_STEPSIZE_20 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_20
+#ifndef CONF_DMAC_STEPSEL_20
+#define CONF_DMAC_STEPSEL_20 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_20
+#ifndef CONF_DMAC_SRCINC_20
+#define CONF_DMAC_SRCINC_20 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_20
+#ifndef CONF_DMAC_DSTINC_20
+#define CONF_DMAC_DSTINC_20 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_20
+#ifndef CONF_DMAC_BEATSIZE_20
+#define CONF_DMAC_BEATSIZE_20 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_20
+#ifndef CONF_DMAC_BLOCKACT_20
+#define CONF_DMAC_BLOCKACT_20 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_20
+#ifndef CONF_DMAC_EVOSEL_20
+#define CONF_DMAC_EVOSEL_20 0
+#endif
+//
+
+// Channel 21 settings
+// dmac_channel_21_settings
+#ifndef CONF_DMAC_CHANNEL_21_SETTINGS
+#define CONF_DMAC_CHANNEL_21_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 21 is running in standby mode or not
+// dmac_runstdby_21
+#ifndef CONF_DMAC_RUNSTDBY_21
+#define CONF_DMAC_RUNSTDBY_21 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_21
+#ifndef CONF_DMAC_TRIGACT_21
+#define CONF_DMAC_TRIGACT_21 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_21
+#ifndef CONF_DMAC_TRIGSRC_21
+#define CONF_DMAC_TRIGSRC_21 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_21
+#ifndef CONF_DMAC_LVL_21
+#define CONF_DMAC_LVL_21 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_21
+#ifndef CONF_DMAC_EVOE_21
+#define CONF_DMAC_EVOE_21 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_21
+#ifndef CONF_DMAC_EVIE_21
+#define CONF_DMAC_EVIE_21 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_21
+#ifndef CONF_DMAC_EVACT_21
+#define CONF_DMAC_EVACT_21 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_21
+#ifndef CONF_DMAC_STEPSIZE_21
+#define CONF_DMAC_STEPSIZE_21 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_21
+#ifndef CONF_DMAC_STEPSEL_21
+#define CONF_DMAC_STEPSEL_21 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_21
+#ifndef CONF_DMAC_SRCINC_21
+#define CONF_DMAC_SRCINC_21 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_21
+#ifndef CONF_DMAC_DSTINC_21
+#define CONF_DMAC_DSTINC_21 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_21
+#ifndef CONF_DMAC_BEATSIZE_21
+#define CONF_DMAC_BEATSIZE_21 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_21
+#ifndef CONF_DMAC_BLOCKACT_21
+#define CONF_DMAC_BLOCKACT_21 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_21
+#ifndef CONF_DMAC_EVOSEL_21
+#define CONF_DMAC_EVOSEL_21 0
+#endif
+//
+
+// Channel 22 settings
+// dmac_channel_22_settings
+#ifndef CONF_DMAC_CHANNEL_22_SETTINGS
+#define CONF_DMAC_CHANNEL_22_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 22 is running in standby mode or not
+// dmac_runstdby_22
+#ifndef CONF_DMAC_RUNSTDBY_22
+#define CONF_DMAC_RUNSTDBY_22 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_22
+#ifndef CONF_DMAC_TRIGACT_22
+#define CONF_DMAC_TRIGACT_22 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_22
+#ifndef CONF_DMAC_TRIGSRC_22
+#define CONF_DMAC_TRIGSRC_22 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_22
+#ifndef CONF_DMAC_LVL_22
+#define CONF_DMAC_LVL_22 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_22
+#ifndef CONF_DMAC_EVOE_22
+#define CONF_DMAC_EVOE_22 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_22
+#ifndef CONF_DMAC_EVIE_22
+#define CONF_DMAC_EVIE_22 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_22
+#ifndef CONF_DMAC_EVACT_22
+#define CONF_DMAC_EVACT_22 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_22
+#ifndef CONF_DMAC_STEPSIZE_22
+#define CONF_DMAC_STEPSIZE_22 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_22
+#ifndef CONF_DMAC_STEPSEL_22
+#define CONF_DMAC_STEPSEL_22 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_22
+#ifndef CONF_DMAC_SRCINC_22
+#define CONF_DMAC_SRCINC_22 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_22
+#ifndef CONF_DMAC_DSTINC_22
+#define CONF_DMAC_DSTINC_22 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_22
+#ifndef CONF_DMAC_BEATSIZE_22
+#define CONF_DMAC_BEATSIZE_22 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_22
+#ifndef CONF_DMAC_BLOCKACT_22
+#define CONF_DMAC_BLOCKACT_22 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_22
+#ifndef CONF_DMAC_EVOSEL_22
+#define CONF_DMAC_EVOSEL_22 0
+#endif
+//
+
+// Channel 23 settings
+// dmac_channel_23_settings
+#ifndef CONF_DMAC_CHANNEL_23_SETTINGS
+#define CONF_DMAC_CHANNEL_23_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 23 is running in standby mode or not
+// dmac_runstdby_23
+#ifndef CONF_DMAC_RUNSTDBY_23
+#define CONF_DMAC_RUNSTDBY_23 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_23
+#ifndef CONF_DMAC_TRIGACT_23
+#define CONF_DMAC_TRIGACT_23 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_23
+#ifndef CONF_DMAC_TRIGSRC_23
+#define CONF_DMAC_TRIGSRC_23 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_23
+#ifndef CONF_DMAC_LVL_23
+#define CONF_DMAC_LVL_23 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_23
+#ifndef CONF_DMAC_EVOE_23
+#define CONF_DMAC_EVOE_23 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_23
+#ifndef CONF_DMAC_EVIE_23
+#define CONF_DMAC_EVIE_23 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_23
+#ifndef CONF_DMAC_EVACT_23
+#define CONF_DMAC_EVACT_23 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_23
+#ifndef CONF_DMAC_STEPSIZE_23
+#define CONF_DMAC_STEPSIZE_23 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_23
+#ifndef CONF_DMAC_STEPSEL_23
+#define CONF_DMAC_STEPSEL_23 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_23
+#ifndef CONF_DMAC_SRCINC_23
+#define CONF_DMAC_SRCINC_23 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_23
+#ifndef CONF_DMAC_DSTINC_23
+#define CONF_DMAC_DSTINC_23 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_23
+#ifndef CONF_DMAC_BEATSIZE_23
+#define CONF_DMAC_BEATSIZE_23 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_23
+#ifndef CONF_DMAC_BLOCKACT_23
+#define CONF_DMAC_BLOCKACT_23 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_23
+#ifndef CONF_DMAC_EVOSEL_23
+#define CONF_DMAC_EVOSEL_23 0
+#endif
+//
+
+// Channel 24 settings
+// dmac_channel_24_settings
+#ifndef CONF_DMAC_CHANNEL_24_SETTINGS
+#define CONF_DMAC_CHANNEL_24_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 24 is running in standby mode or not
+// dmac_runstdby_24
+#ifndef CONF_DMAC_RUNSTDBY_24
+#define CONF_DMAC_RUNSTDBY_24 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_24
+#ifndef CONF_DMAC_TRIGACT_24
+#define CONF_DMAC_TRIGACT_24 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_24
+#ifndef CONF_DMAC_TRIGSRC_24
+#define CONF_DMAC_TRIGSRC_24 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_24
+#ifndef CONF_DMAC_LVL_24
+#define CONF_DMAC_LVL_24 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_24
+#ifndef CONF_DMAC_EVOE_24
+#define CONF_DMAC_EVOE_24 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_24
+#ifndef CONF_DMAC_EVIE_24
+#define CONF_DMAC_EVIE_24 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_24
+#ifndef CONF_DMAC_EVACT_24
+#define CONF_DMAC_EVACT_24 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_24
+#ifndef CONF_DMAC_STEPSIZE_24
+#define CONF_DMAC_STEPSIZE_24 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_24
+#ifndef CONF_DMAC_STEPSEL_24
+#define CONF_DMAC_STEPSEL_24 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_24
+#ifndef CONF_DMAC_SRCINC_24
+#define CONF_DMAC_SRCINC_24 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_24
+#ifndef CONF_DMAC_DSTINC_24
+#define CONF_DMAC_DSTINC_24 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_24
+#ifndef CONF_DMAC_BEATSIZE_24
+#define CONF_DMAC_BEATSIZE_24 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_24
+#ifndef CONF_DMAC_BLOCKACT_24
+#define CONF_DMAC_BLOCKACT_24 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_24
+#ifndef CONF_DMAC_EVOSEL_24
+#define CONF_DMAC_EVOSEL_24 0
+#endif
+//
+
+// Channel 25 settings
+// dmac_channel_25_settings
+#ifndef CONF_DMAC_CHANNEL_25_SETTINGS
+#define CONF_DMAC_CHANNEL_25_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 25 is running in standby mode or not
+// dmac_runstdby_25
+#ifndef CONF_DMAC_RUNSTDBY_25
+#define CONF_DMAC_RUNSTDBY_25 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_25
+#ifndef CONF_DMAC_TRIGACT_25
+#define CONF_DMAC_TRIGACT_25 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_25
+#ifndef CONF_DMAC_TRIGSRC_25
+#define CONF_DMAC_TRIGSRC_25 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_25
+#ifndef CONF_DMAC_LVL_25
+#define CONF_DMAC_LVL_25 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_25
+#ifndef CONF_DMAC_EVOE_25
+#define CONF_DMAC_EVOE_25 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_25
+#ifndef CONF_DMAC_EVIE_25
+#define CONF_DMAC_EVIE_25 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_25
+#ifndef CONF_DMAC_EVACT_25
+#define CONF_DMAC_EVACT_25 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_25
+#ifndef CONF_DMAC_STEPSIZE_25
+#define CONF_DMAC_STEPSIZE_25 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_25
+#ifndef CONF_DMAC_STEPSEL_25
+#define CONF_DMAC_STEPSEL_25 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_25
+#ifndef CONF_DMAC_SRCINC_25
+#define CONF_DMAC_SRCINC_25 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_25
+#ifndef CONF_DMAC_DSTINC_25
+#define CONF_DMAC_DSTINC_25 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_25
+#ifndef CONF_DMAC_BEATSIZE_25
+#define CONF_DMAC_BEATSIZE_25 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_25
+#ifndef CONF_DMAC_BLOCKACT_25
+#define CONF_DMAC_BLOCKACT_25 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_25
+#ifndef CONF_DMAC_EVOSEL_25
+#define CONF_DMAC_EVOSEL_25 0
+#endif
+//
+
+// Channel 26 settings
+// dmac_channel_26_settings
+#ifndef CONF_DMAC_CHANNEL_26_SETTINGS
+#define CONF_DMAC_CHANNEL_26_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 26 is running in standby mode or not
+// dmac_runstdby_26
+#ifndef CONF_DMAC_RUNSTDBY_26
+#define CONF_DMAC_RUNSTDBY_26 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_26
+#ifndef CONF_DMAC_TRIGACT_26
+#define CONF_DMAC_TRIGACT_26 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_26
+#ifndef CONF_DMAC_TRIGSRC_26
+#define CONF_DMAC_TRIGSRC_26 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_26
+#ifndef CONF_DMAC_LVL_26
+#define CONF_DMAC_LVL_26 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_26
+#ifndef CONF_DMAC_EVOE_26
+#define CONF_DMAC_EVOE_26 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_26
+#ifndef CONF_DMAC_EVIE_26
+#define CONF_DMAC_EVIE_26 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_26
+#ifndef CONF_DMAC_EVACT_26
+#define CONF_DMAC_EVACT_26 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_26
+#ifndef CONF_DMAC_STEPSIZE_26
+#define CONF_DMAC_STEPSIZE_26 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_26
+#ifndef CONF_DMAC_STEPSEL_26
+#define CONF_DMAC_STEPSEL_26 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_26
+#ifndef CONF_DMAC_SRCINC_26
+#define CONF_DMAC_SRCINC_26 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_26
+#ifndef CONF_DMAC_DSTINC_26
+#define CONF_DMAC_DSTINC_26 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_26
+#ifndef CONF_DMAC_BEATSIZE_26
+#define CONF_DMAC_BEATSIZE_26 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_26
+#ifndef CONF_DMAC_BLOCKACT_26
+#define CONF_DMAC_BLOCKACT_26 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_26
+#ifndef CONF_DMAC_EVOSEL_26
+#define CONF_DMAC_EVOSEL_26 0
+#endif
+//
+
+// Channel 27 settings
+// dmac_channel_27_settings
+#ifndef CONF_DMAC_CHANNEL_27_SETTINGS
+#define CONF_DMAC_CHANNEL_27_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 27 is running in standby mode or not
+// dmac_runstdby_27
+#ifndef CONF_DMAC_RUNSTDBY_27
+#define CONF_DMAC_RUNSTDBY_27 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_27
+#ifndef CONF_DMAC_TRIGACT_27
+#define CONF_DMAC_TRIGACT_27 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_27
+#ifndef CONF_DMAC_TRIGSRC_27
+#define CONF_DMAC_TRIGSRC_27 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_27
+#ifndef CONF_DMAC_LVL_27
+#define CONF_DMAC_LVL_27 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_27
+#ifndef CONF_DMAC_EVOE_27
+#define CONF_DMAC_EVOE_27 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_27
+#ifndef CONF_DMAC_EVIE_27
+#define CONF_DMAC_EVIE_27 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_27
+#ifndef CONF_DMAC_EVACT_27
+#define CONF_DMAC_EVACT_27 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_27
+#ifndef CONF_DMAC_STEPSIZE_27
+#define CONF_DMAC_STEPSIZE_27 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_27
+#ifndef CONF_DMAC_STEPSEL_27
+#define CONF_DMAC_STEPSEL_27 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_27
+#ifndef CONF_DMAC_SRCINC_27
+#define CONF_DMAC_SRCINC_27 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_27
+#ifndef CONF_DMAC_DSTINC_27
+#define CONF_DMAC_DSTINC_27 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_27
+#ifndef CONF_DMAC_BEATSIZE_27
+#define CONF_DMAC_BEATSIZE_27 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_27
+#ifndef CONF_DMAC_BLOCKACT_27
+#define CONF_DMAC_BLOCKACT_27 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_27
+#ifndef CONF_DMAC_EVOSEL_27
+#define CONF_DMAC_EVOSEL_27 0
+#endif
+//
+
+// Channel 28 settings
+// dmac_channel_28_settings
+#ifndef CONF_DMAC_CHANNEL_28_SETTINGS
+#define CONF_DMAC_CHANNEL_28_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 28 is running in standby mode or not
+// dmac_runstdby_28
+#ifndef CONF_DMAC_RUNSTDBY_28
+#define CONF_DMAC_RUNSTDBY_28 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_28
+#ifndef CONF_DMAC_TRIGACT_28
+#define CONF_DMAC_TRIGACT_28 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_28
+#ifndef CONF_DMAC_TRIGSRC_28
+#define CONF_DMAC_TRIGSRC_28 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_28
+#ifndef CONF_DMAC_LVL_28
+#define CONF_DMAC_LVL_28 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_28
+#ifndef CONF_DMAC_EVOE_28
+#define CONF_DMAC_EVOE_28 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_28
+#ifndef CONF_DMAC_EVIE_28
+#define CONF_DMAC_EVIE_28 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_28
+#ifndef CONF_DMAC_EVACT_28
+#define CONF_DMAC_EVACT_28 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_28
+#ifndef CONF_DMAC_STEPSIZE_28
+#define CONF_DMAC_STEPSIZE_28 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_28
+#ifndef CONF_DMAC_STEPSEL_28
+#define CONF_DMAC_STEPSEL_28 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_28
+#ifndef CONF_DMAC_SRCINC_28
+#define CONF_DMAC_SRCINC_28 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_28
+#ifndef CONF_DMAC_DSTINC_28
+#define CONF_DMAC_DSTINC_28 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_28
+#ifndef CONF_DMAC_BEATSIZE_28
+#define CONF_DMAC_BEATSIZE_28 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_28
+#ifndef CONF_DMAC_BLOCKACT_28
+#define CONF_DMAC_BLOCKACT_28 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_28
+#ifndef CONF_DMAC_EVOSEL_28
+#define CONF_DMAC_EVOSEL_28 0
+#endif
+//
+
+// Channel 29 settings
+// dmac_channel_29_settings
+#ifndef CONF_DMAC_CHANNEL_29_SETTINGS
+#define CONF_DMAC_CHANNEL_29_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 29 is running in standby mode or not
+// dmac_runstdby_29
+#ifndef CONF_DMAC_RUNSTDBY_29
+#define CONF_DMAC_RUNSTDBY_29 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_29
+#ifndef CONF_DMAC_TRIGACT_29
+#define CONF_DMAC_TRIGACT_29 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_29
+#ifndef CONF_DMAC_TRIGSRC_29
+#define CONF_DMAC_TRIGSRC_29 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_29
+#ifndef CONF_DMAC_LVL_29
+#define CONF_DMAC_LVL_29 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_29
+#ifndef CONF_DMAC_EVOE_29
+#define CONF_DMAC_EVOE_29 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_29
+#ifndef CONF_DMAC_EVIE_29
+#define CONF_DMAC_EVIE_29 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_29
+#ifndef CONF_DMAC_EVACT_29
+#define CONF_DMAC_EVACT_29 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_29
+#ifndef CONF_DMAC_STEPSIZE_29
+#define CONF_DMAC_STEPSIZE_29 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_29
+#ifndef CONF_DMAC_STEPSEL_29
+#define CONF_DMAC_STEPSEL_29 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_29
+#ifndef CONF_DMAC_SRCINC_29
+#define CONF_DMAC_SRCINC_29 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_29
+#ifndef CONF_DMAC_DSTINC_29
+#define CONF_DMAC_DSTINC_29 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_29
+#ifndef CONF_DMAC_BEATSIZE_29
+#define CONF_DMAC_BEATSIZE_29 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_29
+#ifndef CONF_DMAC_BLOCKACT_29
+#define CONF_DMAC_BLOCKACT_29 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_29
+#ifndef CONF_DMAC_EVOSEL_29
+#define CONF_DMAC_EVOSEL_29 0
+#endif
+//
+
+// Channel 30 settings
+// dmac_channel_30_settings
+#ifndef CONF_DMAC_CHANNEL_30_SETTINGS
+#define CONF_DMAC_CHANNEL_30_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 30 is running in standby mode or not
+// dmac_runstdby_30
+#ifndef CONF_DMAC_RUNSTDBY_30
+#define CONF_DMAC_RUNSTDBY_30 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_30
+#ifndef CONF_DMAC_TRIGACT_30
+#define CONF_DMAC_TRIGACT_30 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_30
+#ifndef CONF_DMAC_TRIGSRC_30
+#define CONF_DMAC_TRIGSRC_30 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_30
+#ifndef CONF_DMAC_LVL_30
+#define CONF_DMAC_LVL_30 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_30
+#ifndef CONF_DMAC_EVOE_30
+#define CONF_DMAC_EVOE_30 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_30
+#ifndef CONF_DMAC_EVIE_30
+#define CONF_DMAC_EVIE_30 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_30
+#ifndef CONF_DMAC_EVACT_30
+#define CONF_DMAC_EVACT_30 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_30
+#ifndef CONF_DMAC_STEPSIZE_30
+#define CONF_DMAC_STEPSIZE_30 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_30
+#ifndef CONF_DMAC_STEPSEL_30
+#define CONF_DMAC_STEPSEL_30 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_30
+#ifndef CONF_DMAC_SRCINC_30
+#define CONF_DMAC_SRCINC_30 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_30
+#ifndef CONF_DMAC_DSTINC_30
+#define CONF_DMAC_DSTINC_30 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_30
+#ifndef CONF_DMAC_BEATSIZE_30
+#define CONF_DMAC_BEATSIZE_30 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_30
+#ifndef CONF_DMAC_BLOCKACT_30
+#define CONF_DMAC_BLOCKACT_30 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_30
+#ifndef CONF_DMAC_EVOSEL_30
+#define CONF_DMAC_EVOSEL_30 0
+#endif
+//
+
+// Channel 31 settings
+// dmac_channel_31_settings
+#ifndef CONF_DMAC_CHANNEL_31_SETTINGS
+#define CONF_DMAC_CHANNEL_31_SETTINGS 0
+#endif
+
+// Channel Run in Standby
+// Indicates whether channel 31 is running in standby mode or not
+// dmac_runstdby_31
+#ifndef CONF_DMAC_RUNSTDBY_31
+#define CONF_DMAC_RUNSTDBY_31 0
+#endif
+
+// Trigger action
+// <0=> One trigger required for each block transfer
+// <2=> One trigger required for each beat transfer
+// <3=> One trigger required for each transaction
+// Defines the trigger action used for a transfer
+// dmac_trigact_31
+#ifndef CONF_DMAC_TRIGACT_31
+#define CONF_DMAC_TRIGACT_31 0
+#endif
+
+// Trigger source
+// <0x00=> Only software/event triggers
+// <0x01=> RTC Time Stamp Trigger
+// <0x02=> DSU Debug Communication Channel 0 Trigger
+// <0x03=> DSU Debug Communication Channel 1 Trigger
+// <0x04=> SERCOM0 RX Trigger
+// <0x05=> SERCOM0 TX Trigger
+// <0x06=> SERCOM1 RX Trigger
+// <0x07=> SERCOM1 TX Trigger
+// <0x08=> SERCOM2 RX Trigger
+// <0x09=> SERCOM2 TX Trigger
+// <0x0A=> SERCOM3 RX Trigger
+// <0x0B=> SERCOM3 TX Trigger
+// <0x0C=> SERCOM4 RX Trigger
+// <0x0D=> SERCOM4 TX Trigger
+// <0x0E=> SERCOM5 RX Trigger
+// <0x0F=> SERCOM5 TX Trigger
+// <0x10=> SERCOM6 RX Trigger
+// <0x11=> SERCOM6 TX Trigger
+// <0x12=> SERCOM7 RX Trigger
+// <0x13=> SERCOM7 TX Trigger
+// <0x14=> CAN0 DEBUG Trigger
+// <0x15=> CAN1 DEBUG Trigger
+// <0x16=> TCC0 Overflow Trigger Trigger
+// <0x17=> TCC0 Match/Compare 0 Trigger Trigger
+// <0x18=> TCC0 Match/Compare 1 Trigger Trigger
+// <0x19=> TCC0 Match/Compare 2 Trigger Trigger
+// <0x1A=> TCC0 Match/Compare 3 Trigger Trigger
+// <0x1B=> TCC0 Match/Compare 4 Trigger Trigger
+// <0x1C=> TCC0 Match/Compare 5 Trigger Trigger
+// <0x1D=> TCC1 Overflow Trigger Trigger
+// <0x1E=> TCC1 Match/Compare 0 Trigger Trigger
+// <0x1F=> TCC1 Match/Compare 1 Trigger Trigger
+// <0x20=> TCC1 Match/Compare 2 Trigger Trigger
+// <0x21=> TCC1 Match/Compare 3 Trigger Trigger
+// <0x22=> TCC2 Overflow Trigger Trigger
+// <0x23=> TCC2 Match/Compare 0 Trigger Trigger
+// <0x24=> TCC2 Match/Compare 1 Trigger Trigger
+// <0x25=> TCC2 Match/Compare 2 Trigger Trigger
+// <0x26=> TCC3 Overflow Trigger Trigger
+// <0x27=> TCC3 Match/Compare 0 Trigger Trigger
+// <0x28=> TCC3 Match/Compare 1 Trigger Trigger
+// <0x29=> TCC4 Overflow Trigger Trigger
+// <0x2A=> TCC4 Match/Compare 0 Trigger Trigger
+// <0x2B=> TCC4 Match/Compare 1 Trigger Trigger
+// <0x2C=> TC0 Overflow Trigger
+// <0x2D=> TC0 Match/Compare 0 Trigger
+// <0x2E=> TC0 Match/Compare 1 Trigger
+// <0x2F=> TC1 Overflow Trigger
+// <0x30=> TC1 Match/Compare 0 Trigger
+// <0x31=> TC1 Match/Compare 1 Trigger
+// <0x32=> TC2 Overflow Trigger
+// <0x33=> TC2 Match/Compare 0 Trigger
+// <0x34=> TC2 Match/Compare 1 Trigger
+// <0x35=> TC3 Overflow Trigger
+// <0x36=> TC3 Match/Compare 0 Trigger
+// <0x37=> TC3 Match/Compare 1 Trigger
+// <0x38=> TC4 Overflow Trigger
+// <0x39=> TC4 Match/Compare 0 Trigger
+// <0x3A=> TC4 Match/Compare 1 Trigger
+// <0x3B=> TC5 Overflow Trigger
+// <0x3C=> TC5 Match/Compare 0 Trigger
+// <0x3D=> TC5 Match/Compare 1 Trigger
+// <0x3E=> TC6 Overflow Trigger
+// <0x3F=> TC6 Match/Compare 0 Trigger
+// <0x40=> TC6 Match/Compare 1 Trigger
+// <0x41=> TC7 Overflow Trigger
+// <0x42=> TC7 Match/Compare 0 Trigger
+// <0x43=> TC7 Match/Compare 1 Trigger
+// <0x44=> ADC0 Result Ready Trigger
+// <0x45=> ADC0 Sequencing Trigger
+// <0x46=> ADC1 Result Ready Trigger
+// <0x47=> ADC1 Sequencing Trigger
+// <0x48=> DAC Empty 0 Trigger
+// <0x49=> DAC Empty 1 Trigger
+// <0x4A=> DAC Result Ready 0 Trigger
+// <0x4B=> DAC Result Ready 1 Trigger
+// <0x4C=> I2S Rx 0 Trigger
+// <0x4D=> I2S Rx 1 Trigger
+// <0x4E=> I2S Tx 0 Trigger
+// <0x4F=> I2S Tx 1 Trigger
+// <0x50=> PCC RX Trigger
+// <0x51=> AES Write Trigger
+// <0x52=> AES Read Trigger
+// <0x53=> QSPI Rx Trigger
+// <0x54=> QSPI Tx Trigger
+// Defines the peripheral trigger which is source of the transfer
+// dmac_trifsrc_31
+#ifndef CONF_DMAC_TRIGSRC_31
+#define CONF_DMAC_TRIGSRC_31 0
+#endif
+
+// Channel Arbitration Level
+// <0=> Channel priority 0
+// <1=> Channel priority 1
+// <2=> Channel priority 2
+// <3=> Channel priority 3
+// Defines the arbitration level for this channel
+// dmac_lvl_31
+#ifndef CONF_DMAC_LVL_31
+#define CONF_DMAC_LVL_31 0
+#endif
+
+// Channel Event Output
+// Indicates whether channel event generation is enabled or not
+// dmac_evoe_31
+#ifndef CONF_DMAC_EVOE_31
+#define CONF_DMAC_EVOE_31 0
+#endif
+
+// Channel Event Input
+// Indicates whether channel event reception is enabled or not
+// dmac_evie_31
+#ifndef CONF_DMAC_EVIE_31
+#define CONF_DMAC_EVIE_31 0
+#endif
+
+// Event Input Action
+// <0=> No action
+// <1=> Normal transfer and conditional transfer on strobe trigger
+// <2=> Conditional transfer trigger
+// <3=> Conditional block transfer
+// <4=> Channel suspend operation
+// <5=> Channel resume operation
+// <6=> Skip next block suspend action
+// Defines the event input action
+// dmac_evact_31
+#ifndef CONF_DMAC_EVACT_31
+#define CONF_DMAC_EVACT_31 0
+#endif
+
+// Address Increment Step Size
+// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
+// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
+// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
+// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
+// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
+// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
+// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
+// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
+// Defines the address increment step size, applies to source or destination address
+// dmac_stepsize_31
+#ifndef CONF_DMAC_STEPSIZE_31
+#define CONF_DMAC_STEPSIZE_31 0
+#endif
+
+// Step Selection
+// <0=> Step size settings apply to the destination address
+// <1=> Step size settings apply to the source address
+// Defines whether source or destination addresses are using the step size settings
+// dmac_stepsel_31
+#ifndef CONF_DMAC_STEPSEL_31
+#define CONF_DMAC_STEPSEL_31 0
+#endif
+
+// Source Address Increment
+// Indicates whether the source address incrementation is enabled or not
+// dmac_srcinc_31
+#ifndef CONF_DMAC_SRCINC_31
+#define CONF_DMAC_SRCINC_31 0
+#endif
+
+// Destination Address Increment
+// Indicates whether the destination address incrementation is enabled or not
+// dmac_dstinc_31
+#ifndef CONF_DMAC_DSTINC_31
+#define CONF_DMAC_DSTINC_31 0
+#endif
+
+// Beat Size
+// <0=> 8-bit bus transfer
+// <1=> 16-bit bus transfer
+// <2=> 32-bit bus transfer
+// Defines the size of one beat
+// dmac_beatsize_31
+#ifndef CONF_DMAC_BEATSIZE_31
+#define CONF_DMAC_BEATSIZE_31 0
+#endif
+
+// Block Action
+// <0=> Channel will be disabled if it is the last block transfer in the transaction
+// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
+// <2=> Channel suspend operation is complete
+// <3=> Both channel suspend operation and block interrupt
+// Defines the the DMAC should take after a block transfer has completed
+// dmac_blockact_31
+#ifndef CONF_DMAC_BLOCKACT_31
+#define CONF_DMAC_BLOCKACT_31 0
+#endif
+
+// Event Output Selection
+// <0=> Event generation disabled
+// <1=> Event strobe when block transfer complete
+// <3=> Event strobe when beat transfer complete
+// Defines the event output selection
+// dmac_evosel_31
+#ifndef CONF_DMAC_EVOSEL_31
+#define CONF_DMAC_EVOSEL_31 0
+#endif
+//
+
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_DMAC_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_evsys_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_evsys_config.h
new file mode 100644
index 0000000..de2aa3e
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_evsys_config.h
@@ -0,0 +1,8363 @@
+/* Auto-generated config file hpl_evsys_config.h */
+#ifndef HPL_EVSYS_CONFIG_H
+#define HPL_EVSYS_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// Channel 0 settings
+// evsys_channel_setting_0
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_0
+#define CONF_EVSYS_CHANNEL_SETTINGS_0 1
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_0
+#ifndef CONF_EDGSEL_0
+#define CONF_EDGSEL_0 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_0
+#ifndef CONF_PATH_0
+#define CONF_PATH_0 EVSYS_CHANNEL_PATH_ASYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_0
+#ifndef CONF_EVGEN_0
+#define CONF_EVGEN_0 50
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_0
+#ifndef CONF_OVR_0
+#define CONF_OVR_0 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_0
+#ifndef CONF_EVD_0
+#define CONF_EVD_0 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_0
+#ifndef CONF_ONDEMAND_0
+#define CONF_ONDEMAND_0 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_0
+#ifndef CONF_RUNSTDBY_0
+#define CONF_RUNSTDBY_0 0
+#endif
+
+//
+
+// Channel 1 settings
+// evsys_channel_setting_1
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_1
+#define CONF_EVSYS_CHANNEL_SETTINGS_1 1
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_1
+#ifndef CONF_EDGSEL_1
+#define CONF_EDGSEL_1 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_1
+#ifndef CONF_PATH_1
+#define CONF_PATH_1 EVSYS_CHANNEL_PATH_ASYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_1
+#ifndef CONF_EVGEN_1
+#define CONF_EVGEN_1 116
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_1
+#ifndef CONF_OVR_1
+#define CONF_OVR_1 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_1
+#ifndef CONF_EVD_1
+#define CONF_EVD_1 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_1
+#ifndef CONF_ONDEMAND_1
+#define CONF_ONDEMAND_1 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_1
+#ifndef CONF_RUNSTDBY_1
+#define CONF_RUNSTDBY_1 0
+#endif
+
+//
+
+// Channel 2 settings
+// evsys_channel_setting_2
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_2
+#define CONF_EVSYS_CHANNEL_SETTINGS_2 1
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_2
+#ifndef CONF_EDGSEL_2
+#define CONF_EDGSEL_2 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_2
+#ifndef CONF_PATH_2
+#define CONF_PATH_2 EVSYS_CHANNEL_PATH_ASYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_2
+#ifndef CONF_EVGEN_2
+#define CONF_EVGEN_2 95
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_2
+#ifndef CONF_OVR_2
+#define CONF_OVR_2 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_2
+#ifndef CONF_EVD_2
+#define CONF_EVD_2 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_2
+#ifndef CONF_ONDEMAND_2
+#define CONF_ONDEMAND_2 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_2
+#ifndef CONF_RUNSTDBY_2
+#define CONF_RUNSTDBY_2 0
+#endif
+
+//
+
+// Channel 3 settings
+// evsys_channel_setting_3
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_3
+#define CONF_EVSYS_CHANNEL_SETTINGS_3 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_3
+#ifndef CONF_EDGSEL_3
+#define CONF_EDGSEL_3 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_3
+#ifndef CONF_PATH_3
+#define CONF_PATH_3 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_3
+#ifndef CONF_EVGEN_3
+#define CONF_EVGEN_3 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_3
+#ifndef CONF_OVR_3
+#define CONF_OVR_3 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_3
+#ifndef CONF_EVD_3
+#define CONF_EVD_3 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_3
+#ifndef CONF_ONDEMAND_3
+#define CONF_ONDEMAND_3 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_3
+#ifndef CONF_RUNSTDBY_3
+#define CONF_RUNSTDBY_3 0
+#endif
+
+//
+
+// Channel 4 settings
+// evsys_channel_setting_4
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_4
+#define CONF_EVSYS_CHANNEL_SETTINGS_4 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_4
+#ifndef CONF_EDGSEL_4
+#define CONF_EDGSEL_4 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_4
+#ifndef CONF_PATH_4
+#define CONF_PATH_4 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_4
+#ifndef CONF_EVGEN_4
+#define CONF_EVGEN_4 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_4
+#ifndef CONF_OVR_4
+#define CONF_OVR_4 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_4
+#ifndef CONF_EVD_4
+#define CONF_EVD_4 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_4
+#ifndef CONF_ONDEMAND_4
+#define CONF_ONDEMAND_4 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_4
+#ifndef CONF_RUNSTDBY_4
+#define CONF_RUNSTDBY_4 0
+#endif
+
+//
+
+// Channel 5 settings
+// evsys_channel_setting_5
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_5
+#define CONF_EVSYS_CHANNEL_SETTINGS_5 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_5
+#ifndef CONF_EDGSEL_5
+#define CONF_EDGSEL_5 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_5
+#ifndef CONF_PATH_5
+#define CONF_PATH_5 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_5
+#ifndef CONF_EVGEN_5
+#define CONF_EVGEN_5 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_5
+#ifndef CONF_OVR_5
+#define CONF_OVR_5 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_5
+#ifndef CONF_EVD_5
+#define CONF_EVD_5 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_5
+#ifndef CONF_ONDEMAND_5
+#define CONF_ONDEMAND_5 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_5
+#ifndef CONF_RUNSTDBY_5
+#define CONF_RUNSTDBY_5 0
+#endif
+
+//
+
+// Channel 6 settings
+// evsys_channel_setting_6
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_6
+#define CONF_EVSYS_CHANNEL_SETTINGS_6 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_6
+#ifndef CONF_EDGSEL_6
+#define CONF_EDGSEL_6 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_6
+#ifndef CONF_PATH_6
+#define CONF_PATH_6 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_6
+#ifndef CONF_EVGEN_6
+#define CONF_EVGEN_6 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_6
+#ifndef CONF_OVR_6
+#define CONF_OVR_6 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_6
+#ifndef CONF_EVD_6
+#define CONF_EVD_6 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_6
+#ifndef CONF_ONDEMAND_6
+#define CONF_ONDEMAND_6 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_6
+#ifndef CONF_RUNSTDBY_6
+#define CONF_RUNSTDBY_6 0
+#endif
+
+//
+
+// Channel 7 settings
+// evsys_channel_setting_7
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_7
+#define CONF_EVSYS_CHANNEL_SETTINGS_7 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_7
+#ifndef CONF_EDGSEL_7
+#define CONF_EDGSEL_7 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_7
+#ifndef CONF_PATH_7
+#define CONF_PATH_7 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_7
+#ifndef CONF_EVGEN_7
+#define CONF_EVGEN_7 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_7
+#ifndef CONF_OVR_7
+#define CONF_OVR_7 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_7
+#ifndef CONF_EVD_7
+#define CONF_EVD_7 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_7
+#ifndef CONF_ONDEMAND_7
+#define CONF_ONDEMAND_7 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_7
+#ifndef CONF_RUNSTDBY_7
+#define CONF_RUNSTDBY_7 0
+#endif
+
+//
+
+// Channel 8 settings
+// evsys_channel_setting_8
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_8
+#define CONF_EVSYS_CHANNEL_SETTINGS_8 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_8
+#ifndef CONF_EDGSEL_8
+#define CONF_EDGSEL_8 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_8
+#ifndef CONF_PATH_8
+#define CONF_PATH_8 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_8
+#ifndef CONF_EVGEN_8
+#define CONF_EVGEN_8 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_8
+#ifndef CONF_OVR_8
+#define CONF_OVR_8 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_8
+#ifndef CONF_EVD_8
+#define CONF_EVD_8 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_8
+#ifndef CONF_ONDEMAND_8
+#define CONF_ONDEMAND_8 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_8
+#ifndef CONF_RUNSTDBY_8
+#define CONF_RUNSTDBY_8 0
+#endif
+
+//
+
+// Channel 9 settings
+// evsys_channel_setting_9
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_9
+#define CONF_EVSYS_CHANNEL_SETTINGS_9 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_9
+#ifndef CONF_EDGSEL_9
+#define CONF_EDGSEL_9 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_9
+#ifndef CONF_PATH_9
+#define CONF_PATH_9 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_9
+#ifndef CONF_EVGEN_9
+#define CONF_EVGEN_9 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_9
+#ifndef CONF_OVR_9
+#define CONF_OVR_9 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_9
+#ifndef CONF_EVD_9
+#define CONF_EVD_9 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_9
+#ifndef CONF_ONDEMAND_9
+#define CONF_ONDEMAND_9 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_9
+#ifndef CONF_RUNSTDBY_9
+#define CONF_RUNSTDBY_9 0
+#endif
+
+//
+
+// Channel 10 settings
+// evsys_channel_setting_10
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_10
+#define CONF_EVSYS_CHANNEL_SETTINGS_10 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_10
+#ifndef CONF_EDGSEL_10
+#define CONF_EDGSEL_10 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_10
+#ifndef CONF_PATH_10
+#define CONF_PATH_10 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_10
+#ifndef CONF_EVGEN_10
+#define CONF_EVGEN_10 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_10
+#ifndef CONF_OVR_10
+#define CONF_OVR_10 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_10
+#ifndef CONF_EVD_10
+#define CONF_EVD_10 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_10
+#ifndef CONF_ONDEMAND_10
+#define CONF_ONDEMAND_10 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_10
+#ifndef CONF_RUNSTDBY_10
+#define CONF_RUNSTDBY_10 0
+#endif
+
+//
+
+// Channel 11 settings
+// evsys_channel_setting_11
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_11
+#define CONF_EVSYS_CHANNEL_SETTINGS_11 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_11
+#ifndef CONF_EDGSEL_11
+#define CONF_EDGSEL_11 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_11
+#ifndef CONF_PATH_11
+#define CONF_PATH_11 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_11
+#ifndef CONF_EVGEN_11
+#define CONF_EVGEN_11 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_11
+#ifndef CONF_OVR_11
+#define CONF_OVR_11 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_11
+#ifndef CONF_EVD_11
+#define CONF_EVD_11 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_11
+#ifndef CONF_ONDEMAND_11
+#define CONF_ONDEMAND_11 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_11
+#ifndef CONF_RUNSTDBY_11
+#define CONF_RUNSTDBY_11 0
+#endif
+
+//
+
+// Channel 12 settings
+// evsys_channel_setting_12
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_12
+#define CONF_EVSYS_CHANNEL_SETTINGS_12 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_12
+#ifndef CONF_EDGSEL_12
+#define CONF_EDGSEL_12 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_12
+#ifndef CONF_PATH_12
+#define CONF_PATH_12 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_12
+#ifndef CONF_EVGEN_12
+#define CONF_EVGEN_12 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_12
+#ifndef CONF_OVR_12
+#define CONF_OVR_12 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_12
+#ifndef CONF_EVD_12
+#define CONF_EVD_12 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_12
+#ifndef CONF_ONDEMAND_12
+#define CONF_ONDEMAND_12 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_12
+#ifndef CONF_RUNSTDBY_12
+#define CONF_RUNSTDBY_12 0
+#endif
+
+//
+
+// Channel 13 settings
+// evsys_channel_setting_13
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_13
+#define CONF_EVSYS_CHANNEL_SETTINGS_13 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_13
+#ifndef CONF_EDGSEL_13
+#define CONF_EDGSEL_13 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_13
+#ifndef CONF_PATH_13
+#define CONF_PATH_13 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_13
+#ifndef CONF_EVGEN_13
+#define CONF_EVGEN_13 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_13
+#ifndef CONF_OVR_13
+#define CONF_OVR_13 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_13
+#ifndef CONF_EVD_13
+#define CONF_EVD_13 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_13
+#ifndef CONF_ONDEMAND_13
+#define CONF_ONDEMAND_13 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_13
+#ifndef CONF_RUNSTDBY_13
+#define CONF_RUNSTDBY_13 0
+#endif
+
+//
+
+// Channel 14 settings
+// evsys_channel_setting_14
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_14
+#define CONF_EVSYS_CHANNEL_SETTINGS_14 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_14
+#ifndef CONF_EDGSEL_14
+#define CONF_EDGSEL_14 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_14
+#ifndef CONF_PATH_14
+#define CONF_PATH_14 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_14
+#ifndef CONF_EVGEN_14
+#define CONF_EVGEN_14 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_14
+#ifndef CONF_OVR_14
+#define CONF_OVR_14 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_14
+#ifndef CONF_EVD_14
+#define CONF_EVD_14 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_14
+#ifndef CONF_ONDEMAND_14
+#define CONF_ONDEMAND_14 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_14
+#ifndef CONF_RUNSTDBY_14
+#define CONF_RUNSTDBY_14 0
+#endif
+
+//
+
+// Channel 15 settings
+// evsys_channel_setting_15
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_15
+#define CONF_EVSYS_CHANNEL_SETTINGS_15 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_15
+#ifndef CONF_EDGSEL_15
+#define CONF_EDGSEL_15 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_15
+#ifndef CONF_PATH_15
+#define CONF_PATH_15 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_15
+#ifndef CONF_EVGEN_15
+#define CONF_EVGEN_15 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_15
+#ifndef CONF_OVR_15
+#define CONF_OVR_15 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_15
+#ifndef CONF_EVD_15
+#define CONF_EVD_15 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_15
+#ifndef CONF_ONDEMAND_15
+#define CONF_ONDEMAND_15 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_15
+#ifndef CONF_RUNSTDBY_15
+#define CONF_RUNSTDBY_15 0
+#endif
+
+//
+
+// Channel 16 settings
+// evsys_channel_setting_16
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_16
+#define CONF_EVSYS_CHANNEL_SETTINGS_16 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_16
+#ifndef CONF_EDGSEL_16
+#define CONF_EDGSEL_16 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_16
+#ifndef CONF_PATH_16
+#define CONF_PATH_16 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_16
+#ifndef CONF_EVGEN_16
+#define CONF_EVGEN_16 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_16
+#ifndef CONF_OVR_16
+#define CONF_OVR_16 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_16
+#ifndef CONF_EVD_16
+#define CONF_EVD_16 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_16
+#ifndef CONF_ONDEMAND_16
+#define CONF_ONDEMAND_16 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_16
+#ifndef CONF_RUNSTDBY_16
+#define CONF_RUNSTDBY_16 0
+#endif
+
+//
+
+// Channel 17 settings
+// evsys_channel_setting_17
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_17
+#define CONF_EVSYS_CHANNEL_SETTINGS_17 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_17
+#ifndef CONF_EDGSEL_17
+#define CONF_EDGSEL_17 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_17
+#ifndef CONF_PATH_17
+#define CONF_PATH_17 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_17
+#ifndef CONF_EVGEN_17
+#define CONF_EVGEN_17 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_17
+#ifndef CONF_OVR_17
+#define CONF_OVR_17 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_17
+#ifndef CONF_EVD_17
+#define CONF_EVD_17 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_17
+#ifndef CONF_ONDEMAND_17
+#define CONF_ONDEMAND_17 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_17
+#ifndef CONF_RUNSTDBY_17
+#define CONF_RUNSTDBY_17 0
+#endif
+
+//
+
+// Channel 18 settings
+// evsys_channel_setting_18
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_18
+#define CONF_EVSYS_CHANNEL_SETTINGS_18 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_18
+#ifndef CONF_EDGSEL_18
+#define CONF_EDGSEL_18 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_18
+#ifndef CONF_PATH_18
+#define CONF_PATH_18 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_18
+#ifndef CONF_EVGEN_18
+#define CONF_EVGEN_18 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_18
+#ifndef CONF_OVR_18
+#define CONF_OVR_18 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_18
+#ifndef CONF_EVD_18
+#define CONF_EVD_18 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_18
+#ifndef CONF_ONDEMAND_18
+#define CONF_ONDEMAND_18 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_18
+#ifndef CONF_RUNSTDBY_18
+#define CONF_RUNSTDBY_18 0
+#endif
+
+//
+
+// Channel 19 settings
+// evsys_channel_setting_19
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_19
+#define CONF_EVSYS_CHANNEL_SETTINGS_19 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_19
+#ifndef CONF_EDGSEL_19
+#define CONF_EDGSEL_19 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_19
+#ifndef CONF_PATH_19
+#define CONF_PATH_19 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_19
+#ifndef CONF_EVGEN_19
+#define CONF_EVGEN_19 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_19
+#ifndef CONF_OVR_19
+#define CONF_OVR_19 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_19
+#ifndef CONF_EVD_19
+#define CONF_EVD_19 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_19
+#ifndef CONF_ONDEMAND_19
+#define CONF_ONDEMAND_19 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_19
+#ifndef CONF_RUNSTDBY_19
+#define CONF_RUNSTDBY_19 0
+#endif
+
+//
+
+// Channel 20 settings
+// evsys_channel_setting_20
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_20
+#define CONF_EVSYS_CHANNEL_SETTINGS_20 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_20
+#ifndef CONF_EDGSEL_20
+#define CONF_EDGSEL_20 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_20
+#ifndef CONF_PATH_20
+#define CONF_PATH_20 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_20
+#ifndef CONF_EVGEN_20
+#define CONF_EVGEN_20 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_20
+#ifndef CONF_OVR_20
+#define CONF_OVR_20 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_20
+#ifndef CONF_EVD_20
+#define CONF_EVD_20 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_20
+#ifndef CONF_ONDEMAND_20
+#define CONF_ONDEMAND_20 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_20
+#ifndef CONF_RUNSTDBY_20
+#define CONF_RUNSTDBY_20 0
+#endif
+
+//
+
+// Channel 21 settings
+// evsys_channel_setting_21
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_21
+#define CONF_EVSYS_CHANNEL_SETTINGS_21 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_21
+#ifndef CONF_EDGSEL_21
+#define CONF_EDGSEL_21 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_21
+#ifndef CONF_PATH_21
+#define CONF_PATH_21 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_21
+#ifndef CONF_EVGEN_21
+#define CONF_EVGEN_21 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_21
+#ifndef CONF_OVR_21
+#define CONF_OVR_21 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_21
+#ifndef CONF_EVD_21
+#define CONF_EVD_21 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_21
+#ifndef CONF_ONDEMAND_21
+#define CONF_ONDEMAND_21 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_21
+#ifndef CONF_RUNSTDBY_21
+#define CONF_RUNSTDBY_21 0
+#endif
+
+//
+
+// Channel 22 settings
+// evsys_channel_setting_22
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_22
+#define CONF_EVSYS_CHANNEL_SETTINGS_22 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_22
+#ifndef CONF_EDGSEL_22
+#define CONF_EDGSEL_22 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_22
+#ifndef CONF_PATH_22
+#define CONF_PATH_22 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_22
+#ifndef CONF_EVGEN_22
+#define CONF_EVGEN_22 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_22
+#ifndef CONF_OVR_22
+#define CONF_OVR_22 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_22
+#ifndef CONF_EVD_22
+#define CONF_EVD_22 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_22
+#ifndef CONF_ONDEMAND_22
+#define CONF_ONDEMAND_22 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_22
+#ifndef CONF_RUNSTDBY_22
+#define CONF_RUNSTDBY_22 0
+#endif
+
+//
+
+// Channel 23 settings
+// evsys_channel_setting_23
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_23
+#define CONF_EVSYS_CHANNEL_SETTINGS_23 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_23
+#ifndef CONF_EDGSEL_23
+#define CONF_EDGSEL_23 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_23
+#ifndef CONF_PATH_23
+#define CONF_PATH_23 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_23
+#ifndef CONF_EVGEN_23
+#define CONF_EVGEN_23 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_23
+#ifndef CONF_OVR_23
+#define CONF_OVR_23 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_23
+#ifndef CONF_EVD_23
+#define CONF_EVD_23 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_23
+#ifndef CONF_ONDEMAND_23
+#define CONF_ONDEMAND_23 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_23
+#ifndef CONF_RUNSTDBY_23
+#define CONF_RUNSTDBY_23 0
+#endif
+
+//
+
+// Channel 24 settings
+// evsys_channel_setting_24
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_24
+#define CONF_EVSYS_CHANNEL_SETTINGS_24 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_24
+#ifndef CONF_EDGSEL_24
+#define CONF_EDGSEL_24 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_24
+#ifndef CONF_PATH_24
+#define CONF_PATH_24 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_24
+#ifndef CONF_EVGEN_24
+#define CONF_EVGEN_24 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_24
+#ifndef CONF_OVR_24
+#define CONF_OVR_24 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_24
+#ifndef CONF_EVD_24
+#define CONF_EVD_24 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_24
+#ifndef CONF_ONDEMAND_24
+#define CONF_ONDEMAND_24 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_24
+#ifndef CONF_RUNSTDBY_24
+#define CONF_RUNSTDBY_24 0
+#endif
+
+//
+
+// Channel 25 settings
+// evsys_channel_setting_25
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_25
+#define CONF_EVSYS_CHANNEL_SETTINGS_25 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_25
+#ifndef CONF_EDGSEL_25
+#define CONF_EDGSEL_25 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_25
+#ifndef CONF_PATH_25
+#define CONF_PATH_25 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_25
+#ifndef CONF_EVGEN_25
+#define CONF_EVGEN_25 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_25
+#ifndef CONF_OVR_25
+#define CONF_OVR_25 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_25
+#ifndef CONF_EVD_25
+#define CONF_EVD_25 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_25
+#ifndef CONF_ONDEMAND_25
+#define CONF_ONDEMAND_25 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_25
+#ifndef CONF_RUNSTDBY_25
+#define CONF_RUNSTDBY_25 0
+#endif
+
+//
+
+// Channel 26 settings
+// evsys_channel_setting_26
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_26
+#define CONF_EVSYS_CHANNEL_SETTINGS_26 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_26
+#ifndef CONF_EDGSEL_26
+#define CONF_EDGSEL_26 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_26
+#ifndef CONF_PATH_26
+#define CONF_PATH_26 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_26
+#ifndef CONF_EVGEN_26
+#define CONF_EVGEN_26 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_26
+#ifndef CONF_OVR_26
+#define CONF_OVR_26 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_26
+#ifndef CONF_EVD_26
+#define CONF_EVD_26 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_26
+#ifndef CONF_ONDEMAND_26
+#define CONF_ONDEMAND_26 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_26
+#ifndef CONF_RUNSTDBY_26
+#define CONF_RUNSTDBY_26 0
+#endif
+
+//
+
+// Channel 27 settings
+// evsys_channel_setting_27
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_27
+#define CONF_EVSYS_CHANNEL_SETTINGS_27 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_27
+#ifndef CONF_EDGSEL_27
+#define CONF_EDGSEL_27 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_27
+#ifndef CONF_PATH_27
+#define CONF_PATH_27 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_27
+#ifndef CONF_EVGEN_27
+#define CONF_EVGEN_27 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_27
+#ifndef CONF_OVR_27
+#define CONF_OVR_27 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_27
+#ifndef CONF_EVD_27
+#define CONF_EVD_27 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_27
+#ifndef CONF_ONDEMAND_27
+#define CONF_ONDEMAND_27 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_27
+#ifndef CONF_RUNSTDBY_27
+#define CONF_RUNSTDBY_27 0
+#endif
+
+//
+
+// Channel 28 settings
+// evsys_channel_setting_28
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_28
+#define CONF_EVSYS_CHANNEL_SETTINGS_28 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_28
+#ifndef CONF_EDGSEL_28
+#define CONF_EDGSEL_28 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_28
+#ifndef CONF_PATH_28
+#define CONF_PATH_28 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_28
+#ifndef CONF_EVGEN_28
+#define CONF_EVGEN_28 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_28
+#ifndef CONF_OVR_28
+#define CONF_OVR_28 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_28
+#ifndef CONF_EVD_28
+#define CONF_EVD_28 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_28
+#ifndef CONF_ONDEMAND_28
+#define CONF_ONDEMAND_28 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_28
+#ifndef CONF_RUNSTDBY_28
+#define CONF_RUNSTDBY_28 0
+#endif
+
+//
+
+// Channel 29 settings
+// evsys_channel_setting_29
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_29
+#define CONF_EVSYS_CHANNEL_SETTINGS_29 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_29
+#ifndef CONF_EDGSEL_29
+#define CONF_EDGSEL_29 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_29
+#ifndef CONF_PATH_29
+#define CONF_PATH_29 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_29
+#ifndef CONF_EVGEN_29
+#define CONF_EVGEN_29 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_29
+#ifndef CONF_OVR_29
+#define CONF_OVR_29 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_29
+#ifndef CONF_EVD_29
+#define CONF_EVD_29 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_29
+#ifndef CONF_ONDEMAND_29
+#define CONF_ONDEMAND_29 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_29
+#ifndef CONF_RUNSTDBY_29
+#define CONF_RUNSTDBY_29 0
+#endif
+
+//
+
+// Channel 30 settings
+// evsys_channel_setting_30
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_30
+#define CONF_EVSYS_CHANNEL_SETTINGS_30 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_30
+#ifndef CONF_EDGSEL_30
+#define CONF_EDGSEL_30 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_30
+#ifndef CONF_PATH_30
+#define CONF_PATH_30 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_30
+#ifndef CONF_EVGEN_30
+#define CONF_EVGEN_30 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_30
+#ifndef CONF_OVR_30
+#define CONF_OVR_30 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_30
+#ifndef CONF_EVD_30
+#define CONF_EVD_30 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_30
+#ifndef CONF_ONDEMAND_30
+#define CONF_ONDEMAND_30 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_30
+#ifndef CONF_RUNSTDBY_30
+#define CONF_RUNSTDBY_30 0
+#endif
+
+//
+
+// Channel 31 settings
+// evsys_channel_setting_31
+#ifndef CONF_EVSYS_CHANNEL_SETTINGS_31
+#define CONF_EVSYS_CHANNEL_SETTINGS_31 0
+#endif
+
+// Edge detection
+// Indicates whether channel is enabled in standby sleep mode
+// No event output when using the resynchronized or synchronous path
+// Event is detected on the rising edge of the signal from event generator
+// Event is detected on the falling edge of the signal from event generator
+// Event is detected on the rising and falling edge of the signal from event generator
+// evsys_edgsel_31
+#ifndef CONF_EDGSEL_31
+#define CONF_EDGSEL_31 EVSYS_CHANNEL_EDGSEL_NO_EVT_OUTPUT_Val
+#endif
+
+// Path selection
+// Indicates which path for the event signal is chosen
+// Synchronous path
+// Resynchronized path
+// Asynchronous path
+// evsys_path_31
+#ifndef CONF_PATH_31
+#define CONF_PATH_31 EVSYS_CHANNEL_PATH_SYNCHRONOUS_Val
+#endif
+
+// Event generator
+// Determines event generator for channel
+// <0x0=>No event generator
+// <0x1=>XOSC Clock Failure 0
+// <0x2=>XOSC Clock Failure 1
+// <0x3=>XOSC32K Clock Failure
+// <0x4=>RTC period 0
+// <0x5=>RTC period 1
+// <0x6=>RTC period 2
+// <0x7=>RTC period 3
+// <0x8=>RTC period 4
+// <0x9=>RTC period 5
+// <0xA=>RTC period 6
+// <0xB=>RTC period 7
+// <0xC=>RTC compare 0
+// <0xD=>RTC compare 1
+// <0xE=>RTC compare 2
+// <0xF=>RTC compare 3
+// <0x10=>RTC Tamper Detection
+// <0x11=>RTC overflow
+// <0x12=>EIC external interrupt 0
+// <0x13=>EIC external interrupt 1
+// <0x14=>EIC external interrupt 2
+// <0x15=>EIC external interrupt 3
+// <0x16=>EIC external interrupt 4
+// <0x17=>EIC external interrupt 5
+// <0x18=>EIC external interrupt 6
+// <0x19=>EIC external interrupt 7
+// <0x1A=>EIC external interrupt 8
+// <0x1B=>EIC external interrupt 9
+// <0x1C=>EIC external interrupt 10
+// <0x1D=>EIC external interrupt 11
+// <0x1E=>EIC external interrupt 12
+// <0x1F=>EIC external interrupt 13
+// <0x20=>EIC external interrupt 14
+// <0x21=>EIC external interrupt 15
+// <0x22=>DMAC channel 0
+// <0x23=>DMAC channel 1
+// <0x24=>DMAC channel 2
+// <0x25=>DMAC channel 3
+// <0x28=>PAC access error
+// <0x29=>TCC0 overflow
+// <0x2A=>TCC0 trig
+// <0x2B=>TCC0 counter
+// <0x2C=>TCC0 match/capture 0
+// <0x2D=>TCC0 match/capture 1
+// <0x2E=>TCC0 match/capture 2
+// <0x2F=>TCC0 match/capture 3
+// <0x30=>TCC0 match/capture 4
+// <0x31=>TCC0 match/capture 5
+// <0x32=>TCC1 overflow
+// <0x33=>TCC1 trig
+// <0x34=>TCC1 counter
+// <0x35=>TCC1 match/capture 0
+// <0x36=>TCC1 match/capture 1
+// <0x37=>TCC1 match/capture 2
+// <0x38=>TCC1 match/capture 3
+// <0x39=>TCC2 overflow
+// <0x3A=>TCC2 trig
+// <0x3B=>TCC2 counter
+// <0x3C=>TCC2 match/capture 0
+// <0x3D=>TCC2 match/capture 1
+// <0x3E=>TCC2 match/capture 2
+// <0x3F=>TCC3 overflow
+// <0x40=>TCC3 trig
+// <0x41=>TCC3 counter
+// <0x42=>TCC3 match/capture 0
+// <0x43=>TCC3 match/capture 1
+// <0x44=>TCC4 overflow
+// <0x45=>TCC4 trig
+// <0x46=>TCC4 counter
+// <0x47=>TCC4 match/capture 0
+// <0x48=>TCC4 match/capture 1
+// <0x49=>TC0 overflow
+// <0x4A=>TC0 match/capture 0
+// <0x4B=>TC0 match/capture 1
+// <0x4C=>TC1 overflow
+// <0x4D=>TC1 match/capture 0
+// <0x4E=>TC1 match/capture 1
+// <0x4F=>TC2 overflow
+// <0x50=>TC2 match/capture 0
+// <0x51=>TC2 match/capture 1
+// <0x52=>TC3 overflow
+// <0x53=>TC3 match/capture 0
+// <0x54=>TC3 match/capture 1
+// <0x55=>TC4 overflow
+// <0x56=>TC4 match/capture 0
+// <0x57=>TC4 match/capture 1
+// <0x58=>TC5 overflow
+// <0x59=>TC5 match/capture 0
+// <0x5A=>TC5 match/capture 1
+// <0x5B=>TC6 overflow
+// <0x5C=>TC6 match/capture 0
+// <0x5D=>TC6 match/capture 1
+// <0x5E=>TC7 overflow
+// <0x5F=>TC7 match/capture 0
+// <0x60=>TC7 match/capture 1
+// <0x61=>PDEC overflow
+// <0x62=>PDEC error
+// <0x63=>PDEC direction
+// <0x64=>PDEC VLC
+// <0x65=>PDEC match channel 0
+// <0x66=>PDEC match channel 1
+// <0x67=>ADC0 result ready
+// <0x68=>ADC0 window monitor
+// <0x69=>ADC1 result ready
+// <0x6A=>ADC1 window monitor
+// <0x6B=>AC comparator 0
+// <0x6C=>AC comparator 1
+// <0x6D=>AC window 0
+// <0x6E=>DAC data buffer empty 0
+// <0x6F=>DAC data buffer empty 1
+// <0x70=>DAC result ready 0
+// <0x71=>DAC result ready 1
+// <0x73=>TRNG Data Ready
+// <0x74=>CCL LUT output 0
+// <0x75=>CCL LUT output 1
+// <0x76=>CCL LUT output 2
+// <0x77=>CCL LUT output 3
+// evsys_evgen_31
+#ifndef CONF_EVGEN_31
+#define CONF_EVGEN_31 0
+#endif
+
+// Overrun channel interrupt
+// Indicates whether overrun channel interrupt is enabled or not
+// evsys_ovr_31
+#ifndef CONF_OVR_31
+#define CONF_OVR_31 0
+#endif
+
+// Event detected interrupt
+// Indicates whether event detected interrupt is enabled or not
+// evsys_evd_31
+#ifndef CONF_EVD_31
+#define CONF_EVD_31 0
+#endif
+
+// On demand clock
+// Indicates whether clock for channel is requested on demand or not
+// evsys_ondemand_31
+#ifndef CONF_ONDEMAND_31
+#define CONF_ONDEMAND_31 0
+#endif
+
+// Run is standby mode
+// Indicates whether channel is enabled in standby sleep mode
+// evsys_runstdby_31
+#ifndef CONF_RUNSTDBY_31
+#define CONF_RUNSTDBY_31 0
+#endif
+
+//
+
+// Event User Security Attribution Settings
+
+//
+
+// RTC events
+// Channel selection for RTC Tamper Event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_0
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_0
+#define CONF_CHANNEL_0 0
+#endif
+//
+
+// PORT events
+// Channel selection for PORT event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_1
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_1
+#define CONF_CHANNEL_1 1
+#endif
+
+// Channel selection for PORT event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_2
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_2
+#define CONF_CHANNEL_2 3
+#endif
+
+// Channel selection for PORT event 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_3
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_3
+#define CONF_CHANNEL_3 0
+#endif
+
+// Channel selection for PORT event 3
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_4
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_4
+#define CONF_CHANNEL_4 0
+#endif
+//
+
+// DMAC events
+// Channel selection for DMAC channel 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_5
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_5
+#define CONF_CHANNEL_5 0
+#endif
+
+// Channel selection for DMAC channel 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_6
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_6
+#define CONF_CHANNEL_6 0
+#endif
+
+// Channel selection for DMAC channel 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_7
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_7
+#define CONF_CHANNEL_7 1
+#endif
+
+// Channel selection for DMAC channel 3
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_8
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_8
+#define CONF_CHANNEL_8 0
+#endif
+
+// Channel selection for DMAC channel 4
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_9
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_9
+#define CONF_CHANNEL_9 0
+#endif
+
+// Channel selection for DMAC channel 5
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_10
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_10
+#define CONF_CHANNEL_10 0
+#endif
+
+// Channel selection for DMAC channel 6
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_11
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_11
+#define CONF_CHANNEL_11 0
+#endif
+
+// Channel selection for DMAC channel 7
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_12
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_12
+#define CONF_CHANNEL_12 0
+#endif
+//
+
+// Reserved
+#ifndef CONF_CHANNEL_13
+#define CONF_CHANNEL_13 0
+#endif
+
+#ifndef CONF_CHANNEL_14
+#define CONF_CHANNEL_14 0
+#endif
+
+#ifndef CONF_CHANNEL_15
+#define CONF_CHANNEL_15 0
+#endif
+
+#ifndef CONF_CHANNEL_16
+#define CONF_CHANNEL_16 0
+#endif
+//
+
+// TCC events
+// Channel selection for TCC0 Event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_17
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_17
+#define CONF_CHANNEL_17 0
+#endif
+
+// Channel selection for TCC0 Event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_18
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_18
+#define CONF_CHANNEL_18 0
+#endif
+
+// Channel selection for TCC0 match/capture 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_19
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_19
+#define CONF_CHANNEL_19 0
+#endif
+
+// Channel selection for TCC0 match/capture 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_20
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_20
+#define CONF_CHANNEL_20 0
+#endif
+
+// Channel selection for TCC0 match/capture 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_21
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_21
+#define CONF_CHANNEL_21 0
+#endif
+
+// Channel selection for TCC0 match/capture 3
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_22
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_22
+#define CONF_CHANNEL_22 0
+#endif
+
+// Channel selection for TCC0 match/capture 4
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_23
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_23
+#define CONF_CHANNEL_23 0
+#endif
+
+// Channel selection for TCC0 match/capture 5
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_24
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_24
+#define CONF_CHANNEL_24 0
+#endif
+
+// Channel selection for TCC1 Event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_25
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_25
+#define CONF_CHANNEL_25 0
+#endif
+
+// Channel selection for TCC1 Event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_26
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_26
+#define CONF_CHANNEL_26 0
+#endif
+
+// Channel selection for TCC1 match/capture 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_27
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_27
+#define CONF_CHANNEL_27 0
+#endif
+
+// Channel selection for TCC1 match/capture 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_28
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_28
+#define CONF_CHANNEL_28 0
+#endif
+
+// Channel selection for TCC1 match/capture 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_29
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_29
+#define CONF_CHANNEL_29 0
+#endif
+
+// Channel selection for TCC1 match/capture 3
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_30
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_30
+#define CONF_CHANNEL_30 0
+#endif
+
+// Channel selection for TCC2 Event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_31
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_31
+#define CONF_CHANNEL_31 0
+#endif
+
+// Channel selection for TCC2 Event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_32
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_32
+#define CONF_CHANNEL_32 0
+#endif
+
+// Channel selection for TCC2 match/capture 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_33
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_33
+#define CONF_CHANNEL_33 0
+#endif
+
+// Channel selection for TCC2 match/capture 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_34
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_34
+#define CONF_CHANNEL_34 0
+#endif
+
+// Channel selection for TCC2 match/capture 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_35
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_35
+#define CONF_CHANNEL_35 0
+#endif
+
+// Channel selection for TCC3 Event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_36
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_36
+#define CONF_CHANNEL_36 0
+#endif
+
+// Channel selection for TCC3 Event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_37
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_37
+#define CONF_CHANNEL_37 0
+#endif
+
+// Channel selection for TCC3 match/capture 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_38
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_38
+#define CONF_CHANNEL_38 0
+#endif
+
+// Channel selection for TCC3 match/capture 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_39
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_39
+#define CONF_CHANNEL_39 0
+#endif
+
+// Channel selection for TCC4 Event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_40
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_40
+#define CONF_CHANNEL_40 0
+#endif
+
+// Channel selection for TCC4 Event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_41
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_41
+#define CONF_CHANNEL_41 0
+#endif
+
+// Channel selection for TCC4 match/capture 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_42
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_42
+#define CONF_CHANNEL_42 0
+#endif
+
+// Channel selection for TCC4 match/capture 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_43
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_43
+#define CONF_CHANNEL_43 0
+#endif
+//
+
+// TC events
+// Channel selection for TC0 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_44
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_44
+#define CONF_CHANNEL_44 2
+#endif
+
+// Channel selection for TC1 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_45
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_45
+#define CONF_CHANNEL_45 0
+#endif
+
+// Channel selection for TC2 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_46
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_46
+#define CONF_CHANNEL_46 0
+#endif
+
+// Channel selection for TC3 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_47
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_47
+#define CONF_CHANNEL_47 0
+#endif
+
+// Channel selection for TC4 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_48
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_48
+#define CONF_CHANNEL_48 0
+#endif
+
+// Channel selection for TC5 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_49
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_49
+#define CONF_CHANNEL_49 0
+#endif
+
+// Channel selection for TC6 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_50
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_50
+#define CONF_CHANNEL_50 0
+#endif
+
+// Channel selection for TC7 event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_51
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_51
+#define CONF_CHANNEL_51 0
+#endif
+//
+
+// PDEC events
+// Channel selection for PDEC event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_52
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_52
+#define CONF_CHANNEL_52 0
+#endif
+
+// Channel selection for PDEC event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_53
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_53
+#define CONF_CHANNEL_53 0
+#endif
+
+// Channel selection for PDEC event 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_54
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_54
+#define CONF_CHANNEL_54 0
+#endif
+//
+
+// ADC events
+// Channel selection for ADC0 start conversion event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_55
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_55
+#define CONF_CHANNEL_55 0
+#endif
+
+// Channel selection for ADC0 flush event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_56
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_56
+#define CONF_CHANNEL_56 0
+#endif
+
+// Channel selection for ADC1 start conversion event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_57
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_57
+#define CONF_CHANNEL_57 0
+#endif
+
+// Channel selection for ADC1 flush event
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_58
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_58
+#define CONF_CHANNEL_58 0
+#endif
+//
+
+// AC events
+// Channel selection for Start comparator event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_59
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_59
+#define CONF_CHANNEL_59 0
+#endif
+
+// Channel selection for Start comparator event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_60
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_60
+#define CONF_CHANNEL_60 0
+#endif
+//
+
+// DAC events
+// Channel selection for DAC Start event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_61
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_61
+#define CONF_CHANNEL_61 0
+#endif
+
+// Channel selection for DAC Start event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_62
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_62
+#define CONF_CHANNEL_62 0
+#endif
+//
+
+// CCL events
+// Channel selection for CCL input event 0
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_63
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_63
+#define CONF_CHANNEL_63 0
+#endif
+
+// Channel selection for CCL input event 1
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_64
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_64
+#define CONF_CHANNEL_64 0
+#endif
+
+// Channel selection for CCL input event 2
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_65
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_65
+#define CONF_CHANNEL_65 0
+#endif
+
+// Channel selection for CCL input event 3
+// <0x0=>No channel output selected
+// <0x1=>Channel 0
+// <0x2=>Channel 1
+// <0x3=>Channel 2
+// <0x4=>Channel 3
+// <0x5=>Channel 4
+// <0x6=>Channel 5
+// <0x7=>Channel 6
+// <0x8=>Channel 7
+// <0x9=>Channel 8
+// <0xA=>Channel 9
+// <0xB=>Channel 10
+// <0xC=>Channel 11
+// <0xD=>Channel 12
+// <0xE=>Channel 13
+// <0xF=>Channel 14
+// <0x10=>Channel 15
+// <0x11=>Channel 16
+// <0x12=>Channel 17
+// <0x13=>Channel 18
+// <0x14=>Channel 19
+// <0x15=>Channel 20
+// <0x16=>Channel 21
+// <0x17=>Channel 22
+// <0x18=>Channel 23
+// <0x19=>Channel 24
+// <0x1A=>Channel 25
+// <0x1B=>Channel 26
+// <0x1C=>Channel 27
+// <0x1D=>Channel 28
+// <0x1E=>Channel 29
+// <0x1F=>Channel 30
+// <0x20=>Channel 31
+// evsys_channel_66
+// Indicates which channel is chosen for user
+#ifndef CONF_CHANNEL_66
+#define CONF_CHANNEL_66 0
+#endif
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_EVSYS_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_gclk_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_gclk_config.h
new file mode 100644
index 0000000..1d59d98
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_gclk_config.h
@@ -0,0 +1,920 @@
+/* Auto-generated config file hpl_gclk_config.h */
+#ifndef HPL_GCLK_CONFIG_H
+#define HPL_GCLK_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// Generic clock generator 0 configuration
+// Indicates whether generic clock 0 configuration is enabled or not
+// enable_gclk_gen_0
+#ifndef CONF_GCLK_GENERATOR_0_CONFIG
+#define CONF_GCLK_GENERATOR_0_CONFIG 1
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 0 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 0
+// gclk_gen_0_oscillator
+#ifndef CONF_GCLK_GEN_0_SOURCE
+#define CONF_GCLK_GEN_0_SOURCE GCLK_GENCTRL_SRC_DPLL1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_0_runstdby
+#ifndef CONF_GCLK_GEN_0_RUNSTDBY
+#define CONF_GCLK_GEN_0_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_0_div_sel
+#ifndef CONF_GCLK_GEN_0_DIVSEL
+#define CONF_GCLK_GEN_0_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_0_oe
+#ifndef CONF_GCLK_GEN_0_OE
+#define CONF_GCLK_GEN_0_OE 1
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_0_oov
+#ifndef CONF_GCLK_GEN_0_OOV
+#define CONF_GCLK_GEN_0_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_0_idc
+#ifndef CONF_GCLK_GEN_0_IDC
+#define CONF_GCLK_GEN_0_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_0_enable
+#ifndef CONF_GCLK_GEN_0_GENEN
+#define CONF_GCLK_GEN_0_GENEN 1
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 0 division <0x0000-0xFFFF>
+// gclk_gen_0_div
+#ifndef CONF_GCLK_GEN_0_DIV
+#define CONF_GCLK_GEN_0_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 1 configuration
+// Indicates whether generic clock 1 configuration is enabled or not
+// enable_gclk_gen_1
+#ifndef CONF_GCLK_GENERATOR_1_CONFIG
+#define CONF_GCLK_GENERATOR_1_CONFIG 1
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 1 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 1
+// gclk_gen_1_oscillator
+#ifndef CONF_GCLK_GEN_1_SOURCE
+#define CONF_GCLK_GEN_1_SOURCE GCLK_GENCTRL_SRC_DFLL
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_1_runstdby
+#ifndef CONF_GCLK_GEN_1_RUNSTDBY
+#define CONF_GCLK_GEN_1_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_1_div_sel
+#ifndef CONF_GCLK_GEN_1_DIVSEL
+#define CONF_GCLK_GEN_1_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_1_oe
+#ifndef CONF_GCLK_GEN_1_OE
+#define CONF_GCLK_GEN_1_OE 1
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_1_oov
+#ifndef CONF_GCLK_GEN_1_OOV
+#define CONF_GCLK_GEN_1_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_1_idc
+#ifndef CONF_GCLK_GEN_1_IDC
+#define CONF_GCLK_GEN_1_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_1_enable
+#ifndef CONF_GCLK_GEN_1_GENEN
+#define CONF_GCLK_GEN_1_GENEN 1
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 1 division <0x0000-0xFFFF>
+// gclk_gen_1_div
+#ifndef CONF_GCLK_GEN_1_DIV
+#define CONF_GCLK_GEN_1_DIV 24
+#endif
+//
+//
+
+// Generic clock generator 2 configuration
+// Indicates whether generic clock 2 configuration is enabled or not
+// enable_gclk_gen_2
+#ifndef CONF_GCLK_GENERATOR_2_CONFIG
+#define CONF_GCLK_GENERATOR_2_CONFIG 1
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 2 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 2
+// gclk_gen_2_oscillator
+#ifndef CONF_GCLK_GEN_2_SOURCE
+#define CONF_GCLK_GEN_2_SOURCE GCLK_GENCTRL_SRC_OSCULP32K
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_2_runstdby
+#ifndef CONF_GCLK_GEN_2_RUNSTDBY
+#define CONF_GCLK_GEN_2_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_2_div_sel
+#ifndef CONF_GCLK_GEN_2_DIVSEL
+#define CONF_GCLK_GEN_2_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_2_oe
+#ifndef CONF_GCLK_GEN_2_OE
+#define CONF_GCLK_GEN_2_OE 1
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_2_oov
+#ifndef CONF_GCLK_GEN_2_OOV
+#define CONF_GCLK_GEN_2_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_2_idc
+#ifndef CONF_GCLK_GEN_2_IDC
+#define CONF_GCLK_GEN_2_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_2_enable
+#ifndef CONF_GCLK_GEN_2_GENEN
+#define CONF_GCLK_GEN_2_GENEN 1
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 2 division <0x0000-0xFFFF>
+// gclk_gen_2_div
+#ifndef CONF_GCLK_GEN_2_DIV
+#define CONF_GCLK_GEN_2_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 3 configuration
+// Indicates whether generic clock 3 configuration is enabled or not
+// enable_gclk_gen_3
+#ifndef CONF_GCLK_GENERATOR_3_CONFIG
+#define CONF_GCLK_GENERATOR_3_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 3 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 3
+// gclk_gen_3_oscillator
+#ifndef CONF_GCLK_GEN_3_SOURCE
+#define CONF_GCLK_GEN_3_SOURCE GCLK_GENCTRL_SRC_XOSC32K
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_3_runstdby
+#ifndef CONF_GCLK_GEN_3_RUNSTDBY
+#define CONF_GCLK_GEN_3_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_3_div_sel
+#ifndef CONF_GCLK_GEN_3_DIVSEL
+#define CONF_GCLK_GEN_3_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_3_oe
+#ifndef CONF_GCLK_GEN_3_OE
+#define CONF_GCLK_GEN_3_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_3_oov
+#ifndef CONF_GCLK_GEN_3_OOV
+#define CONF_GCLK_GEN_3_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_3_idc
+#ifndef CONF_GCLK_GEN_3_IDC
+#define CONF_GCLK_GEN_3_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_3_enable
+#ifndef CONF_GCLK_GEN_3_GENEN
+#define CONF_GCLK_GEN_3_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 3 division <0x0000-0xFFFF>
+// gclk_gen_3_div
+#ifndef CONF_GCLK_GEN_3_DIV
+#define CONF_GCLK_GEN_3_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 4 configuration
+// Indicates whether generic clock 4 configuration is enabled or not
+// enable_gclk_gen_4
+#ifndef CONF_GCLK_GENERATOR_4_CONFIG
+#define CONF_GCLK_GENERATOR_4_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 4 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 4
+// gclk_gen_4_oscillator
+#ifndef CONF_GCLK_GEN_4_SOURCE
+#define CONF_GCLK_GEN_4_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_4_runstdby
+#ifndef CONF_GCLK_GEN_4_RUNSTDBY
+#define CONF_GCLK_GEN_4_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_4_div_sel
+#ifndef CONF_GCLK_GEN_4_DIVSEL
+#define CONF_GCLK_GEN_4_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_4_oe
+#ifndef CONF_GCLK_GEN_4_OE
+#define CONF_GCLK_GEN_4_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_4_oov
+#ifndef CONF_GCLK_GEN_4_OOV
+#define CONF_GCLK_GEN_4_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_4_idc
+#ifndef CONF_GCLK_GEN_4_IDC
+#define CONF_GCLK_GEN_4_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_4_enable
+#ifndef CONF_GCLK_GEN_4_GENEN
+#define CONF_GCLK_GEN_4_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 4 division <0x0000-0xFFFF>
+// gclk_gen_4_div
+#ifndef CONF_GCLK_GEN_4_DIV
+#define CONF_GCLK_GEN_4_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 5 configuration
+// Indicates whether generic clock 5 configuration is enabled or not
+// enable_gclk_gen_5
+#ifndef CONF_GCLK_GENERATOR_5_CONFIG
+#define CONF_GCLK_GENERATOR_5_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 5 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 5
+// gclk_gen_5_oscillator
+#ifndef CONF_GCLK_GEN_5_SOURCE
+#define CONF_GCLK_GEN_5_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_5_runstdby
+#ifndef CONF_GCLK_GEN_5_RUNSTDBY
+#define CONF_GCLK_GEN_5_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_5_div_sel
+#ifndef CONF_GCLK_GEN_5_DIVSEL
+#define CONF_GCLK_GEN_5_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_5_oe
+#ifndef CONF_GCLK_GEN_5_OE
+#define CONF_GCLK_GEN_5_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_5_oov
+#ifndef CONF_GCLK_GEN_5_OOV
+#define CONF_GCLK_GEN_5_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_5_idc
+#ifndef CONF_GCLK_GEN_5_IDC
+#define CONF_GCLK_GEN_5_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_5_enable
+#ifndef CONF_GCLK_GEN_5_GENEN
+#define CONF_GCLK_GEN_5_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 5 division <0x0000-0xFFFF>
+// gclk_gen_5_div
+#ifndef CONF_GCLK_GEN_5_DIV
+#define CONF_GCLK_GEN_5_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 6 configuration
+// Indicates whether generic clock 6 configuration is enabled or not
+// enable_gclk_gen_6
+#ifndef CONF_GCLK_GENERATOR_6_CONFIG
+#define CONF_GCLK_GENERATOR_6_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 6 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 6
+// gclk_gen_6_oscillator
+#ifndef CONF_GCLK_GEN_6_SOURCE
+#define CONF_GCLK_GEN_6_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_6_runstdby
+#ifndef CONF_GCLK_GEN_6_RUNSTDBY
+#define CONF_GCLK_GEN_6_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_6_div_sel
+#ifndef CONF_GCLK_GEN_6_DIVSEL
+#define CONF_GCLK_GEN_6_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_6_oe
+#ifndef CONF_GCLK_GEN_6_OE
+#define CONF_GCLK_GEN_6_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_6_oov
+#ifndef CONF_GCLK_GEN_6_OOV
+#define CONF_GCLK_GEN_6_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_6_idc
+#ifndef CONF_GCLK_GEN_6_IDC
+#define CONF_GCLK_GEN_6_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_6_enable
+#ifndef CONF_GCLK_GEN_6_GENEN
+#define CONF_GCLK_GEN_6_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 6 division <0x0000-0xFFFF>
+// gclk_gen_6_div
+#ifndef CONF_GCLK_GEN_6_DIV
+#define CONF_GCLK_GEN_6_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 7 configuration
+// Indicates whether generic clock 7 configuration is enabled or not
+// enable_gclk_gen_7
+#ifndef CONF_GCLK_GENERATOR_7_CONFIG
+#define CONF_GCLK_GENERATOR_7_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 7 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 7
+// gclk_gen_7_oscillator
+#ifndef CONF_GCLK_GEN_7_SOURCE
+#define CONF_GCLK_GEN_7_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_7_runstdby
+#ifndef CONF_GCLK_GEN_7_RUNSTDBY
+#define CONF_GCLK_GEN_7_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_7_div_sel
+#ifndef CONF_GCLK_GEN_7_DIVSEL
+#define CONF_GCLK_GEN_7_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_7_oe
+#ifndef CONF_GCLK_GEN_7_OE
+#define CONF_GCLK_GEN_7_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_7_oov
+#ifndef CONF_GCLK_GEN_7_OOV
+#define CONF_GCLK_GEN_7_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_7_idc
+#ifndef CONF_GCLK_GEN_7_IDC
+#define CONF_GCLK_GEN_7_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_7_enable
+#ifndef CONF_GCLK_GEN_7_GENEN
+#define CONF_GCLK_GEN_7_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 7 division <0x0000-0xFFFF>
+// gclk_gen_7_div
+#ifndef CONF_GCLK_GEN_7_DIV
+#define CONF_GCLK_GEN_7_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 8 configuration
+// Indicates whether generic clock 8 configuration is enabled or not
+// enable_gclk_gen_8
+#ifndef CONF_GCLK_GENERATOR_8_CONFIG
+#define CONF_GCLK_GENERATOR_8_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 8 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 8
+// gclk_gen_8_oscillator
+#ifndef CONF_GCLK_GEN_8_SOURCE
+#define CONF_GCLK_GEN_8_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_8_runstdby
+#ifndef CONF_GCLK_GEN_8_RUNSTDBY
+#define CONF_GCLK_GEN_8_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_8_div_sel
+#ifndef CONF_GCLK_GEN_8_DIVSEL
+#define CONF_GCLK_GEN_8_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_8_oe
+#ifndef CONF_GCLK_GEN_8_OE
+#define CONF_GCLK_GEN_8_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_8_oov
+#ifndef CONF_GCLK_GEN_8_OOV
+#define CONF_GCLK_GEN_8_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_8_idc
+#ifndef CONF_GCLK_GEN_8_IDC
+#define CONF_GCLK_GEN_8_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_8_enable
+#ifndef CONF_GCLK_GEN_8_GENEN
+#define CONF_GCLK_GEN_8_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 8 division <0x0000-0xFFFF>
+// gclk_gen_8_div
+#ifndef CONF_GCLK_GEN_8_DIV
+#define CONF_GCLK_GEN_8_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 9 configuration
+// Indicates whether generic clock 9 configuration is enabled or not
+// enable_gclk_gen_9
+#ifndef CONF_GCLK_GENERATOR_9_CONFIG
+#define CONF_GCLK_GENERATOR_9_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 9 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 9
+// gclk_gen_9_oscillator
+#ifndef CONF_GCLK_GEN_9_SOURCE
+#define CONF_GCLK_GEN_9_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_9_runstdby
+#ifndef CONF_GCLK_GEN_9_RUNSTDBY
+#define CONF_GCLK_GEN_9_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_9_div_sel
+#ifndef CONF_GCLK_GEN_9_DIVSEL
+#define CONF_GCLK_GEN_9_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_9_oe
+#ifndef CONF_GCLK_GEN_9_OE
+#define CONF_GCLK_GEN_9_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_9_oov
+#ifndef CONF_GCLK_GEN_9_OOV
+#define CONF_GCLK_GEN_9_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_9_idc
+#ifndef CONF_GCLK_GEN_9_IDC
+#define CONF_GCLK_GEN_9_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_9_enable
+#ifndef CONF_GCLK_GEN_9_GENEN
+#define CONF_GCLK_GEN_9_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 9 division <0x0000-0xFFFF>
+// gclk_gen_9_div
+#ifndef CONF_GCLK_GEN_9_DIV
+#define CONF_GCLK_GEN_9_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 10 configuration
+// Indicates whether generic clock 10 configuration is enabled or not
+// enable_gclk_gen_10
+#ifndef CONF_GCLK_GENERATOR_10_CONFIG
+#define CONF_GCLK_GENERATOR_10_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 10 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 10
+// gclk_gen_10_oscillator
+#ifndef CONF_GCLK_GEN_10_SOURCE
+#define CONF_GCLK_GEN_10_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_10_runstdby
+#ifndef CONF_GCLK_GEN_10_RUNSTDBY
+#define CONF_GCLK_GEN_10_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_10_div_sel
+#ifndef CONF_GCLK_GEN_10_DIVSEL
+#define CONF_GCLK_GEN_10_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_10_oe
+#ifndef CONF_GCLK_GEN_10_OE
+#define CONF_GCLK_GEN_10_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_10_oov
+#ifndef CONF_GCLK_GEN_10_OOV
+#define CONF_GCLK_GEN_10_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_10_idc
+#ifndef CONF_GCLK_GEN_10_IDC
+#define CONF_GCLK_GEN_10_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_10_enable
+#ifndef CONF_GCLK_GEN_10_GENEN
+#define CONF_GCLK_GEN_10_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 10 division <0x0000-0xFFFF>
+// gclk_gen_10_div
+#ifndef CONF_GCLK_GEN_10_DIV
+#define CONF_GCLK_GEN_10_DIV 1
+#endif
+//
+//
+
+// Generic clock generator 11 configuration
+// Indicates whether generic clock 11 configuration is enabled or not
+// enable_gclk_gen_11
+#ifndef CONF_GCLK_GENERATOR_11_CONFIG
+#define CONF_GCLK_GENERATOR_11_CONFIG 0
+#endif
+
+// Generic Clock Generator Control
+// Generic clock generator 11 source
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator input pad
+// Generic clock generator 1
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// Digital Frequency Locked Loop (DFLL48M)
+// Digital Phase Locked Loop (DPLL0)
+// Digital Phase Locked Loop (DPLL1)
+// This defines the clock source for generic clock generator 11
+// gclk_gen_11_oscillator
+#ifndef CONF_GCLK_GEN_11_SOURCE
+#define CONF_GCLK_GEN_11_SOURCE GCLK_GENCTRL_SRC_XOSC1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// gclk_arch_gen_11_runstdby
+#ifndef CONF_GCLK_GEN_11_RUNSTDBY
+#define CONF_GCLK_GEN_11_RUNSTDBY 0
+#endif
+
+// Divide Selection
+// Indicates whether Divide Selection is enabled or not
+// gclk_gen_11_div_sel
+#ifndef CONF_GCLK_GEN_11_DIVSEL
+#define CONF_GCLK_GEN_11_DIVSEL 0
+#endif
+
+// Output Enable
+// Indicates whether Output Enable is enabled or not
+// gclk_arch_gen_11_oe
+#ifndef CONF_GCLK_GEN_11_OE
+#define CONF_GCLK_GEN_11_OE 0
+#endif
+
+// Output Off Value
+// Indicates whether Output Off Value is enabled or not
+// gclk_arch_gen_11_oov
+#ifndef CONF_GCLK_GEN_11_OOV
+#define CONF_GCLK_GEN_11_OOV 0
+#endif
+
+// Improve Duty Cycle
+// Indicates whether Improve Duty Cycle is enabled or not
+// gclk_arch_gen_11_idc
+#ifndef CONF_GCLK_GEN_11_IDC
+#define CONF_GCLK_GEN_11_IDC 0
+#endif
+
+// Generic Clock Generator Enable
+// Indicates whether Generic Clock Generator Enable is enabled or not
+// gclk_arch_gen_11_enable
+#ifndef CONF_GCLK_GEN_11_GENEN
+#define CONF_GCLK_GEN_11_GENEN 0
+#endif
+//
+
+// Generic Clock Generator Division
+// Generic clock generator 11 division <0x0000-0xFFFF>
+// gclk_gen_11_div
+#ifndef CONF_GCLK_GEN_11_DIV
+#define CONF_GCLK_GEN_11_DIV 1
+#endif
+//
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_GCLK_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_mclk_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_mclk_config.h
new file mode 100644
index 0000000..a5a7de5
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_mclk_config.h
@@ -0,0 +1,104 @@
+/* Auto-generated config file hpl_mclk_config.h */
+#ifndef HPL_MCLK_CONFIG_H
+#define HPL_MCLK_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+#include
+
+// System Configuration
+// Indicates whether configuration for system is enabled or not
+// enable_cpu_clock
+#ifndef CONF_SYSTEM_CONFIG
+#define CONF_SYSTEM_CONFIG 1
+#endif
+
+// Basic settings
+// CPU Clock source
+// Generic clock generator 0
+// This defines the clock source for the CPU
+// cpu_clock_source
+#ifndef CONF_CPU_SRC
+#define CONF_CPU_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+// CPU Clock Division Factor
+// 1
+// 2
+// 4
+// 8
+// 16
+// 32
+// 64
+// 128
+// Prescalar for CPU clock
+// cpu_div
+#ifndef CONF_MCLK_CPUDIV
+#define CONF_MCLK_CPUDIV MCLK_CPUDIV_DIV_DIV1_Val
+#endif
+// Low Power Clock Division
+// Divide by 1
+// Divide by 2
+// Divide by 4
+// Divide by 8
+// Divide by 16
+// Divide by 32
+// Divide by 64
+// Divide by 128
+// mclk_arch_lpdiv
+#ifndef CONF_MCLK_LPDIV
+#define CONF_MCLK_LPDIV MCLK_LPDIV_LPDIV_DIV4_Val
+#endif
+
+// Backup Clock Division
+// Divide by 1
+// Divide by 2
+// Divide by 4
+// Divide by 8
+// Divide by 16
+// Divide by 32
+// Divide by 64
+// Divide by 128
+// mclk_arch_bupdiv
+#ifndef CONF_MCLK_BUPDIV
+#define CONF_MCLK_BUPDIV MCLK_BUPDIV_BUPDIV_DIV8_Val
+#endif
+// High-Speed Clock Division
+// Divide by 1
+// mclk_arch_hsdiv
+#ifndef CONF_MCLK_HSDIV
+#define CONF_MCLK_HSDIV MCLK_HSDIV_DIV_DIV1_Val
+#endif
+//
+
+// NVM Settings
+// NVM Wait States
+// These bits select the number of wait states for a read operation.
+// <0=> 0
+// <1=> 1
+// <2=> 2
+// <3=> 3
+// <4=> 4
+// <5=> 5
+// <6=> 6
+// <7=> 7
+// <8=> 8
+// <9=> 9
+// <10=> 10
+// <11=> 11
+// <12=> 12
+// <13=> 13
+// <14=> 14
+// <15=> 15
+// nvm_wait_states
+#ifndef CONF_NVM_WAIT_STATE
+#define CONF_NVM_WAIT_STATE 0
+#endif
+
+//
+
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_MCLK_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_osc32kctrl_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_osc32kctrl_config.h
new file mode 100644
index 0000000..e7fddd2
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_osc32kctrl_config.h
@@ -0,0 +1,165 @@
+/* Auto-generated config file hpl_osc32kctrl_config.h */
+#ifndef HPL_OSC32KCTRL_CONFIG_H
+#define HPL_OSC32KCTRL_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// RTC Source configuration
+// enable_rtc_source
+#ifndef CONF_RTCCTRL_CONFIG
+#define CONF_RTCCTRL_CONFIG 0
+#endif
+
+// RTC source control
+// RTC Clock Source Selection
+// 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
+// 32kHz External Crystal Oscillator (XOSC32K)
+// This defines the clock source for RTC
+// rtc_source_oscillator
+#ifndef CONF_RTCCTRL_SRC
+#define CONF_RTCCTRL_SRC GCLK_GENCTRL_SRC_OSCULP32K
+#endif
+
+// Use 1 kHz output
+// rtc_1khz_selection
+#ifndef CONF_RTCCTRL_1KHZ
+
+#define CONF_RTCCTRL_1KHZ 0
+
+#endif
+
+#if CONF_RTCCTRL_SRC == GCLK_GENCTRL_SRC_OSCULP32K
+#define CONF_RTCCTRL (CONF_RTCCTRL_1KHZ ? OSC32KCTRL_RTCCTRL_RTCSEL_ULP1K_Val : OSC32KCTRL_RTCCTRL_RTCSEL_ULP32K_Val)
+#elif CONF_RTCCTRL_SRC == GCLK_GENCTRL_SRC_XOSC32K
+#define CONF_RTCCTRL (CONF_RTCCTRL_1KHZ ? OSC32KCTRL_RTCCTRL_RTCSEL_XOSC1K_Val : OSC32KCTRL_RTCCTRL_RTCSEL_XOSC32K_Val)
+#else
+#error unexpected CONF_RTCCTRL_SRC
+#endif
+
+//
+//
+
+// 32kHz External Crystal Oscillator Configuration
+// Indicates whether configuration for External 32K Osc is enabled or not
+// enable_xosc32k
+#ifndef CONF_XOSC32K_CONFIG
+#define CONF_XOSC32K_CONFIG 0
+#endif
+
+// 32kHz External Crystal Oscillator Control
+// Oscillator enable
+// Indicates whether 32kHz External Crystal Oscillator is enabled or not
+// xosc32k_arch_enable
+#ifndef CONF_XOSC32K_ENABLE
+#define CONF_XOSC32K_ENABLE 0
+#endif
+
+// Start-Up Time
+// <0x0=>62592us
+// <0x1=>125092us
+// <0x2=>500092us
+// <0x3=>1000092us
+// <0x4=>2000092us
+// <0x5=>4000092us
+// <0x6=>8000092us
+// xosc32k_arch_startup
+#ifndef CONF_XOSC32K_STARTUP
+#define CONF_XOSC32K_STARTUP 0x0
+#endif
+
+// On Demand Control
+// Indicates whether On Demand Control is enabled or not
+// xosc32k_arch_ondemand
+#ifndef CONF_XOSC32K_ONDEMAND
+#define CONF_XOSC32K_ONDEMAND 1
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// xosc32k_arch_runstdby
+#ifndef CONF_XOSC32K_RUNSTDBY
+#define CONF_XOSC32K_RUNSTDBY 0
+#endif
+
+// 1kHz Output Enable
+// Indicates whether 1kHz Output is enabled or not
+// xosc32k_arch_en1k
+#ifndef CONF_XOSC32K_EN1K
+#define CONF_XOSC32K_EN1K 0
+#endif
+
+// 32kHz Output Enable
+// Indicates whether 32kHz Output is enabled or not
+// xosc32k_arch_en32k
+#ifndef CONF_XOSC32K_EN32K
+#define CONF_XOSC32K_EN32K 0
+#endif
+
+// Clock Switch Back
+// Indicates whether Clock Switch Back is enabled or not
+// xosc32k_arch_swben
+#ifndef CONF_XOSC32K_SWBEN
+#define CONF_XOSC32K_SWBEN 0
+#endif
+
+// Clock Failure Detector
+// Indicates whether Clock Failure Detector is enabled or not
+// xosc32k_arch_cfden
+#ifndef CONF_XOSC32K_CFDEN
+#define CONF_XOSC32K_CFDEN 0
+#endif
+
+// Clock Failure Detector Event Out
+// Indicates whether Clock Failure Detector Event Out is enabled or not
+// xosc32k_arch_cfdeo
+#ifndef CONF_XOSC32K_CFDEO
+#define CONF_XOSC32K_CFDEO 0
+#endif
+
+// Crystal connected to XIN32/XOUT32 Enable
+// Indicates whether the connections between the I/O pads and the external clock or crystal oscillator is enabled or not
+// xosc32k_arch_xtalen
+#ifndef CONF_XOSC32K_XTALEN
+#define CONF_XOSC32K_XTALEN 1
+#endif
+
+// Control Gain Mode
+// <0x0=>Low Power mode
+// <0x1=>Standard mode
+// <0x2=>High Speed mode
+// xosc32k_arch_cgm
+#ifndef CONF_XOSC32K_CGM
+#define CONF_XOSC32K_CGM 0x1
+#endif
+
+//
+//
+
+// 32kHz Ultra Low Power Internal Oscillator Configuration
+// Indicates whether configuration for OSCULP32K is enabled or not
+// enable_osculp32k
+#ifndef CONF_OSCULP32K_CONFIG
+#define CONF_OSCULP32K_CONFIG 1
+#endif
+
+// 32kHz Ultra Low Power Internal Oscillator Control
+
+// Oscillator Calibration Control
+// Indicates whether Oscillator Calibration is enabled or not
+// osculp32k_calib_enable
+#ifndef CONF_OSCULP32K_CALIB_ENABLE
+#define CONF_OSCULP32K_CALIB_ENABLE 0
+#endif
+
+// Oscillator Calibration <0x0-0x3F>
+// osculp32k_calib
+#ifndef CONF_OSCULP32K_CALIB
+#define CONF_OSCULP32K_CALIB 0x0
+#endif
+
+//
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_OSC32KCTRL_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_oscctrl_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_oscctrl_config.h
new file mode 100644
index 0000000..81a8e00
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_oscctrl_config.h
@@ -0,0 +1,640 @@
+/* Auto-generated config file hpl_oscctrl_config.h */
+#ifndef HPL_OSCCTRL_CONFIG_H
+#define HPL_OSCCTRL_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// External Multipurpose Crystal Oscillator Configuration
+// Indicates whether configuration for XOSC0 is enabled or not
+// enable_xosc0
+#ifndef CONF_XOSC0_CONFIG
+#define CONF_XOSC0_CONFIG 0
+#endif
+
+// Frequency <8000000-48000000>
+// Oscillation frequency of the resonator connected to the External Multipurpose Crystal Oscillator.
+// xosc0_frequency
+#ifndef CONF_XOSC_FREQUENCY
+#define CONF_XOSC0_FREQUENCY 12000000
+#endif
+
+// External Multipurpose Crystal Oscillator Control
+// Oscillator enable
+// Indicates whether External Multipurpose Crystal Oscillator is enabled or not
+// xosc0_arch_enable
+#ifndef CONF_XOSC0_ENABLE
+#define CONF_XOSC0_ENABLE 0
+#endif
+
+// Start-Up Time
+// <0x0=>31us
+// <0x1=>61us
+// <0x2=>122us
+// <0x3=>244us
+// <0x4=>488us
+// <0x5=>977us
+// <0x6=>1953us
+// <0x7=>3906us
+// <0x8=>7813us
+// <0x9=>15625us
+// <0xA=>31250us
+// <0xB=>62500us
+// <0xC=>125000us
+// <0xD=>250000us
+// <0xE=>500000us
+// <0xF=>1000000us
+// xosc0_arch_startup
+#ifndef CONF_XOSC0_STARTUP
+#define CONF_XOSC0_STARTUP 0
+#endif
+
+// Clock Switch Back
+// Indicates whether Clock Switch Back is enabled or not
+// xosc0_arch_swben
+#ifndef CONF_XOSC0_SWBEN
+#define CONF_XOSC0_SWBEN 0
+#endif
+
+// Clock Failure Detector
+// Indicates whether Clock Failure Detector is enabled or not
+// xosc0_arch_cfden
+#ifndef CONF_XOSC0_CFDEN
+#define CONF_XOSC0_CFDEN 0
+#endif
+
+// Automatic Loop Control Enable
+// Indicates whether Automatic Loop Control is enabled or not
+// xosc0_arch_enalc
+#ifndef CONF_XOSC0_ENALC
+#define CONF_XOSC0_ENALC 0
+#endif
+
+// Low Buffer Gain Enable
+// Indicates whether Low Buffer Gain is enabled or not
+// xosc0_arch_lowbufgain
+#ifndef CONF_XOSC0_LOWBUFGAIN
+#define CONF_XOSC0_LOWBUFGAIN 0
+#endif
+
+// On Demand Control
+// Indicates whether On Demand Control is enabled or not
+// xosc0_arch_ondemand
+#ifndef CONF_XOSC0_ONDEMAND
+#define CONF_XOSC0_ONDEMAND 0
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// xosc0_arch_runstdby
+#ifndef CONF_XOSC0_RUNSTDBY
+#define CONF_XOSC0_RUNSTDBY 0
+#endif
+
+// Crystal connected to XIN/XOUT Enable
+// Indicates whether the connections between the I/O pads and the external clock or crystal oscillator is enabled or not
+// xosc0_arch_xtalen
+#ifndef CONF_XOSC0_XTALEN
+#define CONF_XOSC0_XTALEN 0
+#endif
+//
+//
+
+#if CONF_XOSC0_FREQUENCY >= 32000000
+#define CONF_XOSC0_CFDPRESC 0x0
+#define CONF_XOSC0_IMULT 0x7
+#define CONF_XOSC0_IPTAT 0x3
+#elif CONF_XOSC0_FREQUENCY >= 24000000
+#define CONF_XOSC0_CFDPRESC 0x1
+#define CONF_XOSC0_IMULT 0x6
+#define CONF_XOSC0_IPTAT 0x3
+#elif CONF_XOSC0_FREQUENCY >= 16000000
+#define CONF_XOSC0_CFDPRESC 0x2
+#define CONF_XOSC0_IMULT 0x5
+#define CONF_XOSC0_IPTAT 0x3
+#elif CONF_XOSC0_FREQUENCY >= 8000000
+#define CONF_XOSC0_CFDPRESC 0x3
+#define CONF_XOSC0_IMULT 0x4
+#define CONF_XOSC0_IPTAT 0x3
+#endif
+
+// External Multipurpose Crystal Oscillator Configuration
+// Indicates whether configuration for XOSC1 is enabled or not
+// enable_xosc1
+#ifndef CONF_XOSC1_CONFIG
+#define CONF_XOSC1_CONFIG 1
+#endif
+
+// Frequency <8000000-48000000>
+// Oscillation frequency of the resonator connected to the External Multipurpose Crystal Oscillator.
+// xosc1_frequency
+#ifndef CONF_XOSC_FREQUENCY
+#define CONF_XOSC1_FREQUENCY 12000000
+#endif
+
+// External Multipurpose Crystal Oscillator Control
+// Oscillator enable
+// Indicates whether External Multipurpose Crystal Oscillator is enabled or not
+// xosc1_arch_enable
+#ifndef CONF_XOSC1_ENABLE
+#define CONF_XOSC1_ENABLE 1
+#endif
+
+// Start-Up Time
+// <0x0=>31us
+// <0x1=>61us
+// <0x2=>122us
+// <0x3=>244us
+// <0x4=>488us
+// <0x5=>977us
+// <0x6=>1953us
+// <0x7=>3906us
+// <0x8=>7813us
+// <0x9=>15625us
+// <0xA=>31250us
+// <0xB=>62500us
+// <0xC=>125000us
+// <0xD=>250000us
+// <0xE=>500000us
+// <0xF=>1000000us
+// xosc1_arch_startup
+#ifndef CONF_XOSC1_STARTUP
+#define CONF_XOSC1_STARTUP 0
+#endif
+
+// Clock Switch Back
+// Indicates whether Clock Switch Back is enabled or not
+// xosc1_arch_swben
+#ifndef CONF_XOSC1_SWBEN
+#define CONF_XOSC1_SWBEN 0
+#endif
+
+// Clock Failure Detector
+// Indicates whether Clock Failure Detector is enabled or not
+// xosc1_arch_cfden
+#ifndef CONF_XOSC1_CFDEN
+#define CONF_XOSC1_CFDEN 0
+#endif
+
+// Automatic Loop Control Enable
+// Indicates whether Automatic Loop Control is enabled or not
+// xosc1_arch_enalc
+#ifndef CONF_XOSC1_ENALC
+#define CONF_XOSC1_ENALC 0
+#endif
+
+// Low Buffer Gain Enable
+// Indicates whether Low Buffer Gain is enabled or not
+// xosc1_arch_lowbufgain
+#ifndef CONF_XOSC1_LOWBUFGAIN
+#define CONF_XOSC1_LOWBUFGAIN 0
+#endif
+
+// On Demand Control
+// Indicates whether On Demand Control is enabled or not
+// xosc1_arch_ondemand
+#ifndef CONF_XOSC1_ONDEMAND
+#define CONF_XOSC1_ONDEMAND 0
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// xosc1_arch_runstdby
+#ifndef CONF_XOSC1_RUNSTDBY
+#define CONF_XOSC1_RUNSTDBY 0
+#endif
+
+// Crystal connected to XIN/XOUT Enable
+// Indicates whether the connections between the I/O pads and the external clock or crystal oscillator is enabled or not
+// xosc1_arch_xtalen
+#ifndef CONF_XOSC1_XTALEN
+#define CONF_XOSC1_XTALEN 1
+#endif
+//
+//
+
+#if CONF_XOSC1_FREQUENCY >= 32000000
+#define CONF_XOSC1_CFDPRESC 0x0
+#define CONF_XOSC1_IMULT 0x7
+#define CONF_XOSC1_IPTAT 0x3
+#elif CONF_XOSC1_FREQUENCY >= 24000000
+#define CONF_XOSC1_CFDPRESC 0x1
+#define CONF_XOSC1_IMULT 0x6
+#define CONF_XOSC1_IPTAT 0x3
+#elif CONF_XOSC1_FREQUENCY >= 16000000
+#define CONF_XOSC1_CFDPRESC 0x2
+#define CONF_XOSC1_IMULT 0x5
+#define CONF_XOSC1_IPTAT 0x3
+#elif CONF_XOSC1_FREQUENCY >= 8000000
+#define CONF_XOSC1_CFDPRESC 0x3
+#define CONF_XOSC1_IMULT 0x4
+#define CONF_XOSC1_IPTAT 0x3
+#endif
+
+// DFLL Configuration
+// Indicates whether configuration for DFLL is enabled or not
+// enable_dfll
+#ifndef CONF_DFLL_CONFIG
+#define CONF_DFLL_CONFIG 1
+#endif
+
+// Reference Clock Source
+// Generic clock generator 0
+// Generic clock generator 1
+// Generic clock generator 2
+// Generic clock generator 3
+// Generic clock generator 4
+// Generic clock generator 5
+// Generic clock generator 6
+// Generic clock generator 7
+// Generic clock generator 8
+// Generic clock generator 9
+// Generic clock generator 10
+// Generic clock generator 11
+// Select the clock source
+// dfll_ref_clock
+#ifndef CONF_DFLL_GCLK
+#define CONF_DFLL_GCLK GCLK_PCHCTRL_GEN_GCLK2_Val
+#endif
+
+// Digital Frequency Locked Loop Control
+// DFLL Enable
+// Indicates whether DFLL is enabled or not
+// dfll_arch_enable
+#ifndef CONF_DFLL_ENABLE
+#define CONF_DFLL_ENABLE 1
+#endif
+
+// On Demand Control
+// Indicates whether On Demand Control is enabled or not
+// dfll_arch_ondemand
+#ifndef CONF_DFLL_ONDEMAND
+#define CONF_DFLL_ONDEMAND 0
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// dfll_arch_runstdby
+#ifndef CONF_DFLL_RUNSTDBY
+#define CONF_DFLL_RUNSTDBY 0
+#endif
+
+// USB Clock Recovery Mode
+// Indicates whether USB Clock Recovery Mode is enabled or not
+// dfll_arch_usbcrm
+#ifndef CONF_DFLL_USBCRM
+#define CONF_DFLL_USBCRM 0
+#endif
+
+// Wait Lock
+// Indicates whether Wait Lock is enabled or not
+// dfll_arch_waitlock
+#ifndef CONF_DFLL_WAITLOCK
+#define CONF_DFLL_WAITLOCK 1
+#endif
+
+// Bypass Coarse Lock
+// Indicates whether Bypass Coarse Lock is enabled or not
+// dfll_arch_bplckc
+#ifndef CONF_DFLL_BPLCKC
+#define CONF_DFLL_BPLCKC 0
+#endif
+
+// Quick Lock Disable
+// Indicates whether Quick Lock Disable is enabled or not
+// dfll_arch_qldis
+#ifndef CONF_DFLL_QLDIS
+#define CONF_DFLL_QLDIS 0
+#endif
+
+// Chill Cycle Disable
+// Indicates whether Chill Cycle Disable is enabled or not
+// dfll_arch_ccdis
+#ifndef CONF_DFLL_CCDIS
+#define CONF_DFLL_CCDIS 0
+#endif
+
+// Lose Lock After Wake
+// Indicates whether Lose Lock After Wake is enabled or not
+// dfll_arch_llaw
+#ifndef CONF_DFLL_LLAW
+#define CONF_DFLL_LLAW 0
+#endif
+
+// Stable DFLL Frequency
+// Indicates whether Stable DFLL Frequency is enabled or not
+// dfll_arch_stable
+#ifndef CONF_DFLL_STABLE
+#define CONF_DFLL_STABLE 0
+#endif
+
+// Operating Mode Selection
+// <0=>Open Loop Mode
+// <1=>Closed Loop Mode
+// dfll_mode
+#ifndef CONF_DFLL_MODE
+#define CONF_DFLL_MODE 0x0
+#endif
+
+// Coarse Maximum Step <0x0-0x1F>
+// dfll_arch_cstep
+#ifndef CONF_DFLL_CSTEP
+#define CONF_DFLL_CSTEP 0x1
+#endif
+
+// Fine Maximum Step <0x0-0xFF>
+// dfll_arch_fstep
+#ifndef CONF_DFLL_FSTEP
+#define CONF_DFLL_FSTEP 0x1
+#endif
+
+// DFLL Multiply Factor <0x0-0xFFFF>
+// dfll_mul
+#ifndef CONF_DFLL_MUL
+#define CONF_DFLL_MUL 0x0
+#endif
+
+// DFLL Calibration Overwrite
+// Indicates whether Overwrite Calibration value of DFLL
+// dfll_arch_calibration
+#ifndef CONF_DFLL_OVERWRITE_CALIBRATION
+#define CONF_DFLL_OVERWRITE_CALIBRATION 0
+#endif
+
+// Coarse Value <0x0-0x3F>
+// dfll_arch_coarse
+#ifndef CONF_DFLL_COARSE
+#define CONF_DFLL_COARSE (0x1f / 4)
+#endif
+
+// Fine Value <0x0-0xFF>
+// dfll_arch_fine
+#ifndef CONF_DFLL_FINE
+#define CONF_DFLL_FINE (0x80)
+#endif
+
+//
+
+//
+
+//
+
+// FDPLL0 Configuration
+// Indicates whether configuration for FDPLL0 is enabled or not
+// enable_fdpll0
+#ifndef CONF_FDPLL0_CONFIG
+#define CONF_FDPLL0_CONFIG 0
+#endif
+
+// Reference Clock Source
+// 32kHz External Crystal Oscillator (XOSC32K)
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator 0
+// Generic clock generator 1
+// Generic clock generator 2
+// Generic clock generator 3
+// Generic clock generator 4
+// Generic clock generator 5
+// Generic clock generator 6
+// Generic clock generator 7
+// Generic clock generator 8
+// Generic clock generator 9
+// Generic clock generator 10
+// Generic clock generator 11
+// Select the clock source.
+// fdpll0_ref_clock
+#ifndef CONF_FDPLL0_GCLK
+#define CONF_FDPLL0_GCLK GCLK_GENCTRL_SRC_XOSC32K
+#endif
+
+// Digital Phase Locked Loop Control
+// Enable
+// Indicates whether Digital Phase Locked Loop is enabled or not
+// fdpll0_arch_enable
+#ifndef CONF_FDPLL0_ENABLE
+#define CONF_FDPLL0_ENABLE 0
+#endif
+
+// On Demand Control
+// Indicates whether On Demand Control is enabled or not
+// fdpll0_arch_ondemand
+#ifndef CONF_FDPLL0_ONDEMAND
+#define CONF_FDPLL0_ONDEMAND 0
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// fdpll0_arch_runstdby
+#ifndef CONF_FDPLL0_RUNSTDBY
+#define CONF_FDPLL0_RUNSTDBY 0
+#endif
+
+// Loop Divider Ratio Fractional Part <0x0-0x1F>
+// Value of LDRFRAC is calculated using Fclk_dpll=Fckr*(LDR+1+LDRFRAC/32) formula as given in datasheet. This value is directly written in to DPLLRATIO register
+// fdpll0_ldrfrac
+#ifndef CONF_FDPLL0_LDRFRAC
+#define CONF_FDPLL0_LDRFRAC 0xd
+#endif
+
+// Loop Divider Ratio Integer Part <0x0-0x1FFF>
+// Value of LDR is calculated using Fclk_dpll=Fckr*(LDR+1+LDRFRAC/32) formula as given in datasheet. This value is directly written in to DPLLRATIO register
+// fdpll0_ldr
+#ifndef CONF_FDPLL0_LDR
+#define CONF_FDPLL0_LDR 0x5b7
+#endif
+
+// Clock Divider <0x0-0x7FF>
+// This Clock divider is only for XOSC clock input to DPLL
+// fdpll0_clock_div
+#ifndef CONF_FDPLL0_DIV
+#define CONF_FDPLL0_DIV 0x0
+#endif
+
+// DCO Filter Enable
+// Indicates whether DCO Filter Enable is enabled or not
+// fdpll0_arch_dcoen
+#ifndef CONF_FDPLL0_DCOEN
+#define CONF_FDPLL0_DCOEN 0
+#endif
+
+// Sigma-Delta DCO Filter Selection <0x0-0x7>
+// fdpll0_clock_dcofilter
+#ifndef CONF_FDPLL0_DCOFILTER
+#define CONF_FDPLL0_DCOFILTER 0x0
+#endif
+
+// Lock Bypass
+// Indicates whether Lock Bypass is enabled or not
+// fdpll0_arch_lbypass
+#ifndef CONF_FDPLL0_LBYPASS
+#define CONF_FDPLL0_LBYPASS 0
+#endif
+
+// Lock Time
+// <0x0=>No time-out, automatic lock
+// <0x4=>The Time-out if no lock within 800 us
+// <0x5=>The Time-out if no lock within 900 us
+// <0x6=>The Time-out if no lock within 1 ms
+// <0x7=>The Time-out if no lock within 11 ms
+// fdpll0_arch_ltime
+#ifndef CONF_FDPLL0_LTIME
+#define CONF_FDPLL0_LTIME 0x0
+#endif
+
+// Reference Clock Selection
+// <0x0=>GCLK clock reference
+// <0x1=>XOSC32K clock reference
+// <0x2=>XOSC0 clock reference
+// <0x3=>XOSC1 clock reference
+// fdpll0_arch_refclk
+#ifndef CONF_FDPLL0_REFCLK
+#define CONF_FDPLL0_REFCLK 0x1
+#endif
+
+// Wake Up Fast
+// Indicates whether Wake Up Fast is enabled or not
+// fdpll0_arch_wuf
+#ifndef CONF_FDPLL0_WUF
+#define CONF_FDPLL0_WUF 0
+#endif
+
+// Proportional Integral Filter Selection <0x0-0xF>
+// fdpll0_arch_filter
+#ifndef CONF_FDPLL0_FILTER
+#define CONF_FDPLL0_FILTER 0x0
+#endif
+
+//
+//
+// FDPLL1 Configuration
+// Indicates whether configuration for FDPLL1 is enabled or not
+// enable_fdpll1
+#ifndef CONF_FDPLL1_CONFIG
+#define CONF_FDPLL1_CONFIG 1
+#endif
+
+// Reference Clock Source
+// 32kHz External Crystal Oscillator (XOSC32K)
+// External Crystal Oscillator 8-48MHz (XOSC0)
+// External Crystal Oscillator 8-48MHz (XOSC1)
+// Generic clock generator 0
+// Generic clock generator 1
+// Generic clock generator 2
+// Generic clock generator 3
+// Generic clock generator 4
+// Generic clock generator 5
+// Generic clock generator 6
+// Generic clock generator 7
+// Generic clock generator 8
+// Generic clock generator 9
+// Generic clock generator 10
+// Generic clock generator 11
+// Select the clock source.
+// fdpll1_ref_clock
+#ifndef CONF_FDPLL1_GCLK
+#define CONF_FDPLL1_GCLK GCLK_PCHCTRL_GEN_GCLK1_Val
+#endif
+
+// Digital Phase Locked Loop Control
+// Enable
+// Indicates whether Digital Phase Locked Loop is enabled or not
+// fdpll1_arch_enable
+#ifndef CONF_FDPLL1_ENABLE
+#define CONF_FDPLL1_ENABLE 1
+#endif
+
+// On Demand Control
+// Indicates whether On Demand Control is enabled or not
+// fdpll1_arch_ondemand
+#ifndef CONF_FDPLL1_ONDEMAND
+#define CONF_FDPLL1_ONDEMAND 0
+#endif
+
+// Run in Standby
+// Indicates whether Run in Standby is enabled or not
+// fdpll1_arch_runstdby
+#ifndef CONF_FDPLL1_RUNSTDBY
+#define CONF_FDPLL1_RUNSTDBY 0
+#endif
+
+// Loop Divider Ratio Fractional Part <0x0-0x1F>
+// Value of LDRFRAC is calculated using Fclk_dpll=Fckr*(LDR+1+LDRFRAC/32) formula as given in datasheet. This value is directly written in to DPLLRATIO register
+// fdpll1_ldrfrac
+#ifndef CONF_FDPLL1_LDRFRAC
+#define CONF_FDPLL1_LDRFRAC 0x0
+#endif
+
+// Loop Divider Ratio Integer Part <0x0-0x1FFF>
+// Value of LDR is calculated using Fclk_dpll=Fckr*(LDR+1+LDRFRAC/32) formula as given in datasheet. This value is directly written in to DPLLRATIO register
+// fdpll1_ldr
+#ifndef CONF_FDPLL1_LDR
+#define CONF_FDPLL1_LDR 0x3b
+#endif
+
+// Clock Divider <0x0-0x7FF>
+// This Clock divider is only for XOSC clock input to DPLL
+// fdpll1_clock_div
+#ifndef CONF_FDPLL1_DIV
+#define CONF_FDPLL1_DIV 0x0
+#endif
+
+// DCO Filter Enable
+// Indicates whether DCO Filter Enable is enabled or not
+// fdpll1_arch_dcoen
+#ifndef CONF_FDPLL1_DCOEN
+#define CONF_FDPLL1_DCOEN 0
+#endif
+
+// Sigma-Delta DCO Filter Selection <0x0-0x7>
+// fdpll1_clock_dcofilter
+#ifndef CONF_FDPLL1_DCOFILTER
+#define CONF_FDPLL1_DCOFILTER 0x0
+#endif
+
+// Lock Bypass
+// Indicates whether Lock Bypass is enabled or not
+// fdpll1_arch_lbypass
+#ifndef CONF_FDPLL1_LBYPASS
+#define CONF_FDPLL1_LBYPASS 0
+#endif
+
+// Lock Time
+// <0x0=>No time-out, automatic lock
+// <0x4=>The Time-out if no lock within 800 us
+// <0x5=>The Time-out if no lock within 900 us
+// <0x6=>The Time-out if no lock within 1 ms
+// <0x7=>The Time-out if no lock within 11 ms
+// fdpll1_arch_ltime
+#ifndef CONF_FDPLL1_LTIME
+#define CONF_FDPLL1_LTIME 0x0
+#endif
+
+// Reference Clock Selection
+// <0x0=>GCLK clock reference
+// <0x1=>XOSC32K clock reference
+// <0x2=>XOSC0 clock reference
+// <0x3=>XOSC1 clock reference
+// fdpll1_arch_refclk
+#ifndef CONF_FDPLL1_REFCLK
+#define CONF_FDPLL1_REFCLK 0x0
+#endif
+
+// Wake Up Fast
+// Indicates whether Wake Up Fast is enabled or not
+// fdpll1_arch_wuf
+#ifndef CONF_FDPLL1_WUF
+#define CONF_FDPLL1_WUF 0
+#endif
+
+// Proportional Integral Filter Selection <0x0-0xF>
+// fdpll1_arch_filter
+#ifndef CONF_FDPLL1_FILTER
+#define CONF_FDPLL1_FILTER 0x0
+#endif
+
+//
+//
+
+// <<< end of configuration section >>>
+
+#endif // HPL_OSCCTRL_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_port_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_port_config.h
new file mode 100644
index 0000000..6c138d9
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_port_config.h
@@ -0,0 +1,522 @@
+/* Auto-generated config file hpl_port_config.h */
+#ifndef HPL_PORT_CONFIG_H
+#define HPL_PORT_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// PORT Input Event 0 configuration
+// enable_port_input_event_0
+#ifndef CONF_PORT_EVCTRL_PORT_0
+#define CONF_PORT_EVCTRL_PORT_0 1
+#endif
+
+// PORT Input Event 0 configuration on PORT A
+
+// PORTA Input Event 0 Enable
+// The event action will be triggered on any incoming event if PORT A Input Event 0 configuration is enabled
+// porta_input_event_enable_0
+#ifndef CONF_PORTA_EVCTRL_PORTEI_0
+#define CONF_PORTA_EVCTRL_PORTEI_0 0x0
+#endif
+
+// PORTA Event 0 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port A on which the event action will be performed
+// porta_event_pin_identifier_0
+#ifndef CONF_PORTA_EVCTRL_PID_0
+#define CONF_PORTA_EVCTRL_PID_0 0x0
+#endif
+
+// PORTA Event 0 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT A will perform on event input 0
+// porta_event_action_0
+#ifndef CONF_PORTA_EVCTRL_EVACT_0
+#define CONF_PORTA_EVCTRL_EVACT_0 0
+#endif
+
+//
+// PORT Input Event 0 configuration on PORT B
+
+// PORTB Input Event 0 Enable
+// The event action will be triggered on any incoming event if PORT B Input Event 0 configuration is enabled
+// portb_input_event_enable_0
+#ifndef CONF_PORTB_EVCTRL_PORTEI_0
+#define CONF_PORTB_EVCTRL_PORTEI_0 0x0
+#endif
+
+// PORTB Event 0 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port B on which the event action will be performed
+// portb_event_pin_identifier_0
+#ifndef CONF_PORTB_EVCTRL_PID_0
+#define CONF_PORTB_EVCTRL_PID_0 0x0
+#endif
+
+// PORTB Event 0 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT B will perform on event input 0
+// portb_event_action_0
+#ifndef CONF_PORTB_EVCTRL_EVACT_0
+#define CONF_PORTB_EVCTRL_EVACT_0 0
+#endif
+
+//
+// PORT Input Event 0 configuration on PORT C
+
+// PORTC Input Event 0 Enable
+// The event action will be triggered on any incoming event if PORT C Input Event 0 configuration is enabled
+// portc_input_event_enable_0
+#ifndef CONF_PORTC_EVCTRL_PORTEI_0
+#define CONF_PORTC_EVCTRL_PORTEI_0 0x0
+#endif
+
+// PORTC Event 0 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port C on which the event action will be performed
+// portc_event_pin_identifier_0
+#ifndef CONF_PORTC_EVCTRL_PID_0
+#define CONF_PORTC_EVCTRL_PID_0 0x0
+#endif
+
+// PORTC Event 0 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT C will perform on event input 0
+// portc_event_action_0
+#ifndef CONF_PORTC_EVCTRL_EVACT_0
+#define CONF_PORTC_EVCTRL_EVACT_0 0
+#endif
+
+//
+// PORT Input Event 0 configuration on PORT D
+
+// PORTD Input Event 0 Enable
+// The event action will be triggered on any incoming event if PORT D Input Event 0 configuration is enabled
+// portd_input_event_enable_0
+#ifndef CONF_PORTD_EVCTRL_PORTEI_0
+#define CONF_PORTD_EVCTRL_PORTEI_0 0x1
+#endif
+
+// PORTD Event 0 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port D on which the event action will be performed
+// portd_event_pin_identifier_0
+#ifndef CONF_PORTD_EVCTRL_PID_0
+#define CONF_PORTD_EVCTRL_PID_0 0xb
+#endif
+
+// PORTD Event 0 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT D will perform on event input 0
+// portd_event_action_0
+#ifndef CONF_PORTD_EVCTRL_EVACT_0
+#define CONF_PORTD_EVCTRL_EVACT_0 0
+#endif
+
+//
+
+//
+
+// PORT Input Event 1 configuration
+// enable_port_input_event_1
+#ifndef CONF_PORT_EVCTRL_PORT_1
+#define CONF_PORT_EVCTRL_PORT_1 1
+#endif
+
+// PORT Input Event 1 configuration on PORT A
+
+// PORTA Input Event 1 Enable
+// The event action will be triggered on any incoming event if PORT A Input Event 1 configuration is enabled
+// porta_input_event_enable_1
+#ifndef CONF_PORTA_EVCTRL_PORTEI_1
+#define CONF_PORTA_EVCTRL_PORTEI_1 0x0
+#endif
+
+// PORTA Event 1 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port A on which the event action will be performed
+// porta_event_pin_identifier_1
+#ifndef CONF_PORTA_EVCTRL_PID_1
+#define CONF_PORTA_EVCTRL_PID_1 0x0
+#endif
+
+// PORTA Event 1 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT A will perform on event input 1
+// porta_event_action_1
+#ifndef CONF_PORTA_EVCTRL_EVACT_1
+#define CONF_PORTA_EVCTRL_EVACT_1 0
+#endif
+
+//
+// PORT Input Event 1 configuration on PORT B
+
+// PORTB Input Event 1 Enable
+// The event action will be triggered on any incoming event if PORT B Input Event 1 configuration is enabled
+// portb_input_event_enable_1
+#ifndef CONF_PORTB_EVCTRL_PORTEI_1
+#define CONF_PORTB_EVCTRL_PORTEI_1 0x0
+#endif
+
+// PORTB Event 1 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port B on which the event action will be performed
+// portb_event_pin_identifier_1
+#ifndef CONF_PORTB_EVCTRL_PID_1
+#define CONF_PORTB_EVCTRL_PID_1 0x0
+#endif
+
+// PORTB Event 1 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT B will perform on event input 1
+// portb_event_action_1
+#ifndef CONF_PORTB_EVCTRL_EVACT_1
+#define CONF_PORTB_EVCTRL_EVACT_1 0
+#endif
+
+//
+// PORT Input Event 1 configuration on PORT C
+
+// PORTC Input Event 1 Enable
+// The event action will be triggered on any incoming event if PORT C Input Event 1 configuration is enabled
+// portc_input_event_enable_1
+#ifndef CONF_PORTC_EVCTRL_PORTEI_1
+#define CONF_PORTC_EVCTRL_PORTEI_1 0x1
+#endif
+
+// PORTC Event 1 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port C on which the event action will be performed
+// portc_event_pin_identifier_1
+#ifndef CONF_PORTC_EVCTRL_PID_1
+#define CONF_PORTC_EVCTRL_PID_1 0x1
+#endif
+
+// PORTC Event 1 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT C will perform on event input 1
+// portc_event_action_1
+#ifndef CONF_PORTC_EVCTRL_EVACT_1
+#define CONF_PORTC_EVCTRL_EVACT_1 0
+#endif
+
+//
+// PORT Input Event 1 configuration on PORT D
+
+// PORTD Input Event 1 Enable
+// The event action will be triggered on any incoming event if PORT D Input Event 1 configuration is enabled
+// portd_input_event_enable_1
+#ifndef CONF_PORTD_EVCTRL_PORTEI_1
+#define CONF_PORTD_EVCTRL_PORTEI_1 0x0
+#endif
+
+// PORTD Event 1 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port D on which the event action will be performed
+// portd_event_pin_identifier_1
+#ifndef CONF_PORTD_EVCTRL_PID_1
+#define CONF_PORTD_EVCTRL_PID_1 0x0
+#endif
+
+// PORTD Event 1 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT D will perform on event input 1
+// portd_event_action_1
+#ifndef CONF_PORTD_EVCTRL_EVACT_1
+#define CONF_PORTD_EVCTRL_EVACT_1 0
+#endif
+
+//
+
+//
+
+// PORT Input Event 2 configuration
+// enable_port_input_event_2
+#ifndef CONF_PORT_EVCTRL_PORT_2
+#define CONF_PORT_EVCTRL_PORT_2 0
+#endif
+
+// PORT Input Event 2 configuration on PORT A
+
+// PORTA Input Event 2 Enable
+// The event action will be triggered on any incoming event if PORT A Input Event 2 configuration is enabled
+// porta_input_event_enable_2
+#ifndef CONF_PORTA_EVCTRL_PORTEI_2
+#define CONF_PORTA_EVCTRL_PORTEI_2 0x0
+#endif
+
+// PORTA Event 2 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port A on which the event action will be performed
+// porta_event_pin_identifier_2
+#ifndef CONF_PORTA_EVCTRL_PID_2
+#define CONF_PORTA_EVCTRL_PID_2 0x0
+#endif
+
+// PORTA Event 2 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT A will perform on event input 2
+// porta_event_action_2
+#ifndef CONF_PORTA_EVCTRL_EVACT_2
+#define CONF_PORTA_EVCTRL_EVACT_2 0
+#endif
+
+//
+// PORT Input Event 2 configuration on PORT B
+
+// PORTB Input Event 2 Enable
+// The event action will be triggered on any incoming event if PORT B Input Event 2 configuration is enabled
+// portb_input_event_enable_2
+#ifndef CONF_PORTB_EVCTRL_PORTEI_2
+#define CONF_PORTB_EVCTRL_PORTEI_2 0x0
+#endif
+
+// PORTB Event 2 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port B on which the event action will be performed
+// portb_event_pin_identifier_2
+#ifndef CONF_PORTB_EVCTRL_PID_2
+#define CONF_PORTB_EVCTRL_PID_2 0x0
+#endif
+
+// PORTB Event 2 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT B will perform on event input 2
+// portb_event_action_2
+#ifndef CONF_PORTB_EVCTRL_EVACT_2
+#define CONF_PORTB_EVCTRL_EVACT_2 0
+#endif
+
+//
+// PORT Input Event 2 configuration on PORT C
+
+// PORTC Input Event 2 Enable
+// The event action will be triggered on any incoming event if PORT C Input Event 2 configuration is enabled
+// portc_input_event_enable_2
+#ifndef CONF_PORTC_EVCTRL_PORTEI_2
+#define CONF_PORTC_EVCTRL_PORTEI_2 0x0
+#endif
+
+// PORTC Event 2 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port C on which the event action will be performed
+// portc_event_pin_identifier_2
+#ifndef CONF_PORTC_EVCTRL_PID_2
+#define CONF_PORTC_EVCTRL_PID_2 0x0
+#endif
+
+// PORTC Event 2 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT C will perform on event input 2
+// portc_event_action_2
+#ifndef CONF_PORTC_EVCTRL_EVACT_2
+#define CONF_PORTC_EVCTRL_EVACT_2 0
+#endif
+
+//
+// PORT Input Event 2 configuration on PORT D
+
+// PORTD Input Event 2 Enable
+// The event action will be triggered on any incoming event if PORT D Input Event 2 configuration is enabled
+// portd_input_event_enable_2
+#ifndef CONF_PORTD_EVCTRL_PORTEI_2
+#define CONF_PORTD_EVCTRL_PORTEI_2 0x0
+#endif
+
+// PORTD Event 2 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port D on which the event action will be performed
+// portd_event_pin_identifier_2
+#ifndef CONF_PORTD_EVCTRL_PID_2
+#define CONF_PORTD_EVCTRL_PID_2 0x0
+#endif
+
+// PORTD Event 2 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT D will perform on event input 2
+// portd_event_action_2
+#ifndef CONF_PORTD_EVCTRL_EVACT_2
+#define CONF_PORTD_EVCTRL_EVACT_2 0
+#endif
+
+//
+
+//
+
+// PORT Input Event 3 configuration
+// enable_port_input_event_3
+#ifndef CONF_PORT_EVCTRL_PORT_3
+#define CONF_PORT_EVCTRL_PORT_3 0
+#endif
+
+// PORT Input Event 3 configuration on PORT A
+
+// PORTA Input Event 3 Enable
+// The event action will be triggered on any incoming event if PORT A Input Event 3 configuration is enabled
+// porta_input_event_enable_3
+#ifndef CONF_PORTA_EVCTRL_PORTEI_3
+#define CONF_PORTA_EVCTRL_PORTEI_3 0x0
+#endif
+
+// PORTA Event 3 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port A on which the event action will be performed
+// porta_event_pin_identifier_3
+#ifndef CONF_PORTA_EVCTRL_PID_3
+#define CONF_PORTA_EVCTRL_PID_3 0x0
+#endif
+
+// PORTA Event 3 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT A will perform on event input 3
+// porta_event_action_3
+#ifndef CONF_PORTA_EVCTRL_EVACT_3
+#define CONF_PORTA_EVCTRL_EVACT_3 0
+#endif
+
+//
+// PORT Input Event 3 configuration on PORT B
+
+// PORTB Input Event 3 Enable
+// The event action will be triggered on any incoming event if PORT B Input Event 3 configuration is enabled
+// portb_input_event_enable_3
+#ifndef CONF_PORTB_EVCTRL_PORTEI_3
+#define CONF_PORTB_EVCTRL_PORTEI_3 0x0
+#endif
+
+// PORTB Event 3 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port B on which the event action will be performed
+// portb_event_pin_identifier_3
+#ifndef CONF_PORTB_EVCTRL_PID_3
+#define CONF_PORTB_EVCTRL_PID_3 0x0
+#endif
+
+// PORTB Event 3 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT B will perform on event input 3
+// portb_event_action_3
+#ifndef CONF_PORTB_EVCTRL_EVACT_3
+#define CONF_PORTB_EVCTRL_EVACT_3 0
+#endif
+
+//
+// PORT Input Event 3 configuration on PORT C
+
+// PORTC Input Event 3 Enable
+// The event action will be triggered on any incoming event if PORT C Input Event 3 configuration is enabled
+// portc_input_event_enable_3
+#ifndef CONF_PORTC_EVCTRL_PORTEI_3
+#define CONF_PORTC_EVCTRL_PORTEI_3 0x0
+#endif
+
+// PORTC Event 3 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port C on which the event action will be performed
+// portc_event_pin_identifier_3
+#ifndef CONF_PORTC_EVCTRL_PID_3
+#define CONF_PORTC_EVCTRL_PID_3 0x0
+#endif
+
+// PORTC Event 3 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT C will perform on event input 3
+// portc_event_action_3
+#ifndef CONF_PORTC_EVCTRL_EVACT_3
+#define CONF_PORTC_EVCTRL_EVACT_3 0
+#endif
+
+//
+// PORT Input Event 3 configuration on PORT D
+
+// PORTD Input Event 3 Enable
+// The event action will be triggered on any incoming event if PORT D Input Event 3 configuration is enabled
+// portd_input_event_enable_3
+#ifndef CONF_PORTD_EVCTRL_PORTEI_3
+#define CONF_PORTD_EVCTRL_PORTEI_3 0x0
+#endif
+
+// PORTD Event 3 Pin Identifier <0x00-0x1F>
+// These bits define the I/O pin from port D on which the event action will be performed
+// portd_event_pin_identifier_3
+#ifndef CONF_PORTD_EVCTRL_PID_3
+#define CONF_PORTD_EVCTRL_PID_3 0x0
+#endif
+
+// PORTD Event 3 Action
+// <0=> Output register of pin will be set to level of event
+// <1=> Set output register of pin on event
+// <2=> Clear output register of pin on event
+// <3=> Toggle output register of pin on event
+// These bits define the event action the PORT D will perform on event input 3
+// portd_event_action_3
+#ifndef CONF_PORTD_EVCTRL_EVACT_3
+#define CONF_PORTD_EVCTRL_EVACT_3 0
+#endif
+
+//
+
+//
+
+#define CONF_PORTA_EVCTRL \
+ (0 | PORT_EVCTRL_EVACT0(CONF_PORTA_EVCTRL_EVACT_0) | CONF_PORTA_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \
+ | PORT_EVCTRL_PID0(CONF_PORTA_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTA_EVCTRL_EVACT_1) \
+ | CONF_PORTA_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTA_EVCTRL_PID_1) \
+ | PORT_EVCTRL_EVACT2(CONF_PORTA_EVCTRL_EVACT_2) | CONF_PORTA_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \
+ | PORT_EVCTRL_PID2(CONF_PORTA_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTA_EVCTRL_EVACT_3) \
+ | CONF_PORTA_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTA_EVCTRL_PID_3))
+#define CONF_PORTB_EVCTRL \
+ (0 | PORT_EVCTRL_EVACT0(CONF_PORTB_EVCTRL_EVACT_0) | CONF_PORTB_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \
+ | PORT_EVCTRL_PID0(CONF_PORTB_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTB_EVCTRL_EVACT_1) \
+ | CONF_PORTB_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTB_EVCTRL_PID_1) \
+ | PORT_EVCTRL_EVACT2(CONF_PORTB_EVCTRL_EVACT_2) | CONF_PORTB_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \
+ | PORT_EVCTRL_PID2(CONF_PORTB_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTB_EVCTRL_EVACT_3) \
+ | CONF_PORTB_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTB_EVCTRL_PID_3))
+#define CONF_PORTC_EVCTRL \
+ (0 | PORT_EVCTRL_EVACT0(CONF_PORTC_EVCTRL_EVACT_0) | CONF_PORTC_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \
+ | PORT_EVCTRL_PID0(CONF_PORTC_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTC_EVCTRL_EVACT_1) \
+ | CONF_PORTC_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTC_EVCTRL_PID_1) \
+ | PORT_EVCTRL_EVACT2(CONF_PORTC_EVCTRL_EVACT_2) | CONF_PORTC_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \
+ | PORT_EVCTRL_PID2(CONF_PORTC_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTC_EVCTRL_EVACT_3) \
+ | CONF_PORTC_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTC_EVCTRL_PID_3))
+#define CONF_PORTD_EVCTRL \
+ (0 | PORT_EVCTRL_EVACT0(CONF_PORTD_EVCTRL_EVACT_0) | CONF_PORTD_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \
+ | PORT_EVCTRL_PID0(CONF_PORTD_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTD_EVCTRL_EVACT_1) \
+ | CONF_PORTD_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTD_EVCTRL_PID_1) \
+ | PORT_EVCTRL_EVACT2(CONF_PORTD_EVCTRL_EVACT_2) | CONF_PORTD_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \
+ | PORT_EVCTRL_PID2(CONF_PORTD_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTD_EVCTRL_EVACT_3) \
+ | CONF_PORTD_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTD_EVCTRL_PID_3))
+
+// <<< end of configuration section >>>
+
+#endif // HPL_PORT_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_sercom_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_sercom_config.h
new file mode 100644
index 0000000..4623219
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_sercom_config.h
@@ -0,0 +1,190 @@
+/* Auto-generated config file hpl_sercom_config.h */
+#ifndef HPL_SERCOM_CONFIG_H
+#define HPL_SERCOM_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+#include
+
+// Enable configuration of module
+#ifndef CONF_SERCOM_5_SPI_ENABLE
+#define CONF_SERCOM_5_SPI_ENABLE 1
+#endif
+
+// SPI DMA TX Channel <0-32>
+// This defines DMA channel to be used
+// spi_master_dma_tx_channel
+#ifndef CONF_SERCOM_5_SPI_M_DMA_TX_CHANNEL
+#define CONF_SERCOM_5_SPI_M_DMA_TX_CHANNEL 1
+#endif
+
+// SPI RX Channel Enable
+// spi_master_rx_channel
+#ifndef CONF_SERCOM_5_SPI_RX_CHANNEL
+#define CONF_SERCOM_5_SPI_RX_CHANNEL 1
+#endif
+
+// DMA Channel <0-32>
+// This defines DMA channel to be used
+// spi_master_dma_rx_channel
+#ifndef CONF_SERCOM_5_SPI_M_DMA_RX_CHANNEL
+#define CONF_SERCOM_5_SPI_M_DMA_RX_CHANNEL 0
+#endif
+
+//
+
+// Set module in SPI Master mode
+#ifndef CONF_SERCOM_5_SPI_MODE
+#define CONF_SERCOM_5_SPI_MODE 0x03
+#endif
+
+// Basic Configuration
+
+// Receive buffer enable
+// Enable receive buffer to receive data from slave (RXEN)
+// spi_master_rx_enable
+#ifndef CONF_SERCOM_5_SPI_RXEN
+#define CONF_SERCOM_5_SPI_RXEN 0x1
+#endif
+
+// Character Size
+// Bit size for all characters sent over the SPI bus (CHSIZE)
+// <0x0=>8 bits
+// <0x1=>9 bits
+// spi_master_character_size
+#ifndef CONF_SERCOM_5_SPI_CHSIZE
+#define CONF_SERCOM_5_SPI_CHSIZE 0x0
+#endif
+// Baud rate <1-18000000>
+// The SPI data transfer rate
+// spi_master_baud_rate
+#ifndef CONF_SERCOM_5_SPI_BAUD
+#define CONF_SERCOM_5_SPI_BAUD 12000000
+#endif
+
+//
+
+// Advanced Configuration
+// spi_master_advanced
+#ifndef CONF_SERCOM_5_SPI_ADVANCED
+#define CONF_SERCOM_5_SPI_ADVANCED 1
+#endif
+
+// Dummy byte <0x00-0x1ff>
+// spi_master_dummybyte
+// Dummy byte used when reading data from the slave without sending any data
+#ifndef CONF_SERCOM_5_SPI_DUMMYBYTE
+#define CONF_SERCOM_5_SPI_DUMMYBYTE 0x1ff
+#endif
+
+// Data Order
+// <0=>MSB first
+// <1=>LSB first
+// I least significant or most significant bit is shifted out first (DORD)
+// spi_master_arch_dord
+#ifndef CONF_SERCOM_5_SPI_DORD
+#define CONF_SERCOM_5_SPI_DORD 0x0
+#endif
+
+// Clock Polarity
+// <0=>SCK is low when idle
+// <1=>SCK is high when idle
+// Determines if the leading edge is rising or falling with a corresponding opposite edge at the trailing edge. (CPOL)
+// spi_master_arch_cpol
+#ifndef CONF_SERCOM_5_SPI_CPOL
+#define CONF_SERCOM_5_SPI_CPOL 0x0
+#endif
+
+// Clock Phase
+// <0x0=>Sample input on leading edge
+// <0x1=>Sample input on trailing edge
+// Determines if input data is sampled on leading or trailing SCK edge. (CPHA)
+// spi_master_arch_cpha
+#ifndef CONF_SERCOM_5_SPI_CPHA
+#define CONF_SERCOM_5_SPI_CPHA 0x0
+#endif
+
+// Immediate Buffer Overflow Notification
+// Controls when OVF is asserted (IBON)
+// <0x0=>In data stream
+// <0x1=>On buffer overflow
+// spi_master_arch_ibon
+#ifndef CONF_SERCOM_5_SPI_IBON
+#define CONF_SERCOM_5_SPI_IBON 0x0
+#endif
+
+// Run in stand-by
+// Module stays active in stand-by sleep mode. (RUNSTDBY)
+// spi_master_arch_runstdby
+#ifndef CONF_SERCOM_5_SPI_RUNSTDBY
+#define CONF_SERCOM_5_SPI_RUNSTDBY 0x0
+#endif
+
+// Debug Stop Mode
+// Behavior of the baud-rate generator when CPU is halted by external debugger. (DBGSTOP)
+// <0=>Keep running
+// <1=>Halt
+// spi_master_arch_dbgstop
+#ifndef CONF_SERCOM_5_SPI_DBGSTOP
+#define CONF_SERCOM_5_SPI_DBGSTOP 0
+#endif
+
+//
+
+// Address mode disabled in master mode
+#ifndef CONF_SERCOM_5_SPI_AMODE_EN
+#define CONF_SERCOM_5_SPI_AMODE_EN 0
+#endif
+
+#ifndef CONF_SERCOM_5_SPI_AMODE
+#define CONF_SERCOM_5_SPI_AMODE 0
+#endif
+
+#ifndef CONF_SERCOM_5_SPI_ADDR
+#define CONF_SERCOM_5_SPI_ADDR 0
+#endif
+
+#ifndef CONF_SERCOM_5_SPI_ADDRMASK
+#define CONF_SERCOM_5_SPI_ADDRMASK 0
+#endif
+
+#ifndef CONF_SERCOM_5_SPI_SSDE
+#define CONF_SERCOM_5_SPI_SSDE 0
+#endif
+
+#ifndef CONF_SERCOM_5_SPI_MSSEN
+#define CONF_SERCOM_5_SPI_MSSEN 0x0
+#endif
+
+#ifndef CONF_SERCOM_5_SPI_PLOADEN
+#define CONF_SERCOM_5_SPI_PLOADEN 0
+#endif
+
+// Receive Data Pinout
+// <0x0=>PAD[0]
+// <0x1=>PAD[1]
+// <0x2=>PAD[2]
+// <0x3=>PAD[3]
+// spi_master_rxpo
+#ifndef CONF_SERCOM_5_SPI_RXPO
+#define CONF_SERCOM_5_SPI_RXPO 3
+#endif
+
+// Transmit Data Pinout
+// <0x0=>PAD[0,1]_DO_SCK
+// <0x1=>PAD[2,3]_DO_SCK
+// <0x2=>PAD[3,1]_DO_SCK
+// <0x3=>PAD[0,3]_DO_SCK
+// spi_master_txpo
+#ifndef CONF_SERCOM_5_SPI_TXPO
+#define CONF_SERCOM_5_SPI_TXPO 0
+#endif
+
+// Calculate baud register value from requested baudrate value
+#ifndef CONF_SERCOM_5_SPI_BAUD_RATE
+#define CONF_SERCOM_5_SPI_BAUD_RATE ((float)CONF_GCLK_SERCOM5_CORE_FREQUENCY / (float)(2 * CONF_SERCOM_5_SPI_BAUD)) - 1
+#endif
+
+// <<< end of configuration section >>>
+
+#endif // HPL_SERCOM_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_tcc_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_tcc_config.h
new file mode 100644
index 0000000..55b9362
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/hpl_tcc_config.h
@@ -0,0 +1,1124 @@
+/* Auto-generated config file hpl_tcc_config.h */
+#ifndef HPL_TCC_CONFIG_H
+#define HPL_TCC_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+#include
+#ifndef CONF_TCC0_ENABLE
+#define CONF_TCC0_ENABLE 1
+#endif
+
+#ifndef CONF_TCC0_PWM_ENABLE
+#define CONF_TCC0_PWM_ENABLE 1
+#endif
+
+// Basic settings
+// TCC0 Prescaler
+// No division
+// Divide by 2
+// Divide by 4
+// Divide by 8
+// Divide by 16
+// Divide by 64
+// Divide by 256
+// Divide by 1024
+// This defines the TCC0 prescaler value
+// tcc_prescaler
+#ifndef CONF_TCC0_PRESCALER
+#define CONF_TCC0_PRESCALER TCC_CTRLA_PRESCALER_DIV2_Val
+#endif
+
+//
+// TCC0 Period Value <0x000000-0xFFFFFF>
+// tcc_per
+#ifndef CONF_TCC0_PER
+#define CONF_TCC0_PER 0x2710
+#endif
+//
+
+//
+
+// PWM Waveform Output settings
+// TCC0 Waveform Period Value (uS) <0x00-0xFFFFFFFF>
+// The unit of this value is us.
+// tcc_arch_wave_per_val
+#ifndef CONF_TCC0_WAVE_PER_VAL
+#define CONF_TCC0_WAVE_PER_VAL 0x30
+#endif
+
+// TCC0 Waveform Duty Value (0.1%) <0x00-0x03E8>
+// The unit of this value is 1/1000.
+// tcc_arch_wave_duty_val
+#ifndef CONF_TCC0_WAVE_DUTY_VAL
+#define CONF_TCC0_WAVE_DUTY_VAL 0x1f4
+#endif
+
+// TCC0 Waveform Channel Select <0x00-0x05>
+// Index of the Compare Channel register, into which the Waveform Duty Value is written.
+// Give index of the Compare Channel register here in 0x00-0x05 range.
+// tcc_arch_sel_ch
+#ifndef CONF_TCC0_SEL_CH
+#define CONF_TCC0_SEL_CH 0x0
+#endif
+
+/* Caculate pwm ccx register value based on WAVE_PER_VAL and Waveform Duty Value */
+#if CONF_TCC0_PRESCALER < TCC_CTRLA_PRESCALER_DIV64_Val
+#define CONF_TCC0_PER_REG \
+ ((uint32_t)(((double)CONF_TCC0_WAVE_PER_VAL * CONF_GCLK_TCC0_FREQUENCY) / 1000000 / (1 << CONF_TCC0_PRESCALER) - 1))
+#define CONF_TCC0_CCX_REG ((uint32_t)(((double)(double)CONF_TCC0_PER_REG * CONF_TCC0_WAVE_DUTY_VAL) / 1000))
+
+#elif CONF_TCC0_PRESCALER == TCC_CTRLA_PRESCALER_DIV64_Val
+#define CONF_TCC0_PER_REG ((uint32_t)(((double)CONF_TCC0_WAVE_PER_VAL * CONF_GCLK_TCC0_FREQUENCY) / 64000000 - 1))
+#define CONF_TCC0_CCX_REG ((uint32_t)(((double)CONF_TCC0_PER_REG * CONF_TCC0_WAVE_DUTY_VAL) / 1000))
+
+#elif CONF_TCC0_PRESCALER == TCC_CTRLA_PRESCALER_DIV256_Val
+#define CONF_TCC0_PER_REG ((uint32_t)(((double)CONF_TCC0_WAVE_PER_VAL * CONF_GCLK_TCC0_FREQUENCY) / 256000000 - 1))
+#define CONF_TCC0_CCX_REG ((uint32_t)(((double)CONF_TCC0_PER_REG * CONF_TCC0_WAVE_DUTY_VAL) / 1000))
+
+#elif CONF_TCC0_PRESCALER == TCC_CTRLA_PRESCALER_DIV1024_Val
+#define CONF_TCC0_PER_REG ((uint32_t)(((double)CONF_TCC0_WAVE_PER_VAL * CONF_GCLK_TCC0_FREQUENCY) / 1024000000 - 1))
+#define CONF_TCC0_CCX_REG ((uint32_t)(((double)CONF_TCC0_PER_REG * CONF_TCC0_WAVE_DUTY_VAL) / 1000))
+#endif
+//
+
+// Advanced settings
+/* Commented intentionally. Timer uses fixed value of the following bit(s)/bitfield(s) of CTRL A register.
+ * May be used by other abstractions based on TC. */
+//#define CONF_TCC0_RESOLUTION TCC_CTRLA_RESOLUTION_NONE_Val
+// Run in standby
+// Indicates whether the TCC0 will continue running in standby sleep mode or not
+// tcc_arch_runstdby
+#ifndef CONF_TCC0_RUNSTDBY
+#define CONF_TCC0_RUNSTDBY 0
+#endif
+
+// TCC0 Prescaler and Counter Synchronization Selection
+// Reload or reset counter on next GCLK
+// Reload or reset counter on next prescaler clock
+// Reload or reset counter on next GCLK and reset prescaler counter
+// These bits select if on retrigger event, the Counter should be cleared or reloaded on the next GCLK_TCCx clock or on the next prescaled GCLK_TCCx clock.
+// tcc_arch_prescsync
+#ifndef CONF_TCC0_PRESCSYNC
+#define CONF_TCC0_PRESCSYNC TCC_CTRLA_PRESCSYNC_GCLK_Val
+#endif
+
+// TCC0 Waveform Generation Selection
+// Single-slope PWM
+// Dual-slope, critical interrupt/event at ZERO (DSCRITICAL)
+// Dual-slope, interrupt/event at ZERO (DSBOTTOM)
+// Dual-slope, interrupt/event at Top and ZERO (DSBOTH)
+// Dual-slope, interrupt/event at Top (DSTOP)
+// tcc_arch_wavegen
+#ifndef CONF_TCC0_WAVEGEN
+#define CONF_TCC0_WAVEGEN TCC_WAVE_WAVEGEN_DSBOTTOM_Val
+#endif
+// TCC0 Auto Lock
+// Indicates whether the TCC0 Auto Lock is enabled or not
+// tcc_arch_alock
+#ifndef CONF_TCC0_ALOCK
+#define CONF_TCC0_ALOCK 0
+#endif
+
+// TCC0 Capture Channel 0 Enable
+// Indicates whether the TCC0 Capture Channel 0 is enabled or not
+// tcc_arch_cpten0
+#ifndef CONF_TCC0_CPTEN0
+#define CONF_TCC0_CPTEN0 0
+#endif
+
+// TCC0 Capture Channel 1 Enable
+// Indicates whether the TCC0 Capture Channel 1 is enabled or not
+// tcc_arch_cpten1
+#ifndef CONF_TCC0_CPTEN1
+#define CONF_TCC0_CPTEN1 0
+#endif
+
+// TCC0 Capture Channel 2 Enable
+// Indicates whether the TCC0 Capture Channel 2 is enabled or not
+// tcc_arch_cpten2
+#ifndef CONF_TCC0_CPTEN2
+#define CONF_TCC0_CPTEN2 0
+#endif
+
+// TCC0 Capture Channel 3 Enable
+// Indicates whether the TCC0 Capture Channel 3 is enabled or not
+// tcc_arch_cpten3
+#ifndef CONF_TCC0_CPTEN3
+#define CONF_TCC0_CPTEN3 0
+#endif
+
+// TCC0 Capture Channel 4 Enable
+// Indicates whether the TCC0 Capture Channel 4 is enabled or not
+// tcc_arch_cpten4
+#ifndef CONF_TCC0_CPTEN4
+#define CONF_TCC0_CPTEN4 0
+#endif
+
+// TCC0 Capture Channel 5 Enable
+// Indicates whether the TCC0 Capture Channel 5 is enabled or not
+// tcc_arch_cpten5
+#ifndef CONF_TCC0_CPTEN5
+#define CONF_TCC0_CPTEN5 0
+#endif
+
+//
+// TCC0 Capture Channel 6 Enable
+// Indicates whether the TCC0 Capture Channel 6 is enabled or not
+// tcc_arch_cpten6
+#ifndef CONF_TCC0_CPTEN6
+#define CONF_TCC0_CPTEN6 0
+#endif
+//
+//
+// TCC0 Capture Channel 7 Enable
+// Indicates whether the TCC0 Capture Channel 7 is enabled or not
+// tcc_arch_cpten7
+#ifndef CONF_TCC0_CPTEN7
+#define CONF_TCC0_CPTEN7 0
+#endif
+//
+
+// TCC0 Lock update
+// Indicates whether the TCC0 Lock update is enabled or not
+// tcc_arch_lupd
+#ifndef CONF_TCC0_LUPD
+#define CONF_TCC0_LUPD 0
+#endif
+
+/* Commented intentionally. Timer uses fixed value of the following bit(s)/bitfield(s) of CTRL B register.
+ * May be used by other abstractions based on TC. */
+//#define CONF_TCC0_DIR 0
+//#define CONF_TCC0_ONESHOT 0
+
+/* Commented intentionally. No fault control for timers. */
+/*#define CONF_TCC0_FAULT_A_SRC TCC_FCTRLA_SRC_DISABLE_Val
+#define CONF_TCC0_FAULT_A_KEEP 0
+#define CONF_TCC0_FAULT_A_QUAL 0
+#define CONF_TCC0_FAULT_A_BLANK TCC_FCTRLA_BLANK_DISABLE_Val
+#define CONF_TCC0_FAULT_A_RESTART 0
+#define CONF_TCC0_FAULT_A_HALT TCC_FCTRLA_HALT_DISABLE_Val
+#define CONF_TCC0_FAULT_A_CHSEL TCC_FCTRLA_CHSEL_CC0_Val
+#define CONF_TCC0_FAULT_A_CAPTURE TCC_FCTRLA_CAPTURE_DISABLE_Val
+#define CONF_TCC0_FAULT_A_BLACNKPRESC 0
+#define CONF_TCC0_FAULT_A_BLANKVAL 0
+#define CONF_TCC0_FAULT_A_FILTERVAL 0
+
+#define CONF_TCC0_FAULT_B_SRC TCC_FCTRLB_SRC_DISABLE_Val
+#define CONF_TCC0_FAULT_B_KEEP 0
+#define CONF_TCC0_FAULT_B_QUAL 0
+#define CONF_TCC0_FAULT_B_BLANK TCC_FCTRLB_BLANK_DISABLE_Val
+#define CONF_TCC0_FAULT_B_RESTART 0
+#define CONF_TCC0_FAULT_B_HALT TCC_FCTRLB_HALT_DISABLE_Val
+#define CONF_TCC0_FAULT_B_CHSEL TCC_FCTRLB_CHSEL_CC0_Val
+#define CONF_TCC0_FAULT_B_CAPTURE TCC_FCTRLB_CAPTURE_DISABLE_Val
+#define CONF_TCC0_FAULT_B_BLACNKPRESC 0
+#define CONF_TCC0_FAULT_B_BLANKVAL 0
+#define CONF_TCC0_FAULT_B_FILTERVAL 0*/
+
+/* Commented intentionally. No dead-time control for timers. */
+/*#define CONF_TCC0_OTMX 0
+#define CONF_TCC0_DTIEN0 0
+#define CONF_TCC0_DTIEN1 0
+#define CONF_TCC0_DTIEN2 0
+#define CONF_TCC0_DTIEN3 0
+#define CONF_TCC0_DTHS 0*/
+
+/* Commented intentionally. No driver control for timers. */
+/*#define CONF_TCC0_NRE0 0
+#define CONF_TCC0_NRE1 0
+#define CONF_TCC0_NRE2 0
+#define CONF_TCC0_NRE3 0
+#define CONF_TCC0_NRE4 0
+#define CONF_TCC0_NRE5 0
+#define CONF_TCC0_NRE6 0
+#define CONF_TCC0_NRE7 0
+#define CONF_TCC0_NVR0 0
+#define CONF_TCC0_NVR1 0
+#define CONF_TCC0_NVR2 0
+#define CONF_TCC0_NVR3 0
+#define CONF_TCC0_NVR4 0
+#define CONF_TCC0_NVR5 0
+#define CONF_TCC0_NVR6 0
+#define CONF_TCC0_NVR7 0
+#define CONF_TCC0_INVEN0 0
+#define CONF_TCC0_INVEN1 0
+#define CONF_TCC0_INVEN2 0
+#define CONF_TCC0_INVEN3 0
+#define CONF_TCC0_INVEN4 0
+#define CONF_TCC0_INVEN5 0
+#define CONF_TCC0_INVEN6 0
+#define CONF_TCC0_INVEN7 0
+#define CONF_TCC0_FILTERVAL0 0
+#define CONF_TCC0_FILTERVAL1 0*/
+
+// TCC0 Debug Running Mode
+// Indicates whether the TCC0 Debug Running Mode is enabled or not
+// tcc_arch_dbgrun
+#ifndef CONF_TCC0_DBGRUN
+#define CONF_TCC0_DBGRUN 0
+#endif
+
+/* Commented intentionally. Timer uses fixed value of the following bit(s)/bitfield(s) of Debug Control register.
+ * May be used by other abstractions based on TC. */
+//#define CONF_TCC0_FDDBD 0
+
+// Event control
+// timer_event_control
+#ifndef CONF_TCC0_EVENT_CONTROL_ENABLE
+#define CONF_TCC0_EVENT_CONTROL_ENABLE 1
+#endif
+
+// Match or Capture Channel 0 Event Output
+// This bit indicates whether match/capture event on channel 0 is enabled and will be generated
+// tcc_arch_mceo0
+#ifndef CONF_TCC0_MCEO0
+#define CONF_TCC0_MCEO0 0
+#endif
+
+// Match or Capture Channel 0 Event Input
+// This bit indicates whether match/capture 0 incoming event is enabled
+// tcc_arch_mcei0
+#ifndef CONF_TCC0_MCEI0
+#define CONF_TCC0_MCEI0 0
+#endif
+// Match or Capture Channel 1 Event Output
+// This bit indicates whether match/capture event on channel 1 is enabled and will be generated
+// tcc_arch_mceo1
+#ifndef CONF_TCC0_MCEO1
+#define CONF_TCC0_MCEO1 0
+#endif
+
+// Match or Capture Channel 1 Event Input
+// This bit indicates whether match/capture 1 incoming event is enabled
+// tcc_arch_mcei1
+#ifndef CONF_TCC0_MCEI1
+#define CONF_TCC0_MCEI1 0
+#endif
+// Match or Capture Channel 2 Event Output
+// This bit indicates whether match/capture event on channel 2 is enabled and will be generated
+// tcc_arch_mceo2
+#ifndef CONF_TCC0_MCEO2
+#define CONF_TCC0_MCEO2 0
+#endif
+
+// Match or Capture Channel 2 Event Input
+// This bit indicates whether match/capture 2 incoming event is enabled
+// tcc_arch_mcei2
+#ifndef CONF_TCC0_MCEI2
+#define CONF_TCC0_MCEI2 0
+#endif
+// Match or Capture Channel 3 Event Output
+// This bit indicates whether match/capture event on channel 3 is enabled and will be generated
+// tcc_arch_mceo3
+#ifndef CONF_TCC0_MCEO3
+#define CONF_TCC0_MCEO3 0
+#endif
+
+// Match or Capture Channel 3 Event Input
+// This bit indicates whether match/capture 3 incoming event is enabled
+// tcc_arch_mcei3
+#ifndef CONF_TCC0_MCEI3
+#define CONF_TCC0_MCEI3 0
+#endif
+// Match or Capture Channel 4 Event Output
+// This bit indicates whether match/capture event on channel 4 is enabled and will be generated
+// tcc_arch_mceo4
+#ifndef CONF_TCC0_MCEO4
+#define CONF_TCC0_MCEO4 0
+#endif
+
+// Match or Capture Channel 4 Event Input
+// This bit indicates whether match/capture 4 incoming event is enabled
+// tcc_arch_mcei4
+#ifndef CONF_TCC0_MCEI4
+#define CONF_TCC0_MCEI4 0
+#endif
+// Match or Capture Channel 5 Event Output
+// This bit indicates whether match/capture event on channel 5 is enabled and will be generated
+// tcc_arch_mceo5
+#ifndef CONF_TCC0_MCEO5
+#define CONF_TCC0_MCEO5 0
+#endif
+
+// Match or Capture Channel 5 Event Input
+// This bit indicates whether match/capture 5 incoming event is enabled
+// tcc_arch_mcei5
+#ifndef CONF_TCC0_MCEI5
+#define CONF_TCC0_MCEI5 0
+#endif
+
+// Timer/Counter Event Input 0
+// This bit is used to enable input event 0 to the TCC
+// tcc_arch_tcei0
+#ifndef CONF_TCC0_TCEI0
+#define CONF_TCC0_TCEI0 0
+#endif
+
+// Timer/Counter Event Input 0 Invert
+// This bit inverts the event 0 input
+// tcc_arch_tceinv0
+#ifndef CONF_TCC0_TCINV0
+#define CONF_TCC0_TCINV0 0
+#endif
+// Timer/Counter Event Input 1
+// This bit is used to enable input event 1 to the TCC
+// tcc_arch_tcei1
+#ifndef CONF_TCC0_TCEI1
+#define CONF_TCC0_TCEI1 0
+#endif
+
+// Timer/Counter Event Input 1 Invert
+// This bit inverts the event 1 input
+// tcc_arch_tceinv1
+#ifndef CONF_TCC0_TCINV1
+#define CONF_TCC0_TCINV1 0
+#endif
+
+// Timer/Counter Event Output
+// This bit is used to enable the counter cycle event.
+// tcc_arch_cnteo
+#ifndef CONF_TCC0_CNTEO
+#define CONF_TCC0_CNTEO 0
+#endif
+
+// Re-trigger Event Output
+// This bit is used to enable the counter re-trigger event.
+// tcc_arch_trgeo
+#ifndef CONF_TCC0_TRGEO
+#define CONF_TCC0_TRGEO 0
+#endif
+
+// Overflow/Underflow Event Output
+// This bit is used to enable enable event on overflow/underflow.
+// tcc_arch_ovfeo
+#ifndef CONF_TCC0_OVFEO
+#define CONF_TCC0_OVFEO 1
+#endif
+
+// Timer/Counter Interrupt and Event Output Selection
+// <0=> An interrupt/event is generated when a new counter cycle starts
+// <1=> An interrupt/event is generated when a counter cycle ends
+// <2=> An interrupt/event is generated when a counter cycle ends, except for the first and last cycles
+// <3=> An interrupt/event is generated when a new counter cycle starts or a counter cycle ends
+// These bits define on which part of the counter cycle the counter event output is generated
+// tcc_arch_cntsel
+#ifndef CONF_TCC0_CNTSEL
+#define CONF_TCC0_CNTSEL 0
+#endif
+
+// Timer/Counter Event Input 0 Action
+// <0=>Event action disabled
+// <1=>Start restart or re-trigger on event
+// <2=>Count on event
+// <3=>Start on event
+// <4=>Increment on event
+// <5=>Count on active state of asynchronous event
+// <6=>Capture overflow times (Max value)
+// <7=>Non-recoverable fault
+// These bits define the action the TCC performs on TCE0 event input 0
+// tcc_arch_evact0
+#ifndef CONF_TCC0_EVACT0
+#define CONF_TCC0_EVACT0 0
+#endif
+
+// Timer/Counter Event Input 1 Action
+// <0=>Event action disabled
+// <1=>Re-trigger counter on event
+// <2=>Direction control
+// <3=>Stop counter on event
+// <4=>Decrement counter on event
+// <5=>Period capture value in CC0 register, pulse width capture value in CC1 register
+// <6=>Period capture value in CC1 register, pulse width capture value in CC0 register
+// <7=>Non-recoverable fault
+// These bits define the action the TCC performs on TCE0 event input 0
+// tcc_arch_evact1
+#ifndef CONF_TCC0_EVACT1
+#define CONF_TCC0_EVACT1 0
+#endif
+//
+
+/* Commented intentionally. No pattern control for timers. */
+/*#define CONF_TCC0_PGE0 0
+#define CONF_TCC0_PGE1 0
+#define CONF_TCC0_PGE2 0
+#define CONF_TCC0_PGE3 0
+#define CONF_TCC0_PGE4 0
+#define CONF_TCC0_PGE5 0
+#define CONF_TCC0_PGE6 0
+#define CONF_TCC0_PGE7 0
+#define CONF_TCC0_PGV0 0
+#define CONF_TCC0_PGV1 0
+#define CONF_TCC0_PGV2 0
+#define CONF_TCC0_PGV3 0
+#define CONF_TCC0_PGV4 0
+#define CONF_TCC0_PGV5 0
+#define CONF_TCC0_PGV6 0
+#define CONF_TCC0_PGV7 0*/
+
+/* Commented intentionally. No pattern waveform control for timers. */
+/*#define CONF_TCC0_WAVEGEN TCC_WAVE_WAVEGEN_MFRQ_Val
+#define CONF_TCC0_RAMP TCC_WAVE_RAMP_RAMP1_Val
+#define CONF_TCC0_CIPEREN 0
+#define CONF_TCC0_CICCEN0 0
+#define CONF_TCC0_CICCEN1 0
+#define CONF_TCC0_CICCEN2 0
+#define CONF_TCC0_CICCEN3 0
+#define CONF_TCC0_POL0 0
+#define CONF_TCC0_POL1 0
+#define CONF_TCC0_POL2 0
+#define CONF_TCC0_POL3 0
+#define CONF_TCC0_POL4 0
+#define CONF_TCC0_POL5 0
+#define CONF_TCC0_POL6 0
+#define CONF_TCC0_POL7 0
+#define CONF_TCC0_SWAP0 0
+#define CONF_TCC0_SWAP1 0
+#define CONF_TCC0_SWAP2 0
+#define CONF_TCC0_SWAP3 0*/
+
+// TCC0 Compare and Capture value 0 <0x00-0xFFFFFF>
+// tcc_arch_cc0
+#ifndef CONF_TCC0_CC0
+#define CONF_TCC0_CC0 0x0
+#endif
+
+// TCC0 Compare and Capture value 1 <0x00-0xFFFFFF>
+// tcc_arch_cc1
+#ifndef CONF_TCC0_CC1
+#define CONF_TCC0_CC1 0x0
+#endif
+
+// TCC0 Compare and Capture value 2 <0x00-0xFFFFFF>
+// tcc_arch_cc2
+#ifndef CONF_TCC0_CC2
+#define CONF_TCC0_CC2 0x0
+#endif
+
+// TCC0 Compare and Capture value 3 <0x00-0xFFFFFF>
+// tcc_arch_cc3
+#ifndef CONF_TCC0_CC3
+#define CONF_TCC0_CC3 0x0
+#endif
+
+// TCC0 Compare and Capture value 4 <0x00-0xFFFFFF>
+// tcc_arch_cc4
+#ifndef CONF_TCC0_CC4
+#define CONF_TCC0_CC4 0x0
+#endif
+
+// TCC0 Compare and Capture value 5 <0x00-0xFFFFFF>
+// tcc_arch_cc5
+#ifndef CONF_TCC0_CC5
+#define CONF_TCC0_CC5 0x0
+#endif
+
+/* Commented intentionally. No pattern control for timers. */
+/*#define CONF_TCC0_PATTB_PGEB0 0
+#define CONF_TCC0_PATTB_PGEB1 0
+#define CONF_TCC0_PATTB_PGEB2 0
+#define CONF_TCC0_PATTB_PGEB3 0
+#define CONF_TCC0_PATTB_PGEB4 0
+#define CONF_TCC0_PATTB_PGEB5 0
+#define CONF_TCC0_PATTB_PGEB6 0
+#define CONF_TCC0_PATTB_PGEB7 0
+#define CONF_TCC0_PATTB_PGVB0 0
+#define CONF_TCC0_PATTB_PGVB1 0
+#define CONF_TCC0_PATTB_PGVB2 0
+#define CONF_TCC0_PATTB_PGVB3 0
+#define CONF_TCC0_PATTB_PGVB4 0
+#define CONF_TCC0_PATTB_PGVB5 0
+#define CONF_TCC0_PATTB_PGVB6 0
+#define CONF_TCC0_PATTB_PGVB7 0*/
+
+/* Commented intentionally. No waveform control for timers. */
+/*#define CONF_TCC0_WAVEGENB TCC_WAVEB_WAVEGENB_MFRQ_Val
+#define CONF_TCC0_RAMPB TCC_WAVE_RAMP_RAMP1_Val
+#define CONF_TCC0_CIPERENB 0
+#define CONF_TCC0_CICCEN0B 0
+#define CONF_TCC0_CICCEN1B 0
+#define CONF_TCC0_CICCEN2B 0
+#define CONF_TCC0_CICCEN3B 0
+#define CONF_TCC0_POL0B 0
+#define CONF_TCC0_POL1B 0
+#define CONF_TCC0_POL2B 0
+#define CONF_TCC0_POL3B 0
+#define CONF_TCC0_POL4B 0
+#define CONF_TCC0_POL5B 0
+#define CONF_TCC0_POL6B 0
+#define CONF_TCC0_POL7B 0
+#define CONF_TCC0_SWAP0B 0
+#define CONF_TCC0_SWAP1B 0
+#define CONF_TCC0_SWAP2B 0
+#define CONF_TCC0_SWAP3B 0*/
+
+/* Commented intentionally. No buffering for timers. */
+/*#define CONF_TCC0_PERB 0
+#define CONF_TCC0_CCB0 0
+#define CONF_TCC0_CCB1 0
+#define CONF_TCC0_CCB2 0
+#define CONF_TCC0_CCB3 0*/
+//
+
+#define CONF_TCC0_CTRLA \
+ TCC_CTRLA_PRESCALER(CONF_TCC0_PRESCALER) | (CONF_TCC0_RUNSTDBY << TCC_CTRLA_RUNSTDBY_Pos) \
+ | TCC_CTRLA_PRESCSYNC(CONF_TCC0_PRESCSYNC) | (CONF_TCC0_CPTEN0 << TCC_CTRLA_CPTEN0_Pos) \
+ | (CONF_TCC0_CPTEN1 << TCC_CTRLA_CPTEN1_Pos) | (CONF_TCC0_CPTEN2 << TCC_CTRLA_CPTEN2_Pos) \
+ | (CONF_TCC0_CPTEN3 << TCC_CTRLA_CPTEN3_Pos) | (CONF_TCC0_CPTEN4 << TCC_CTRLA_CPTEN4_Pos) \
+ | (CONF_TCC0_CPTEN5 << TCC_CTRLA_CPTEN5_Pos) | (CONF_TCC0_ALOCK << TCC_CTRLA_ALOCK_Pos)
+#define CONF_TCC0_CTRLB (CONF_TCC0_LUPD << TCC_CTRLBSET_LUPD_Pos)
+#define CONF_TCC0_DBGCTRL (CONF_TCC0_DBGRUN << TCC_DBGCTRL_DBGRUN_Pos)
+#define CONF_TCC0_EVCTRL \
+ TCC_EVCTRL_CNTSEL(CONF_TCC0_CNTSEL) | (CONF_TCC0_OVFEO << TCC_EVCTRL_OVFEO_Pos) \
+ | (CONF_TCC0_TRGEO << TCC_EVCTRL_TRGEO_Pos) | (CONF_TCC0_CNTEO << TCC_EVCTRL_CNTEO_Pos) \
+ | (CONF_TCC0_MCEO0 << TCC_EVCTRL_MCEO0_Pos) | (CONF_TCC0_MCEI0 << TCC_EVCTRL_MCEI0_Pos) \
+ | (CONF_TCC0_MCEO1 << TCC_EVCTRL_MCEO1_Pos) | (CONF_TCC0_MCEI1 << TCC_EVCTRL_MCEI1_Pos) \
+ | (CONF_TCC0_MCEO2 << TCC_EVCTRL_MCEO2_Pos) | (CONF_TCC0_MCEI2 << TCC_EVCTRL_MCEI2_Pos) \
+ | (CONF_TCC0_MCEO3 << TCC_EVCTRL_MCEO3_Pos) | (CONF_TCC0_MCEI3 << TCC_EVCTRL_MCEI3_Pos) \
+ | (CONF_TCC0_MCEO4 << TCC_EVCTRL_MCEO4_Pos) | (CONF_TCC0_MCEI4 << TCC_EVCTRL_MCEI4_Pos) \
+ | (CONF_TCC0_MCEO5 << TCC_EVCTRL_MCEO5_Pos) | (CONF_TCC0_MCEI5 << TCC_EVCTRL_MCEI5_Pos) \
+ | (CONF_TCC0_TCEI0 << TCC_EVCTRL_TCEI0_Pos) | (CONF_TCC0_TCEI1 << TCC_EVCTRL_TCEI1_Pos) \
+ | (CONF_TCC0_TCINV0 << TCC_EVCTRL_TCINV0_Pos) | (CONF_TCC0_TCINV1 << TCC_EVCTRL_TCINV1_Pos) \
+ | TCC_EVCTRL_EVACT1(CONF_TCC0_EVACT1) | TCC_EVCTRL_EVACT0(CONF_TCC0_EVACT0)
+
+#include
+#ifndef CONF_TCC1_ENABLE
+#define CONF_TCC1_ENABLE 1
+#endif
+
+#ifndef CONF_TCC1_PWM_ENABLE
+#define CONF_TCC1_PWM_ENABLE 1
+#endif
+
+// Basic settings
+// TCC1 Prescaler
+// No division
+// Divide by 2
+// Divide by 4
+// Divide by 8
+// Divide by 16
+// Divide by 64
+// Divide by 256
+// Divide by 1024
+// This defines the TCC1 prescaler value
+// tcc_prescaler
+#ifndef CONF_TCC1_PRESCALER
+#define CONF_TCC1_PRESCALER TCC_CTRLA_PRESCALER_DIV2_Val
+#endif
+
+//
+// TCC1 Period Value <0x000000-0xFFFFFF>
+// tcc_per
+#ifndef CONF_TCC1_PER
+#define CONF_TCC1_PER 0x2710
+#endif
+//
+
+//
+
+// PWM Waveform Output settings
+// TCC1 Waveform Period Value (uS) <0x00-0xFFFFFFFF>
+// The unit of this value is us.
+// tcc_arch_wave_per_val
+#ifndef CONF_TCC1_WAVE_PER_VAL
+#define CONF_TCC1_WAVE_PER_VAL 0x30
+#endif
+
+// TCC1 Waveform Duty Value (0.1%) <0x00-0x03E8>
+// The unit of this value is 1/1000.
+// tcc_arch_wave_duty_val
+#ifndef CONF_TCC1_WAVE_DUTY_VAL
+#define CONF_TCC1_WAVE_DUTY_VAL 0x1f4
+#endif
+
+// TCC1 Waveform Channel Select <0x00-0x03>
+// Index of the Compare Channel register, into which the Waveform Duty Value is written.
+// Give index of the Compare Channel register here in 0x00-0x03 range.
+// tcc_arch_sel_ch
+#ifndef CONF_TCC1_SEL_CH
+#define CONF_TCC1_SEL_CH 0x3
+#endif
+
+/* Caculate pwm ccx register value based on WAVE_PER_VAL and Waveform Duty Value */
+#if CONF_TCC1_PRESCALER < TCC_CTRLA_PRESCALER_DIV64_Val
+#define CONF_TCC1_PER_REG \
+ ((uint32_t)(((double)CONF_TCC1_WAVE_PER_VAL * CONF_GCLK_TCC1_FREQUENCY) / 1000000 / (1 << CONF_TCC1_PRESCALER) - 1))
+#define CONF_TCC1_CCX_REG ((uint32_t)(((double)(double)CONF_TCC1_PER_REG * CONF_TCC1_WAVE_DUTY_VAL) / 1000))
+
+#elif CONF_TCC1_PRESCALER == TCC_CTRLA_PRESCALER_DIV64_Val
+#define CONF_TCC1_PER_REG ((uint32_t)(((double)CONF_TCC1_WAVE_PER_VAL * CONF_GCLK_TCC1_FREQUENCY) / 64000000 - 1))
+#define CONF_TCC1_CCX_REG ((uint32_t)(((double)CONF_TCC1_PER_REG * CONF_TCC1_WAVE_DUTY_VAL) / 1000))
+
+#elif CONF_TCC1_PRESCALER == TCC_CTRLA_PRESCALER_DIV256_Val
+#define CONF_TCC1_PER_REG ((uint32_t)(((double)CONF_TCC1_WAVE_PER_VAL * CONF_GCLK_TCC1_FREQUENCY) / 256000000 - 1))
+#define CONF_TCC1_CCX_REG ((uint32_t)(((double)CONF_TCC1_PER_REG * CONF_TCC1_WAVE_DUTY_VAL) / 1000))
+
+#elif CONF_TCC1_PRESCALER == TCC_CTRLA_PRESCALER_DIV1024_Val
+#define CONF_TCC1_PER_REG ((uint32_t)(((double)CONF_TCC1_WAVE_PER_VAL * CONF_GCLK_TCC1_FREQUENCY) / 1024000000 - 1))
+#define CONF_TCC1_CCX_REG ((uint32_t)(((double)CONF_TCC1_PER_REG * CONF_TCC1_WAVE_DUTY_VAL) / 1000))
+#endif
+//
+
+// Advanced settings
+/* Commented intentionally. Timer uses fixed value of the following bit(s)/bitfield(s) of CTRL A register.
+ * May be used by other abstractions based on TC. */
+//#define CONF_TCC1_RESOLUTION TCC_CTRLA_RESOLUTION_NONE_Val
+// Run in standby
+// Indicates whether the TCC1 will continue running in standby sleep mode or not
+// tcc_arch_runstdby
+#ifndef CONF_TCC1_RUNSTDBY
+#define CONF_TCC1_RUNSTDBY 0
+#endif
+
+// TCC1 Prescaler and Counter Synchronization Selection
+// Reload or reset counter on next GCLK
+// Reload or reset counter on next prescaler clock
+// Reload or reset counter on next GCLK and reset prescaler counter
+// These bits select if on retrigger event, the Counter should be cleared or reloaded on the next GCLK_TCCx clock or on the next prescaled GCLK_TCCx clock.
+// tcc_arch_prescsync
+#ifndef CONF_TCC1_PRESCSYNC
+#define CONF_TCC1_PRESCSYNC TCC_CTRLA_PRESCSYNC_GCLK_Val
+#endif
+
+// TCC1 Waveform Generation Selection
+// Single-slope PWM
+// Dual-slope, critical interrupt/event at ZERO (DSCRITICAL)
+// Dual-slope, interrupt/event at ZERO (DSBOTTOM)
+// Dual-slope, interrupt/event at Top and ZERO (DSBOTH)
+// Dual-slope, interrupt/event at Top (DSTOP)
+// tcc_arch_wavegen
+#ifndef CONF_TCC1_WAVEGEN
+#define CONF_TCC1_WAVEGEN TCC_WAVE_WAVEGEN_NPWM_Val
+#endif
+// TCC1 Auto Lock
+// Indicates whether the TCC1 Auto Lock is enabled or not
+// tcc_arch_alock
+#ifndef CONF_TCC1_ALOCK
+#define CONF_TCC1_ALOCK 0
+#endif
+
+// TCC1 Capture Channel 0 Enable
+// Indicates whether the TCC1 Capture Channel 0 is enabled or not
+// tcc_arch_cpten0
+#ifndef CONF_TCC1_CPTEN0
+#define CONF_TCC1_CPTEN0 0
+#endif
+
+// TCC1 Capture Channel 1 Enable
+// Indicates whether the TCC1 Capture Channel 1 is enabled or not
+// tcc_arch_cpten1
+#ifndef CONF_TCC1_CPTEN1
+#define CONF_TCC1_CPTEN1 0
+#endif
+
+// TCC1 Capture Channel 2 Enable
+// Indicates whether the TCC1 Capture Channel 2 is enabled or not
+// tcc_arch_cpten2
+#ifndef CONF_TCC1_CPTEN2
+#define CONF_TCC1_CPTEN2 0
+#endif
+
+// TCC1 Capture Channel 3 Enable
+// Indicates whether the TCC1 Capture Channel 3 is enabled or not
+// tcc_arch_cpten3
+#ifndef CONF_TCC1_CPTEN3
+#define CONF_TCC1_CPTEN3 0
+#endif
+
+//
+// TCC1 Capture Channel 4 Enable
+// Indicates whether the TCC1 Capture Channel 4 is enabled or not
+// tcc_arch_cpten4
+#ifndef CONF_TCC1_CPTEN4
+#define CONF_TCC1_CPTEN4 0
+#endif
+//
+//
+// TCC1 Capture Channel 5 Enable
+// Indicates whether the TCC1 Capture Channel 5 is enabled or not
+// tcc_arch_cpten5
+#ifndef CONF_TCC1_CPTEN5
+#define CONF_TCC1_CPTEN5 0
+#endif
+//
+//
+// TCC1 Capture Channel 6 Enable
+// Indicates whether the TCC1 Capture Channel 6 is enabled or not
+// tcc_arch_cpten6
+#ifndef CONF_TCC1_CPTEN6
+#define CONF_TCC1_CPTEN6 0
+#endif
+//
+//
+// TCC1 Capture Channel 7 Enable
+// Indicates whether the TCC1 Capture Channel 7 is enabled or not
+// tcc_arch_cpten7
+#ifndef CONF_TCC1_CPTEN7
+#define CONF_TCC1_CPTEN7 0
+#endif
+//
+
+// TCC1 Lock update
+// Indicates whether the TCC1 Lock update is enabled or not
+// tcc_arch_lupd
+#ifndef CONF_TCC1_LUPD
+#define CONF_TCC1_LUPD 0
+#endif
+
+/* Commented intentionally. Timer uses fixed value of the following bit(s)/bitfield(s) of CTRL B register.
+ * May be used by other abstractions based on TC. */
+//#define CONF_TCC1_DIR 0
+//#define CONF_TCC1_ONESHOT 0
+
+/* Commented intentionally. No fault control for timers. */
+/*#define CONF_TCC1_FAULT_A_SRC TCC_FCTRLA_SRC_DISABLE_Val
+#define CONF_TCC1_FAULT_A_KEEP 0
+#define CONF_TCC1_FAULT_A_QUAL 0
+#define CONF_TCC1_FAULT_A_BLANK TCC_FCTRLA_BLANK_DISABLE_Val
+#define CONF_TCC1_FAULT_A_RESTART 0
+#define CONF_TCC1_FAULT_A_HALT TCC_FCTRLA_HALT_DISABLE_Val
+#define CONF_TCC1_FAULT_A_CHSEL TCC_FCTRLA_CHSEL_CC0_Val
+#define CONF_TCC1_FAULT_A_CAPTURE TCC_FCTRLA_CAPTURE_DISABLE_Val
+#define CONF_TCC1_FAULT_A_BLACNKPRESC 0
+#define CONF_TCC1_FAULT_A_BLANKVAL 0
+#define CONF_TCC1_FAULT_A_FILTERVAL 0
+
+#define CONF_TCC1_FAULT_B_SRC TCC_FCTRLB_SRC_DISABLE_Val
+#define CONF_TCC1_FAULT_B_KEEP 0
+#define CONF_TCC1_FAULT_B_QUAL 0
+#define CONF_TCC1_FAULT_B_BLANK TCC_FCTRLB_BLANK_DISABLE_Val
+#define CONF_TCC1_FAULT_B_RESTART 0
+#define CONF_TCC1_FAULT_B_HALT TCC_FCTRLB_HALT_DISABLE_Val
+#define CONF_TCC1_FAULT_B_CHSEL TCC_FCTRLB_CHSEL_CC0_Val
+#define CONF_TCC1_FAULT_B_CAPTURE TCC_FCTRLB_CAPTURE_DISABLE_Val
+#define CONF_TCC1_FAULT_B_BLACNKPRESC 0
+#define CONF_TCC1_FAULT_B_BLANKVAL 0
+#define CONF_TCC1_FAULT_B_FILTERVAL 0*/
+
+/* Commented intentionally. No dead-time control for timers. */
+/*#define CONF_TCC1_OTMX 0
+#define CONF_TCC1_DTIEN0 0
+#define CONF_TCC1_DTIEN1 0
+#define CONF_TCC1_DTIEN2 0
+#define CONF_TCC1_DTIEN3 0
+#define CONF_TCC1_DTHS 0*/
+
+/* Commented intentionally. No driver control for timers. */
+/*#define CONF_TCC1_NRE0 0
+#define CONF_TCC1_NRE1 0
+#define CONF_TCC1_NRE2 0
+#define CONF_TCC1_NRE3 0
+#define CONF_TCC1_NRE4 0
+#define CONF_TCC1_NRE5 0
+#define CONF_TCC1_NRE6 0
+#define CONF_TCC1_NRE7 0
+#define CONF_TCC1_NVR0 0
+#define CONF_TCC1_NVR1 0
+#define CONF_TCC1_NVR2 0
+#define CONF_TCC1_NVR3 0
+#define CONF_TCC1_NVR4 0
+#define CONF_TCC1_NVR5 0
+#define CONF_TCC1_NVR6 0
+#define CONF_TCC1_NVR7 0
+#define CONF_TCC1_INVEN0 0
+#define CONF_TCC1_INVEN1 0
+#define CONF_TCC1_INVEN2 0
+#define CONF_TCC1_INVEN3 0
+#define CONF_TCC1_INVEN4 0
+#define CONF_TCC1_INVEN5 0
+#define CONF_TCC1_INVEN6 0
+#define CONF_TCC1_INVEN7 0
+#define CONF_TCC1_FILTERVAL0 0
+#define CONF_TCC1_FILTERVAL1 0*/
+
+// TCC1 Debug Running Mode
+// Indicates whether the TCC1 Debug Running Mode is enabled or not
+// tcc_arch_dbgrun
+#ifndef CONF_TCC1_DBGRUN
+#define CONF_TCC1_DBGRUN 0
+#endif
+
+/* Commented intentionally. Timer uses fixed value of the following bit(s)/bitfield(s) of Debug Control register.
+ * May be used by other abstractions based on TC. */
+//#define CONF_TCC1_FDDBD 0
+
+// Event control
+// timer_event_control
+#ifndef CONF_TCC1_EVENT_CONTROL_ENABLE
+#define CONF_TCC1_EVENT_CONTROL_ENABLE 1
+#endif
+
+// Match or Capture Channel 0 Event Output
+// This bit indicates whether match/capture event on channel 0 is enabled and will be generated
+// tcc_arch_mceo0
+#ifndef CONF_TCC1_MCEO0
+#define CONF_TCC1_MCEO0 0
+#endif
+
+// Match or Capture Channel 0 Event Input
+// This bit indicates whether match/capture 0 incoming event is enabled
+// tcc_arch_mcei0
+#ifndef CONF_TCC1_MCEI0
+#define CONF_TCC1_MCEI0 0
+#endif
+// Match or Capture Channel 1 Event Output
+// This bit indicates whether match/capture event on channel 1 is enabled and will be generated
+// tcc_arch_mceo1
+#ifndef CONF_TCC1_MCEO1
+#define CONF_TCC1_MCEO1 0
+#endif
+
+// Match or Capture Channel 1 Event Input
+// This bit indicates whether match/capture 1 incoming event is enabled
+// tcc_arch_mcei1
+#ifndef CONF_TCC1_MCEI1
+#define CONF_TCC1_MCEI1 0
+#endif
+// Match or Capture Channel 2 Event Output
+// This bit indicates whether match/capture event on channel 2 is enabled and will be generated
+// tcc_arch_mceo2
+#ifndef CONF_TCC1_MCEO2
+#define CONF_TCC1_MCEO2 0
+#endif
+
+// Match or Capture Channel 2 Event Input
+// This bit indicates whether match/capture 2 incoming event is enabled
+// tcc_arch_mcei2
+#ifndef CONF_TCC1_MCEI2
+#define CONF_TCC1_MCEI2 0
+#endif
+// Match or Capture Channel 3 Event Output
+// This bit indicates whether match/capture event on channel 3 is enabled and will be generated
+// tcc_arch_mceo3
+#ifndef CONF_TCC1_MCEO3
+#define CONF_TCC1_MCEO3 0
+#endif
+
+// Match or Capture Channel 3 Event Input
+// This bit indicates whether match/capture 3 incoming event is enabled
+// tcc_arch_mcei3
+#ifndef CONF_TCC1_MCEI3
+#define CONF_TCC1_MCEI3 0
+#endif
+
+// Timer/Counter Event Input 0
+// This bit is used to enable input event 0 to the TCC
+// tcc_arch_tcei0
+#ifndef CONF_TCC1_TCEI0
+#define CONF_TCC1_TCEI0 0
+#endif
+
+// Timer/Counter Event Input 0 Invert
+// This bit inverts the event 0 input
+// tcc_arch_tceinv0
+#ifndef CONF_TCC1_TCINV0
+#define CONF_TCC1_TCINV0 0
+#endif
+// Timer/Counter Event Input 1
+// This bit is used to enable input event 1 to the TCC
+// tcc_arch_tcei1
+#ifndef CONF_TCC1_TCEI1
+#define CONF_TCC1_TCEI1 0
+#endif
+
+// Timer/Counter Event Input 1 Invert
+// This bit inverts the event 1 input
+// tcc_arch_tceinv1
+#ifndef CONF_TCC1_TCINV1
+#define CONF_TCC1_TCINV1 0
+#endif
+
+// Timer/Counter Event Output
+// This bit is used to enable the counter cycle event.
+// tcc_arch_cnteo
+#ifndef CONF_TCC1_CNTEO
+#define CONF_TCC1_CNTEO 0
+#endif
+
+// Re-trigger Event Output
+// This bit is used to enable the counter re-trigger event.
+// tcc_arch_trgeo
+#ifndef CONF_TCC1_TRGEO
+#define CONF_TCC1_TRGEO 0
+#endif
+
+// Overflow/Underflow Event Output
+// This bit is used to enable enable event on overflow/underflow.
+// tcc_arch_ovfeo
+#ifndef CONF_TCC1_OVFEO
+#define CONF_TCC1_OVFEO 1
+#endif
+
+// Timer/Counter Interrupt and Event Output Selection
+// <0=> An interrupt/event is generated when a new counter cycle starts
+// <1=> An interrupt/event is generated when a counter cycle ends
+// <2=> An interrupt/event is generated when a counter cycle ends, except for the first and last cycles
+// <3=> An interrupt/event is generated when a new counter cycle starts or a counter cycle ends
+// These bits define on which part of the counter cycle the counter event output is generated
+// tcc_arch_cntsel
+#ifndef CONF_TCC1_CNTSEL
+#define CONF_TCC1_CNTSEL 0
+#endif
+
+// Timer/Counter Event Input 0 Action
+// <0=>Event action disabled
+// <1=>Start restart or re-trigger on event
+// <2=>Count on event
+// <3=>Start on event
+// <4=>Increment on event
+// <5=>Count on active state of asynchronous event
+// <6=>Capture overflow times (Max value)
+// <7=>Non-recoverable fault
+// These bits define the action the TCC performs on TCE0 event input 0
+// tcc_arch_evact0
+#ifndef CONF_TCC1_EVACT0
+#define CONF_TCC1_EVACT0 0
+#endif
+
+// Timer/Counter Event Input 1 Action
+// <0=>Event action disabled
+// <1=>Re-trigger counter on event
+// <2=>Direction control
+// <3=>Stop counter on event
+// <4=>Decrement counter on event
+// <5=>Period capture value in CC0 register, pulse width capture value in CC1 register
+// <6=>Period capture value in CC1 register, pulse width capture value in CC0 register
+// <7=>Non-recoverable fault
+// These bits define the action the TCC performs on TCE0 event input 0
+// tcc_arch_evact1
+#ifndef CONF_TCC1_EVACT1
+#define CONF_TCC1_EVACT1 0
+#endif
+//
+
+/* Commented intentionally. No pattern control for timers. */
+/*#define CONF_TCC1_PGE0 0
+#define CONF_TCC1_PGE1 0
+#define CONF_TCC1_PGE2 0
+#define CONF_TCC1_PGE3 0
+#define CONF_TCC1_PGE4 0
+#define CONF_TCC1_PGE5 0
+#define CONF_TCC1_PGE6 0
+#define CONF_TCC1_PGE7 0
+#define CONF_TCC1_PGV0 0
+#define CONF_TCC1_PGV1 0
+#define CONF_TCC1_PGV2 0
+#define CONF_TCC1_PGV3 0
+#define CONF_TCC1_PGV4 0
+#define CONF_TCC1_PGV5 0
+#define CONF_TCC1_PGV6 0
+#define CONF_TCC1_PGV7 0*/
+
+/* Commented intentionally. No pattern waveform control for timers. */
+/*#define CONF_TCC1_WAVEGEN TCC_WAVE_WAVEGEN_MFRQ_Val
+#define CONF_TCC1_RAMP TCC_WAVE_RAMP_RAMP1_Val
+#define CONF_TCC1_CIPEREN 0
+#define CONF_TCC1_CICCEN0 0
+#define CONF_TCC1_CICCEN1 0
+#define CONF_TCC1_CICCEN2 0
+#define CONF_TCC1_CICCEN3 0
+#define CONF_TCC1_POL0 0
+#define CONF_TCC1_POL1 0
+#define CONF_TCC1_POL2 0
+#define CONF_TCC1_POL3 0
+#define CONF_TCC1_POL4 0
+#define CONF_TCC1_POL5 0
+#define CONF_TCC1_POL6 0
+#define CONF_TCC1_POL7 0
+#define CONF_TCC1_SWAP0 0
+#define CONF_TCC1_SWAP1 0
+#define CONF_TCC1_SWAP2 0
+#define CONF_TCC1_SWAP3 0*/
+
+// TCC1 Compare and Capture value 0 <0x00-0xFFFFFF>
+// tcc_arch_cc0
+#ifndef CONF_TCC1_CC0
+#define CONF_TCC1_CC0 0x0
+#endif
+
+// TCC1 Compare and Capture value 1 <0x00-0xFFFFFF>
+// tcc_arch_cc1
+#ifndef CONF_TCC1_CC1
+#define CONF_TCC1_CC1 0x0
+#endif
+
+// TCC1 Compare and Capture value 2 <0x00-0xFFFFFF>
+// tcc_arch_cc2
+#ifndef CONF_TCC1_CC2
+#define CONF_TCC1_CC2 0x0
+#endif
+
+// TCC1 Compare and Capture value 3 <0x00-0xFFFFFF>
+// tcc_arch_cc3
+#ifndef CONF_TCC1_CC3
+#define CONF_TCC1_CC3 0x0
+#endif
+
+/* Commented intentionally. No pattern control for timers. */
+/*#define CONF_TCC1_PATTB_PGEB0 0
+#define CONF_TCC1_PATTB_PGEB1 0
+#define CONF_TCC1_PATTB_PGEB2 0
+#define CONF_TCC1_PATTB_PGEB3 0
+#define CONF_TCC1_PATTB_PGEB4 0
+#define CONF_TCC1_PATTB_PGEB5 0
+#define CONF_TCC1_PATTB_PGEB6 0
+#define CONF_TCC1_PATTB_PGEB7 0
+#define CONF_TCC1_PATTB_PGVB0 0
+#define CONF_TCC1_PATTB_PGVB1 0
+#define CONF_TCC1_PATTB_PGVB2 0
+#define CONF_TCC1_PATTB_PGVB3 0
+#define CONF_TCC1_PATTB_PGVB4 0
+#define CONF_TCC1_PATTB_PGVB5 0
+#define CONF_TCC1_PATTB_PGVB6 0
+#define CONF_TCC1_PATTB_PGVB7 0*/
+
+/* Commented intentionally. No waveform control for timers. */
+/*#define CONF_TCC1_WAVEGENB TCC_WAVEB_WAVEGENB_MFRQ_Val
+#define CONF_TCC1_RAMPB TCC_WAVE_RAMP_RAMP1_Val
+#define CONF_TCC1_CIPERENB 0
+#define CONF_TCC1_CICCEN0B 0
+#define CONF_TCC1_CICCEN1B 0
+#define CONF_TCC1_CICCEN2B 0
+#define CONF_TCC1_CICCEN3B 0
+#define CONF_TCC1_POL0B 0
+#define CONF_TCC1_POL1B 0
+#define CONF_TCC1_POL2B 0
+#define CONF_TCC1_POL3B 0
+#define CONF_TCC1_POL4B 0
+#define CONF_TCC1_POL5B 0
+#define CONF_TCC1_POL6B 0
+#define CONF_TCC1_POL7B 0
+#define CONF_TCC1_SWAP0B 0
+#define CONF_TCC1_SWAP1B 0
+#define CONF_TCC1_SWAP2B 0
+#define CONF_TCC1_SWAP3B 0*/
+
+/* Commented intentionally. No buffering for timers. */
+/*#define CONF_TCC1_PERB 0
+#define CONF_TCC1_CCB0 0
+#define CONF_TCC1_CCB1 0
+#define CONF_TCC1_CCB2 0
+#define CONF_TCC1_CCB3 0*/
+//
+
+#define CONF_TCC1_CTRLA \
+ TCC_CTRLA_PRESCALER(CONF_TCC1_PRESCALER) | (CONF_TCC1_RUNSTDBY << TCC_CTRLA_RUNSTDBY_Pos) \
+ | TCC_CTRLA_PRESCSYNC(CONF_TCC1_PRESCSYNC) | (CONF_TCC1_CPTEN0 << TCC_CTRLA_CPTEN0_Pos) \
+ | (CONF_TCC1_CPTEN1 << TCC_CTRLA_CPTEN1_Pos) | (CONF_TCC1_CPTEN2 << TCC_CTRLA_CPTEN2_Pos) \
+ | (CONF_TCC1_CPTEN3 << TCC_CTRLA_CPTEN3_Pos) | (CONF_TCC1_ALOCK << TCC_CTRLA_ALOCK_Pos)
+#define CONF_TCC1_CTRLB (CONF_TCC1_LUPD << TCC_CTRLBSET_LUPD_Pos)
+#define CONF_TCC1_DBGCTRL (CONF_TCC1_DBGRUN << TCC_DBGCTRL_DBGRUN_Pos)
+#define CONF_TCC1_EVCTRL \
+ TCC_EVCTRL_CNTSEL(CONF_TCC1_CNTSEL) | (CONF_TCC1_OVFEO << TCC_EVCTRL_OVFEO_Pos) \
+ | (CONF_TCC1_TRGEO << TCC_EVCTRL_TRGEO_Pos) | (CONF_TCC1_CNTEO << TCC_EVCTRL_CNTEO_Pos) \
+ | (CONF_TCC1_MCEO0 << TCC_EVCTRL_MCEO0_Pos) | (CONF_TCC1_MCEI0 << TCC_EVCTRL_MCEI0_Pos) \
+ | (CONF_TCC1_MCEO1 << TCC_EVCTRL_MCEO1_Pos) | (CONF_TCC1_MCEI1 << TCC_EVCTRL_MCEI1_Pos) \
+ | (CONF_TCC1_MCEO2 << TCC_EVCTRL_MCEO2_Pos) | (CONF_TCC1_MCEI2 << TCC_EVCTRL_MCEI2_Pos) \
+ | (CONF_TCC1_MCEO3 << TCC_EVCTRL_MCEO3_Pos) | (CONF_TCC1_MCEI3 << TCC_EVCTRL_MCEI3_Pos) \
+ | (CONF_TCC1_TCEI0 << TCC_EVCTRL_TCEI0_Pos) | (CONF_TCC1_TCEI1 << TCC_EVCTRL_TCEI1_Pos) \
+ | (CONF_TCC1_TCINV0 << TCC_EVCTRL_TCINV0_Pos) | (CONF_TCC1_TCINV1 << TCC_EVCTRL_TCINV1_Pos) \
+ | TCC_EVCTRL_EVACT1(CONF_TCC1_EVACT1) | TCC_EVCTRL_EVACT0(CONF_TCC1_EVACT0)
+
+// <<< end of configuration section >>>
+
+#endif // HPL_TCC_CONFIG_H
diff --git a/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/peripheral_clk_config.h b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/peripheral_clk_config.h
new file mode 100644
index 0000000..7efa5e8
--- /dev/null
+++ b/BLDC_E54v2/BLCD_E54v2/BLCD_E54v2/Config/peripheral_clk_config.h
@@ -0,0 +1,829 @@
+/* Auto-generated config file peripheral_clk_config.h */
+#ifndef PERIPHERAL_CLK_CONFIG_H
+#define PERIPHERAL_CLK_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// ADC Clock Source
+// adc_gclk_selection
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for ADC.
+#ifndef CONF_GCLK_ADC0_SRC
+#define CONF_GCLK_ADC0_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_ADC0_FREQUENCY
+ * \brief ADC0's Clock frequency
+ */
+#ifndef CONF_GCLK_ADC0_FREQUENCY
+#define CONF_GCLK_ADC0_FREQUENCY 120000000
+#endif
+
+// CCL Clock Source
+// ccl_gclk_selection
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for CCL.
+#ifndef CONF_GCLK_CCL_SRC
+#define CONF_GCLK_CCL_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_CCL_FREQUENCY
+ * \brief CCL's Clock frequency
+ */
+#ifndef CONF_GCLK_CCL_FREQUENCY
+#define CONF_GCLK_CCL_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 0 Clock Source
+// evsys_clk_selection_0
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 0.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_0_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_0_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_0_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 1 Clock Source
+// evsys_clk_selection_1
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 1.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_1_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_1_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_1_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 2 Clock Source
+// evsys_clk_selection_2
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 2.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_2_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_2_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_2_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 3 Clock Source
+// evsys_clk_selection_3
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 3.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_3_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_3_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_3_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 4 Clock Source
+// evsys_clk_selection_4
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 4.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_4_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_4_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_4_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 5 Clock Source
+// evsys_clk_selection_5
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 5.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_5_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_5_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_5_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 6 Clock Source
+// evsys_clk_selection_6
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 6.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_6_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_6_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_6_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 7 Clock Source
+// evsys_clk_selection_7
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 7.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_7_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_7_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_7_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 8 Clock Source
+// evsys_clk_selection_8
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+// Generic clock generator 9
+
+// Generic clock generator 10
+
+// Generic clock generator 11
+
+// Select the clock source for channel 8.
+#ifndef CONF_GCLK_EVSYS_CHANNEL_8_SRC
+#define CONF_GCLK_EVSYS_CHANNEL_8_SRC GCLK_PCHCTRL_GEN_GCLK0_Val
+#endif
+
+/**
+ * \def CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY
+ * \brief EVSYS's Clock frequency
+ */
+
+#ifndef CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY
+#define CONF_GCLK_EVSYS_CHANNEL_8_FREQUENCY 120000000
+#endif
+
+// EVSYS Channel 9 Clock Source
+// evsys_clk_selection_9
+
+// Generic clock generator 0
+
+// Generic clock generator 1
+
+// Generic clock generator 2
+
+// Generic clock generator 3
+
+// Generic clock generator 4
+
+// Generic clock generator 5
+
+// Generic clock generator 6
+
+// Generic clock generator 7
+
+// Generic clock generator 8
+
+//