usb serial working via asf4

Release_v1
penguin 4 years ago
parent 0d45c1a01c
commit 3584b6110d

File diff suppressed because it is too large Load Diff

@ -0,0 +1,120 @@
/*
* Code generated from Atmel Start.
*
* This file will be overwritten when reconfiguring your Atmel Start project.
* Please copy examples or other code you want to keep to a separate file or main.c
* to avoid loosing it when reconfiguring.
*/
#include "atmel_start.h"
#include "usb_start.h"
#if CONF_USBD_HS_SP
static uint8_t single_desc_bytes[] = {
/* Device descriptors and Configuration descriptors list. */
CDCD_ACM_HS_DESCES_LS_FS};
static uint8_t single_desc_bytes_hs[] = {
/* Device descriptors and Configuration descriptors list. */
CDCD_ACM_HS_DESCES_HS};
#define CDCD_ECHO_BUF_SIZ CONF_USB_CDCD_ACM_DATA_BULKIN_MAXPKSZ_HS
#else
static uint8_t single_desc_bytes[] = {
/* Device descriptors and Configuration descriptors list. */
CDCD_ACM_DESCES_LS_FS};
#define CDCD_ECHO_BUF_SIZ CONF_USB_CDCD_ACM_DATA_BULKIN_MAXPKSZ
#endif
static struct usbd_descriptors single_desc[]
= {{single_desc_bytes, single_desc_bytes + sizeof(single_desc_bytes)}
#if CONF_USBD_HS_SP
,
{single_desc_bytes_hs, single_desc_bytes_hs + sizeof(single_desc_bytes_hs)}
#endif
};
/** Buffers to receive and echo the communication bytes. */
static uint32_t usbd_cdc_buffer[CDCD_ECHO_BUF_SIZ / 4];
/** Ctrl endpoint buffer */
static uint8_t ctrl_buffer[64];
/**
* \brief Callback invoked when bulk OUT data received
*/
static bool usb_device_cb_bulk_out(const uint8_t ep, const enum usb_xfer_code rc, const uint32_t count)
{
cdcdf_acm_write((uint8_t *)usbd_cdc_buffer, count);
/* No error. */
return false;
}
/**
* \brief Callback invoked when bulk IN data received
*/
static bool usb_device_cb_bulk_in(const uint8_t ep, const enum usb_xfer_code rc, const uint32_t count)
{
/* Echo data. */
cdcdf_acm_read((uint8_t *)usbd_cdc_buffer, sizeof(usbd_cdc_buffer));
/* No error. */
return false;
}
/**
* \brief Callback invoked when Line State Change
*/
static bool usb_device_cb_state_c(usb_cdc_control_signal_t state)
{
if (state.rs232.DTR) {
/* Callbacks must be registered after endpoint allocation */
cdcdf_acm_register_callback(CDCDF_ACM_CB_READ, (FUNC_PTR)usb_device_cb_bulk_out);
cdcdf_acm_register_callback(CDCDF_ACM_CB_WRITE, (FUNC_PTR)usb_device_cb_bulk_in);
/* Start Rx */
cdcdf_acm_read((uint8_t *)usbd_cdc_buffer, sizeof(usbd_cdc_buffer));
}
/* No error. */
return false;
}
/**
* \brief CDC ACM Init
*/
void cdc_device_acm_init(void)
{
/* usb stack init */
usbdc_init(ctrl_buffer);
usbdc_reset();
/* usbdc_register_funcion inside */
cdcdf_acm_init();
usbdc_start(single_desc);
usbdc_attach();
}
/**
* Example of using CDC ACM Function.
* \note
* In this example, we will use a PC as a USB host:
* - Connect the DEBUG USB on XPLAINED board to PC for program download.
* - Connect the TARGET USB on XPLAINED board to PC for running program.
* The application will behave as a virtual COM.
* - Open a HyperTerminal or other COM tools in PC side.
* - Send out a character or string and it will echo the content received.
*/
void cdcd_acm_example(void)
{
while (!cdcdf_acm_is_enabled()) {
// wait cdc acm to be installed
};
cdcdf_acm_register_callback(CDCDF_ACM_CB_STATE_C, (FUNC_PTR)usb_device_cb_state_c);
while (1) {
}
}
void usb_init(void)
{
cdc_device_acm_init();
}

@ -65,6 +65,7 @@
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_spi.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_spi.h"/>
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_spi_async.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_spi_async.h"/>
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_spi_sync.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_spi_sync.h"/>
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_time_measure.h"/>
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_usart.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_usart.h"/>
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_usb.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_usb.h"/>
<file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_usb_device.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hal/include/hpl_usb_device.h"/>
@ -161,6 +162,7 @@
<file category="header" condition="ARMCC, GCC, IAR" name="hpl/port/hpl_gpio_base.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="hpl/port/hpl_gpio_base.h"/>
<file category="source" condition="ARMCC, GCC, IAR" name="hpl/sercom/hpl_sercom.c"/> <file category="source" condition="ARMCC, GCC, IAR" name="hpl/sercom/hpl_sercom.c"/>
<file category="source" condition="ARMCC, GCC, IAR" name="hpl/sysctrl/hpl_sysctrl.c"/> <file category="source" condition="ARMCC, GCC, IAR" name="hpl/sysctrl/hpl_sysctrl.c"/>
<file category="source" condition="ARMCC, GCC, IAR" name="hpl/systick/hpl_systick.c"/>
<file category="source" condition="ARMCC, GCC, IAR" name="hpl/usb/hpl_usb.c"/> <file category="source" condition="ARMCC, GCC, IAR" name="hpl/usb/hpl_usb.c"/>
<file category="source" condition="ARMCC, GCC, IAR" name="usb_start.c"/> <file category="source" condition="ARMCC, GCC, IAR" name="usb_start.c"/>
<file category="header" condition="ARMCC, GCC, IAR" name="usb_start.h"/> <file category="header" condition="ARMCC, GCC, IAR" name="usb_start.h"/>
@ -171,6 +173,7 @@
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_pm_config.h"/> <file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_pm_config.h"/>
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_sercom_config.h"/> <file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_sercom_config.h"/>
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_sysctrl_config.h"/> <file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_sysctrl_config.h"/>
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_systick_config.h"/>
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_usb_config.h"/> <file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/hpl_usb_config.h"/>
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/peripheral_clk_config.h"/> <file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/peripheral_clk_config.h"/>
<file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/usbd_config.h"/> <file attr="config" category="header" condition="ARMCC, GCC, IAR" name="config/usbd_config.h"/>
@ -186,6 +189,7 @@
<file category="include" condition="ARMCC, GCC, IAR" name="hpl/port"/> <file category="include" condition="ARMCC, GCC, IAR" name="hpl/port"/>
<file category="include" condition="ARMCC, GCC, IAR" name="hpl/sercom"/> <file category="include" condition="ARMCC, GCC, IAR" name="hpl/sercom"/>
<file category="include" condition="ARMCC, GCC, IAR" name="hpl/sysctrl"/> <file category="include" condition="ARMCC, GCC, IAR" name="hpl/sysctrl"/>
<file category="include" condition="ARMCC, GCC, IAR" name="hpl/systick"/>
<file category="include" condition="ARMCC, GCC, IAR" name="hpl/usb"/> <file category="include" condition="ARMCC, GCC, IAR" name="hpl/usb"/>
<file category="include" condition="ARMCC, GCC, IAR" name="hri"/> <file category="include" condition="ARMCC, GCC, IAR" name="hri"/>
<file category="include" condition="ARMCC, GCC, IAR" name=""/> <file category="include" condition="ARMCC, GCC, IAR" name=""/>

@ -0,0 +1,865 @@
/**************************************************************************//**
* @file cmsis_armcc.h
* @brief CMSIS compiler ARMCC (Arm Compiler 5) header file
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __CMSIS_ARMCC_H
#define __CMSIS_ARMCC_H
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 400677)
#error "Please use Arm Compiler Toolchain V4.0.677 or later!"
#endif
/* CMSIS compiler control architecture macros */
#if ((defined (__TARGET_ARCH_6_M ) && (__TARGET_ARCH_6_M == 1)) || \
(defined (__TARGET_ARCH_6S_M ) && (__TARGET_ARCH_6S_M == 1)) )
#define __ARM_ARCH_6M__ 1
#endif
#if (defined (__TARGET_ARCH_7_M ) && (__TARGET_ARCH_7_M == 1))
#define __ARM_ARCH_7M__ 1
#endif
#if (defined (__TARGET_ARCH_7E_M) && (__TARGET_ARCH_7E_M == 1))
#define __ARM_ARCH_7EM__ 1
#endif
/* __ARM_ARCH_8M_BASE__ not applicable */
/* __ARM_ARCH_8M_MAIN__ not applicable */
/* CMSIS compiler specific defines */
#ifndef __ASM
#define __ASM __asm
#endif
#ifndef __INLINE
#define __INLINE __inline
#endif
#ifndef __STATIC_INLINE
#define __STATIC_INLINE static __inline
#endif
#ifndef __STATIC_FORCEINLINE
#define __STATIC_FORCEINLINE static __forceinline
#endif
#ifndef __NO_RETURN
#define __NO_RETURN __declspec(noreturn)
#endif
#ifndef __USED
#define __USED __attribute__((used))
#endif
#ifndef __WEAK
#define __WEAK __attribute__((weak))
#endif
#ifndef __PACKED
#define __PACKED __attribute__((packed))
#endif
#ifndef __PACKED_STRUCT
#define __PACKED_STRUCT __packed struct
#endif
#ifndef __PACKED_UNION
#define __PACKED_UNION __packed union
#endif
#ifndef __UNALIGNED_UINT32 /* deprecated */
#define __UNALIGNED_UINT32(x) (*((__packed uint32_t *)(x)))
#endif
#ifndef __UNALIGNED_UINT16_WRITE
#define __UNALIGNED_UINT16_WRITE(addr, val) ((*((__packed uint16_t *)(addr))) = (val))
#endif
#ifndef __UNALIGNED_UINT16_READ
#define __UNALIGNED_UINT16_READ(addr) (*((const __packed uint16_t *)(addr)))
#endif
#ifndef __UNALIGNED_UINT32_WRITE
#define __UNALIGNED_UINT32_WRITE(addr, val) ((*((__packed uint32_t *)(addr))) = (val))
#endif
#ifndef __UNALIGNED_UINT32_READ
#define __UNALIGNED_UINT32_READ(addr) (*((const __packed uint32_t *)(addr)))
#endif
#ifndef __ALIGNED
#define __ALIGNED(x) __attribute__((aligned(x)))
#endif
#ifndef __RESTRICT
#define __RESTRICT __restrict
#endif
/* ########################### Core Function Access ########################### */
/** \ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
@{
*/
/**
\brief Enable IRQ Interrupts
\details Enables IRQ interrupts by clearing the I-bit in the CPSR.
Can only be executed in Privileged modes.
*/
/* intrinsic void __enable_irq(); */
/**
\brief Disable IRQ Interrupts
\details Disables IRQ interrupts by setting the I-bit in the CPSR.
Can only be executed in Privileged modes.
*/
/* intrinsic void __disable_irq(); */
/**
\brief Get Control Register
\details Returns the content of the Control Register.
\return Control Register value
*/
__STATIC_INLINE uint32_t __get_CONTROL(void)
{
register uint32_t __regControl __ASM("control");
return(__regControl);
}
/**
\brief Set Control Register
\details Writes the given value to the Control Register.
\param [in] control Control Register value to set
*/
__STATIC_INLINE void __set_CONTROL(uint32_t control)
{
register uint32_t __regControl __ASM("control");
__regControl = control;
}
/**
\brief Get IPSR Register
\details Returns the content of the IPSR Register.
\return IPSR Register value
*/
__STATIC_INLINE uint32_t __get_IPSR(void)
{
register uint32_t __regIPSR __ASM("ipsr");
return(__regIPSR);
}
/**
\brief Get APSR Register
\details Returns the content of the APSR Register.
\return APSR Register value
*/
__STATIC_INLINE uint32_t __get_APSR(void)
{
register uint32_t __regAPSR __ASM("apsr");
return(__regAPSR);
}
/**
\brief Get xPSR Register
\details Returns the content of the xPSR Register.
\return xPSR Register value
*/
__STATIC_INLINE uint32_t __get_xPSR(void)
{
register uint32_t __regXPSR __ASM("xpsr");
return(__regXPSR);
}
/**
\brief Get Process Stack Pointer
\details Returns the current value of the Process Stack Pointer (PSP).
\return PSP Register value
*/
__STATIC_INLINE uint32_t __get_PSP(void)
{
register uint32_t __regProcessStackPointer __ASM("psp");
return(__regProcessStackPointer);
}
/**
\brief Set Process Stack Pointer
\details Assigns the given value to the Process Stack Pointer (PSP).
\param [in] topOfProcStack Process Stack Pointer value to set
*/
__STATIC_INLINE void __set_PSP(uint32_t topOfProcStack)
{
register uint32_t __regProcessStackPointer __ASM("psp");
__regProcessStackPointer = topOfProcStack;
}
/**
\brief Get Main Stack Pointer
\details Returns the current value of the Main Stack Pointer (MSP).
\return MSP Register value
*/
__STATIC_INLINE uint32_t __get_MSP(void)
{
register uint32_t __regMainStackPointer __ASM("msp");
return(__regMainStackPointer);
}
/**
\brief Set Main Stack Pointer
\details Assigns the given value to the Main Stack Pointer (MSP).
\param [in] topOfMainStack Main Stack Pointer value to set
*/
__STATIC_INLINE void __set_MSP(uint32_t topOfMainStack)
{
register uint32_t __regMainStackPointer __ASM("msp");
__regMainStackPointer = topOfMainStack;
}
/**
\brief Get Priority Mask
\details Returns the current state of the priority mask bit from the Priority Mask Register.
\return Priority Mask value
*/
__STATIC_INLINE uint32_t __get_PRIMASK(void)
{
register uint32_t __regPriMask __ASM("primask");
return(__regPriMask);
}
/**
\brief Set Priority Mask
\details Assigns the given value to the Priority Mask Register.
\param [in] priMask Priority Mask
*/
__STATIC_INLINE void __set_PRIMASK(uint32_t priMask)
{
register uint32_t __regPriMask __ASM("primask");
__regPriMask = (priMask);
}
#if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) )
/**
\brief Enable FIQ
\details Enables FIQ interrupts by clearing the F-bit in the CPSR.
Can only be executed in Privileged modes.
*/
#define __enable_fault_irq __enable_fiq
/**
\brief Disable FIQ
\details Disables FIQ interrupts by setting the F-bit in the CPSR.
Can only be executed in Privileged modes.
*/
#define __disable_fault_irq __disable_fiq
/**
\brief Get Base Priority
\details Returns the current value of the Base Priority register.
\return Base Priority register value
*/
__STATIC_INLINE uint32_t __get_BASEPRI(void)
{
register uint32_t __regBasePri __ASM("basepri");
return(__regBasePri);
}
/**
\brief Set Base Priority
\details Assigns the given value to the Base Priority register.
\param [in] basePri Base Priority value to set
*/
__STATIC_INLINE void __set_BASEPRI(uint32_t basePri)
{
register uint32_t __regBasePri __ASM("basepri");
__regBasePri = (basePri & 0xFFU);
}
/**
\brief Set Base Priority with condition
\details Assigns the given value to the Base Priority register only if BASEPRI masking is disabled,
or the new value increases the BASEPRI priority level.
\param [in] basePri Base Priority value to set
*/
__STATIC_INLINE void __set_BASEPRI_MAX(uint32_t basePri)
{
register uint32_t __regBasePriMax __ASM("basepri_max");
__regBasePriMax = (basePri & 0xFFU);
}
/**
\brief Get Fault Mask
\details Returns the current value of the Fault Mask register.
\return Fault Mask register value
*/
__STATIC_INLINE uint32_t __get_FAULTMASK(void)
{
register uint32_t __regFaultMask __ASM("faultmask");
return(__regFaultMask);
}
/**
\brief Set Fault Mask
\details Assigns the given value to the Fault Mask register.
\param [in] faultMask Fault Mask value to set
*/
__STATIC_INLINE void __set_FAULTMASK(uint32_t faultMask)
{
register uint32_t __regFaultMask __ASM("faultmask");
__regFaultMask = (faultMask & (uint32_t)1U);
}
#endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) ) */
/**
\brief Get FPSCR
\details Returns the current value of the Floating Point Status/Control register.
\return Floating Point Status/Control register value
*/
__STATIC_INLINE uint32_t __get_FPSCR(void)
{
#if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
(defined (__FPU_USED ) && (__FPU_USED == 1U)) )
register uint32_t __regfpscr __ASM("fpscr");
return(__regfpscr);
#else
return(0U);
#endif
}
/**
\brief Set FPSCR
\details Assigns the given value to the Floating Point Status/Control register.
\param [in] fpscr Floating Point Status/Control value to set
*/
__STATIC_INLINE void __set_FPSCR(uint32_t fpscr)
{
#if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
(defined (__FPU_USED ) && (__FPU_USED == 1U)) )
register uint32_t __regfpscr __ASM("fpscr");
__regfpscr = (fpscr);
#else
(void)fpscr;
#endif
}
/*@} end of CMSIS_Core_RegAccFunctions */
/* ########################## Core Instruction Access ######################### */
/** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
Access to dedicated instructions
@{
*/
/**
\brief No Operation
\details No Operation does nothing. This instruction can be used for code alignment purposes.
*/
#define __NOP __nop
/**
\brief Wait For Interrupt
\details Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs.
*/
#define __WFI __wfi
/**
\brief Wait For Event
\details Wait For Event is a hint instruction that permits the processor to enter
a low-power state until one of a number of events occurs.
*/
#define __WFE __wfe
/**
\brief Send Event
\details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
*/
#define __SEV __sev
/**
\brief Instruction Synchronization Barrier
\details Instruction Synchronization Barrier flushes the pipeline in the processor,
so that all instructions following the ISB are fetched from cache or memory,
after the instruction has been completed.
*/
#define __ISB() do {\
__schedule_barrier();\
__isb(0xF);\
__schedule_barrier();\
} while (0U)
/**
\brief Data Synchronization Barrier
\details Acts as a special kind of Data Memory Barrier.
It completes when all explicit memory accesses before this instruction complete.
*/
#define __DSB() do {\
__schedule_barrier();\
__dsb(0xF);\
__schedule_barrier();\
} while (0U)
/**
\brief Data Memory Barrier
\details Ensures the apparent order of the explicit memory operations before
and after the instruction, without ensuring their completion.
*/
#define __DMB() do {\
__schedule_barrier();\
__dmb(0xF);\
__schedule_barrier();\
} while (0U)
/**
\brief Reverse byte order (32 bit)
\details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x78563412.
\param [in] value Value to reverse
\return Reversed value
*/
#define __REV __rev
/**
\brief Reverse byte order (16 bit)
\details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes 0x34127856.
\param [in] value Value to reverse
\return Reversed value
*/
#ifndef __NO_EMBEDDED_ASM
__attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
{
rev16 r0, r0
bx lr
}
#endif
/**
\brief Reverse byte order (16 bit)
\details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For example, 0x0080 becomes 0x8000.
\param [in] value Value to reverse
\return Reversed value
*/
#ifndef __NO_EMBEDDED_ASM
__attribute__((section(".revsh_text"))) __STATIC_INLINE __ASM int16_t __REVSH(int16_t value)
{
revsh r0, r0
bx lr
}
#endif
/**
\brief Rotate Right in unsigned value (32 bit)
\details Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits.
\param [in] op1 Value to rotate
\param [in] op2 Number of Bits to rotate
\return Rotated value
*/
#define __ROR __ror
/**
\brief Breakpoint
\details Causes the processor to enter Debug state.
Debug tools can use this to investigate system state when the instruction at a particular address is reached.
\param [in] value is ignored by the processor.
If required, a debugger can use it to store additional information about the breakpoint.
*/
#define __BKPT(value) __breakpoint(value)
/**
\brief Reverse bit order of value
\details Reverses the bit order of the given value.
\param [in] value Value to reverse
\return Reversed value
*/
#if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) )
#define __RBIT __rbit
#else
__attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
{
uint32_t result;
uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */
result = value; /* r will be reversed bits of v; first get LSB of v */
for (value >>= 1U; value != 0U; value >>= 1U)
{
result <<= 1U;
result |= value & 1U;
s--;
}
result <<= s; /* shift when v's highest bits are zero */
return result;
}
#endif
/**
\brief Count leading zeros
\details Counts the number of leading zeros of a data value.
\param [in] value Value to count the leading zeros
\return number of leading zeros in value
*/
#define __CLZ __clz
#if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) )
/**
\brief LDR Exclusive (8 bit)
\details Executes a exclusive LDR instruction for 8 bit value.
\param [in] ptr Pointer to data
\return value of type uint8_t at (*ptr)
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __LDREXB(ptr) ((uint8_t ) __ldrex(ptr))
#else
#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(ptr)) _Pragma("pop")
#endif
/**
\brief LDR Exclusive (16 bit)
\details Executes a exclusive LDR instruction for 16 bit values.
\param [in] ptr Pointer to data
\return value of type uint16_t at (*ptr)
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __LDREXH(ptr) ((uint16_t) __ldrex(ptr))
#else
#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(ptr)) _Pragma("pop")
#endif
/**
\brief LDR Exclusive (32 bit)
\details Executes a exclusive LDR instruction for 32 bit values.
\param [in] ptr Pointer to data
\return value of type uint32_t at (*ptr)
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __LDREXW(ptr) ((uint32_t ) __ldrex(ptr))
#else
#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex(ptr)) _Pragma("pop")
#endif
/**
\brief STR Exclusive (8 bit)
\details Executes a exclusive STR instruction for 8 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
\return 0 Function succeeded
\return 1 Function failed
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __STREXB(value, ptr) __strex(value, ptr)
#else
#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) _Pragma("pop")
#endif
/**
\brief STR Exclusive (16 bit)
\details Executes a exclusive STR instruction for 16 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
\return 0 Function succeeded
\return 1 Function failed
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __STREXH(value, ptr) __strex(value, ptr)
#else
#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) _Pragma("pop")
#endif
/**
\brief STR Exclusive (32 bit)
\details Executes a exclusive STR instruction for 32 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
\return 0 Function succeeded
\return 1 Function failed
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __STREXW(value, ptr) __strex(value, ptr)
#else
#define __STREXW(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) _Pragma("pop")
#endif
/**
\brief Remove the exclusive lock
\details Removes the exclusive lock which is created by LDREX.
*/
#define __CLREX __clrex
/**
\brief Signed Saturate
\details Saturates a signed value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (1..32)
\return Saturated value
*/
#define __SSAT __ssat
/**
\brief Unsigned Saturate
\details Saturates an unsigned value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (0..31)
\return Saturated value
*/
#define __USAT __usat
/**
\brief Rotate Right with Extend (32 bit)
\details Moves each bit of a bitstring right by one bit.
The carry input is shifted in at the left end of the bitstring.
\param [in] value Value to rotate
\return Rotated value
*/
#ifndef __NO_EMBEDDED_ASM
__attribute__((section(".rrx_text"))) __STATIC_INLINE __ASM uint32_t __RRX(uint32_t value)
{
rrx r0, r0
bx lr
}
#endif
/**
\brief LDRT Unprivileged (8 bit)
\details Executes a Unprivileged LDRT instruction for 8 bit value.
\param [in] ptr Pointer to data
\return value of type uint8_t at (*ptr)
*/
#define __LDRBT(ptr) ((uint8_t ) __ldrt(ptr))
/**
\brief LDRT Unprivileged (16 bit)
\details Executes a Unprivileged LDRT instruction for 16 bit values.
\param [in] ptr Pointer to data
\return value of type uint16_t at (*ptr)
*/
#define __LDRHT(ptr) ((uint16_t) __ldrt(ptr))
/**
\brief LDRT Unprivileged (32 bit)
\details Executes a Unprivileged LDRT instruction for 32 bit values.
\param [in] ptr Pointer to data
\return value of type uint32_t at (*ptr)
*/
#define __LDRT(ptr) ((uint32_t ) __ldrt(ptr))
/**
\brief STRT Unprivileged (8 bit)
\details Executes a Unprivileged STRT instruction for 8 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
*/
#define __STRBT(value, ptr) __strt(value, ptr)
/**
\brief STRT Unprivileged (16 bit)
\details Executes a Unprivileged STRT instruction for 16 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
*/
#define __STRHT(value, ptr) __strt(value, ptr)
/**
\brief STRT Unprivileged (32 bit)
\details Executes a Unprivileged STRT instruction for 32 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
*/
#define __STRT(value, ptr) __strt(value, ptr)
#else /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) ) */
/**
\brief Signed Saturate
\details Saturates a signed value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (1..32)
\return Saturated value
*/
__attribute__((always_inline)) __STATIC_INLINE int32_t __SSAT(int32_t val, uint32_t sat)
{
if ((sat >= 1U) && (sat <= 32U))
{
const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U);
const int32_t min = -1 - max ;
if (val > max)
{
return max;
}
else if (val < min)
{
return min;
}
}
return val;
}
/**
\brief Unsigned Saturate
\details Saturates an unsigned value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (0..31)
\return Saturated value
*/
__attribute__((always_inline)) __STATIC_INLINE uint32_t __USAT(int32_t val, uint32_t sat)
{
if (sat <= 31U)
{
const uint32_t max = ((1U << sat) - 1U);
if (val > (int32_t)max)
{
return max;
}
else if (val < 0)
{
return 0U;
}
}
return (uint32_t)val;
}
#endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
(defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) ) */
/*@}*/ /* end of group CMSIS_Core_InstructionInterface */
/* ################### Compiler specific Intrinsics ########################### */
/** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics
Access to dedicated SIMD instructions
@{
*/
#if ((defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) )
#define __SADD8 __sadd8
#define __QADD8 __qadd8
#define __SHADD8 __shadd8
#define __UADD8 __uadd8
#define __UQADD8 __uqadd8
#define __UHADD8 __uhadd8
#define __SSUB8 __ssub8
#define __QSUB8 __qsub8
#define __SHSUB8 __shsub8
#define __USUB8 __usub8
#define __UQSUB8 __uqsub8
#define __UHSUB8 __uhsub8
#define __SADD16 __sadd16
#define __QADD16 __qadd16
#define __SHADD16 __shadd16
#define __UADD16 __uadd16
#define __UQADD16 __uqadd16
#define __UHADD16 __uhadd16
#define __SSUB16 __ssub16
#define __QSUB16 __qsub16
#define __SHSUB16 __shsub16
#define __USUB16 __usub16
#define __UQSUB16 __uqsub16
#define __UHSUB16 __uhsub16
#define __SASX __sasx
#define __QASX __qasx
#define __SHASX __shasx
#define __UASX __uasx
#define __UQASX __uqasx
#define __UHASX __uhasx
#define __SSAX __ssax
#define __QSAX __qsax
#define __SHSAX __shsax
#define __USAX __usax
#define __UQSAX __uqsax
#define __UHSAX __uhsax
#define __USAD8 __usad8
#define __USADA8 __usada8
#define __SSAT16 __ssat16
#define __USAT16 __usat16
#define __UXTB16 __uxtb16
#define __UXTAB16 __uxtab16
#define __SXTB16 __sxtb16
#define __SXTAB16 __sxtab16
#define __SMUAD __smuad
#define __SMUADX __smuadx
#define __SMLAD __smlad
#define __SMLADX __smladx
#define __SMLALD __smlald
#define __SMLALDX __smlaldx
#define __SMUSD __smusd
#define __SMUSDX __smusdx
#define __SMLSD __smlsd
#define __SMLSDX __smlsdx
#define __SMLSLD __smlsld
#define __SMLSLDX __smlsldx
#define __SEL __sel
#define __QADD __qadd
#define __QSUB __qsub
#define __PKHBT(ARG1,ARG2,ARG3) ( ((((uint32_t)(ARG1)) ) & 0x0000FFFFUL) | \
((((uint32_t)(ARG2)) << (ARG3)) & 0xFFFF0000UL) )
#define __PKHTB(ARG1,ARG2,ARG3) ( ((((uint32_t)(ARG1)) ) & 0xFFFF0000UL) | \
((((uint32_t)(ARG2)) >> (ARG3)) & 0x0000FFFFUL) )
#define __SMMLA(ARG1,ARG2,ARG3) ( (int32_t)((((int64_t)(ARG1) * (ARG2)) + \
((int64_t)(ARG3) << 32U) ) >> 32U))
#endif /* ((defined (__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1)) ) */
/*@} end of group CMSIS_SIMD_intrinsics */
#endif /* __CMSIS_ARMCC_H */

File diff suppressed because it is too large Load Diff

@ -0,0 +1,266 @@
/**************************************************************************//**
* @file cmsis_compiler.h
* @brief CMSIS compiler generic header file
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __CMSIS_COMPILER_H
#define __CMSIS_COMPILER_H
#include <stdint.h>
/*
* Arm Compiler 4/5
*/
#if defined ( __CC_ARM )
#include "cmsis_armcc.h"
/*
* Arm Compiler 6 (armclang)
*/
#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#include "cmsis_armclang.h"
/*
* GNU Compiler
*/
#elif defined ( __GNUC__ )
#include "cmsis_gcc.h"
/*
* IAR Compiler
*/
#elif defined ( __ICCARM__ )
#include <cmsis_iccarm.h>
/*
* TI Arm Compiler
*/
#elif defined ( __TI_ARM__ )
#include <cmsis_ccs.h>
#ifndef __ASM
#define __ASM __asm
#endif
#ifndef __INLINE
#define __INLINE inline
#endif
#ifndef __STATIC_INLINE
#define __STATIC_INLINE static inline
#endif
#ifndef __STATIC_FORCEINLINE
#define __STATIC_FORCEINLINE __STATIC_INLINE
#endif
#ifndef __NO_RETURN
#define __NO_RETURN __attribute__((noreturn))
#endif
#ifndef __USED
#define __USED __attribute__((used))
#endif
#ifndef __WEAK
#define __WEAK __attribute__((weak))
#endif
#ifndef __PACKED
#define __PACKED __attribute__((packed))
#endif
#ifndef __PACKED_STRUCT
#define __PACKED_STRUCT struct __attribute__((packed))
#endif
#ifndef __PACKED_UNION
#define __PACKED_UNION union __attribute__((packed))
#endif
#ifndef __UNALIGNED_UINT32 /* deprecated */
struct __attribute__((packed)) T_UINT32 { uint32_t v; };
#define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
#endif
#ifndef __UNALIGNED_UINT16_WRITE
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v) = (val))
#endif
#ifndef __UNALIGNED_UINT16_READ
__PACKED_STRUCT T_UINT16_READ { uint16_t v; };
#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
#endif
#ifndef __UNALIGNED_UINT32_WRITE
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
#endif
#ifndef __UNALIGNED_UINT32_READ
__PACKED_STRUCT T_UINT32_READ { uint32_t v; };
#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
#endif
#ifndef __ALIGNED
#define __ALIGNED(x) __attribute__((aligned(x)))
#endif
#ifndef __RESTRICT
#warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored.
#define __RESTRICT
#endif
/*
* TASKING Compiler
*/
#elif defined ( __TASKING__ )
/*
* The CMSIS functions have been implemented as intrinsics in the compiler.
* Please use "carm -?i" to get an up to date list of all intrinsics,
* Including the CMSIS ones.
*/
#ifndef __ASM
#define __ASM __asm
#endif
#ifndef __INLINE
#define __INLINE inline
#endif
#ifndef __STATIC_INLINE
#define __STATIC_INLINE static inline
#endif
#ifndef __STATIC_FORCEINLINE
#define __STATIC_FORCEINLINE __STATIC_INLINE
#endif
#ifndef __NO_RETURN
#define __NO_RETURN __attribute__((noreturn))
#endif
#ifndef __USED
#define __USED __attribute__((used))
#endif
#ifndef __WEAK
#define __WEAK __attribute__((weak))
#endif
#ifndef __PACKED
#define __PACKED __packed__
#endif
#ifndef __PACKED_STRUCT
#define __PACKED_STRUCT struct __packed__
#endif
#ifndef __PACKED_UNION
#define __PACKED_UNION union __packed__
#endif
#ifndef __UNALIGNED_UINT32 /* deprecated */
struct __packed__ T_UINT32 { uint32_t v; };
#define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
#endif
#ifndef __UNALIGNED_UINT16_WRITE
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
#endif
#ifndef __UNALIGNED_UINT16_READ
__PACKED_STRUCT T_UINT16_READ { uint16_t v; };
#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
#endif
#ifndef __UNALIGNED_UINT32_WRITE
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
#endif
#ifndef __UNALIGNED_UINT32_READ
__PACKED_STRUCT T_UINT32_READ { uint32_t v; };
#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
#endif
#ifndef __ALIGNED
#define __ALIGNED(x) __align(x)
#endif
#ifndef __RESTRICT
#warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored.
#define __RESTRICT
#endif
/*
* COSMIC Compiler
*/
#elif defined ( __CSMC__ )
#include <cmsis_csm.h>
#ifndef __ASM
#define __ASM _asm
#endif
#ifndef __INLINE
#define __INLINE inline
#endif
#ifndef __STATIC_INLINE
#define __STATIC_INLINE static inline
#endif
#ifndef __STATIC_FORCEINLINE
#define __STATIC_FORCEINLINE __STATIC_INLINE
#endif
#ifndef __NO_RETURN
// NO RETURN is automatically detected hence no warning here
#define __NO_RETURN
#endif
#ifndef __USED
#warning No compiler specific solution for __USED. __USED is ignored.
#define __USED
#endif
#ifndef __WEAK
#define __WEAK __weak
#endif
#ifndef __PACKED
#define __PACKED @packed
#endif
#ifndef __PACKED_STRUCT
#define __PACKED_STRUCT @packed struct
#endif
#ifndef __PACKED_UNION
#define __PACKED_UNION @packed union
#endif
#ifndef __UNALIGNED_UINT32 /* deprecated */
@packed struct T_UINT32 { uint32_t v; };
#define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
#endif
#ifndef __UNALIGNED_UINT16_WRITE
__PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
#endif
#ifndef __UNALIGNED_UINT16_READ
__PACKED_STRUCT T_UINT16_READ { uint16_t v; };
#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
#endif
#ifndef __UNALIGNED_UINT32_WRITE
__PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
#endif
#ifndef __UNALIGNED_UINT32_READ
__PACKED_STRUCT T_UINT32_READ { uint32_t v; };
#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
#endif
#ifndef __ALIGNED
#warning No compiler specific solution for __ALIGNED. __ALIGNED is ignored.
#define __ALIGNED(x)
#endif
#ifndef __RESTRICT
#warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored.
#define __RESTRICT
#endif
#else
#error Unknown compiler.
#endif
#endif /* __CMSIS_COMPILER_H */

File diff suppressed because it is too large Load Diff

@ -0,0 +1,935 @@
/**************************************************************************//**
* @file cmsis_iccarm.h
* @brief CMSIS compiler ICCARM (IAR Compiler for Arm) header file
* @version V5.0.7
* @date 19. June 2018
******************************************************************************/
//------------------------------------------------------------------------------
//
// Copyright (c) 2017-2018 IAR Systems
//
// Licensed under the Apache License, Version 2.0 (the "License")
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//------------------------------------------------------------------------------
#ifndef __CMSIS_ICCARM_H__
#define __CMSIS_ICCARM_H__
#ifndef __ICCARM__
#error This file should only be compiled by ICCARM
#endif
#pragma system_include
#define __IAR_FT _Pragma("inline=forced") __intrinsic
#if (__VER__ >= 8000000)
#define __ICCARM_V8 1
#else
#define __ICCARM_V8 0
#endif
#ifndef __ALIGNED
#if __ICCARM_V8
#define __ALIGNED(x) __attribute__((aligned(x)))
#elif (__VER__ >= 7080000)
/* Needs IAR language extensions */
#define __ALIGNED(x) __attribute__((aligned(x)))
#else
#warning No compiler specific solution for __ALIGNED.__ALIGNED is ignored.
#define __ALIGNED(x)
#endif
#endif
/* Define compiler macros for CPU architecture, used in CMSIS 5.
*/
#if __ARM_ARCH_6M__ || __ARM_ARCH_7M__ || __ARM_ARCH_7EM__ || __ARM_ARCH_8M_BASE__ || __ARM_ARCH_8M_MAIN__
/* Macros already defined */
#else
#if defined(__ARM8M_MAINLINE__) || defined(__ARM8EM_MAINLINE__)
#define __ARM_ARCH_8M_MAIN__ 1
#elif defined(__ARM8M_BASELINE__)
#define __ARM_ARCH_8M_BASE__ 1
#elif defined(__ARM_ARCH_PROFILE) && __ARM_ARCH_PROFILE == 'M'
#if __ARM_ARCH == 6
#define __ARM_ARCH_6M__ 1
#elif __ARM_ARCH == 7
#if __ARM_FEATURE_DSP
#define __ARM_ARCH_7EM__ 1
#else
#define __ARM_ARCH_7M__ 1
#endif
#endif /* __ARM_ARCH */
#endif /* __ARM_ARCH_PROFILE == 'M' */
#endif
/* Alternativ core deduction for older ICCARM's */
#if !defined(__ARM_ARCH_6M__) && !defined(__ARM_ARCH_7M__) && !defined(__ARM_ARCH_7EM__) && \
!defined(__ARM_ARCH_8M_BASE__) && !defined(__ARM_ARCH_8M_MAIN__)
#if defined(__ARM6M__) && (__CORE__ == __ARM6M__)
#define __ARM_ARCH_6M__ 1
#elif defined(__ARM7M__) && (__CORE__ == __ARM7M__)
#define __ARM_ARCH_7M__ 1
#elif defined(__ARM7EM__) && (__CORE__ == __ARM7EM__)
#define __ARM_ARCH_7EM__ 1
#elif defined(__ARM8M_BASELINE__) && (__CORE == __ARM8M_BASELINE__)
#define __ARM_ARCH_8M_BASE__ 1
#elif defined(__ARM8M_MAINLINE__) && (__CORE == __ARM8M_MAINLINE__)
#define __ARM_ARCH_8M_MAIN__ 1
#elif defined(__ARM8EM_MAINLINE__) && (__CORE == __ARM8EM_MAINLINE__)
#define __ARM_ARCH_8M_MAIN__ 1
#else
#error "Unknown target."
#endif
#endif
#if defined(__ARM_ARCH_6M__) && __ARM_ARCH_6M__==1
#define __IAR_M0_FAMILY 1
#elif defined(__ARM_ARCH_8M_BASE__) && __ARM_ARCH_8M_BASE__==1
#define __IAR_M0_FAMILY 1
#else
#define __IAR_M0_FAMILY 0
#endif
#ifndef __ASM
#define __ASM __asm
#endif
#ifndef __INLINE
#define __INLINE inline
#endif
#ifndef __NO_RETURN
#if __ICCARM_V8
#define __NO_RETURN __attribute__((__noreturn__))
#else
#define __NO_RETURN _Pragma("object_attribute=__noreturn")
#endif
#endif
#ifndef __PACKED
#if __ICCARM_V8
#define __PACKED __attribute__((packed, aligned(1)))
#else
/* Needs IAR language extensions */
#define __PACKED __packed
#endif
#endif
#ifndef __PACKED_STRUCT
#if __ICCARM_V8
#define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
#else
/* Needs IAR language extensions */
#define __PACKED_STRUCT __packed struct
#endif
#endif
#ifndef __PACKED_UNION
#if __ICCARM_V8
#define __PACKED_UNION union __attribute__((packed, aligned(1)))
#else
/* Needs IAR language extensions */
#define __PACKED_UNION __packed union
#endif
#endif
#ifndef __RESTRICT
#define __RESTRICT __restrict
#endif
#ifndef __STATIC_INLINE
#define __STATIC_INLINE static inline
#endif
#ifndef __FORCEINLINE
#define __FORCEINLINE _Pragma("inline=forced")
#endif
#ifndef __STATIC_FORCEINLINE
#define __STATIC_FORCEINLINE __FORCEINLINE __STATIC_INLINE
#endif
#ifndef __UNALIGNED_UINT16_READ
#pragma language=save
#pragma language=extended
__IAR_FT uint16_t __iar_uint16_read(void const *ptr)
{
return *(__packed uint16_t*)(ptr);
}
#pragma language=restore
#define __UNALIGNED_UINT16_READ(PTR) __iar_uint16_read(PTR)
#endif
#ifndef __UNALIGNED_UINT16_WRITE
#pragma language=save
#pragma language=extended
__IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val)
{
*(__packed uint16_t*)(ptr) = val;;
}
#pragma language=restore
#define __UNALIGNED_UINT16_WRITE(PTR,VAL) __iar_uint16_write(PTR,VAL)
#endif
#ifndef __UNALIGNED_UINT32_READ
#pragma language=save
#pragma language=extended
__IAR_FT uint32_t __iar_uint32_read(void const *ptr)
{
return *(__packed uint32_t*)(ptr);
}
#pragma language=restore
#define __UNALIGNED_UINT32_READ(PTR) __iar_uint32_read(PTR)
#endif
#ifndef __UNALIGNED_UINT32_WRITE
#pragma language=save
#pragma language=extended
__IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val)
{
*(__packed uint32_t*)(ptr) = val;;
}
#pragma language=restore
#define __UNALIGNED_UINT32_WRITE(PTR,VAL) __iar_uint32_write(PTR,VAL)
#endif
#ifndef __UNALIGNED_UINT32 /* deprecated */
#pragma language=save
#pragma language=extended
__packed struct __iar_u32 { uint32_t v; };
#pragma language=restore
#define __UNALIGNED_UINT32(PTR) (((struct __iar_u32 *)(PTR))->v)
#endif
#ifndef __USED
#if __ICCARM_V8
#define __USED __attribute__((used))
#else
#define __USED _Pragma("__root")
#endif
#endif
#ifndef __WEAK
#if __ICCARM_V8
#define __WEAK __attribute__((weak))
#else
#define __WEAK _Pragma("__weak")
#endif
#endif
#ifndef __ICCARM_INTRINSICS_VERSION__
#define __ICCARM_INTRINSICS_VERSION__ 0
#endif
#if __ICCARM_INTRINSICS_VERSION__ == 2
#if defined(__CLZ)
#undef __CLZ
#endif
#if defined(__REVSH)
#undef __REVSH
#endif
#if defined(__RBIT)
#undef __RBIT
#endif
#if defined(__SSAT)
#undef __SSAT
#endif
#if defined(__USAT)
#undef __USAT
#endif
#include "iccarm_builtin.h"
#define __disable_fault_irq __iar_builtin_disable_fiq
#define __disable_irq __iar_builtin_disable_interrupt
#define __enable_fault_irq __iar_builtin_enable_fiq
#define __enable_irq __iar_builtin_enable_interrupt
#define __arm_rsr __iar_builtin_rsr
#define __arm_wsr __iar_builtin_wsr
#define __get_APSR() (__arm_rsr("APSR"))
#define __get_BASEPRI() (__arm_rsr("BASEPRI"))
#define __get_CONTROL() (__arm_rsr("CONTROL"))
#define __get_FAULTMASK() (__arm_rsr("FAULTMASK"))
#if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
(defined (__FPU_USED ) && (__FPU_USED == 1U)) )
#define __get_FPSCR() (__arm_rsr("FPSCR"))
#define __set_FPSCR(VALUE) (__arm_wsr("FPSCR", (VALUE)))
#else
#define __get_FPSCR() ( 0 )
#define __set_FPSCR(VALUE) ((void)VALUE)
#endif
#define __get_IPSR() (__arm_rsr("IPSR"))
#define __get_MSP() (__arm_rsr("MSP"))
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure MSPLIM is RAZ/WI
#define __get_MSPLIM() (0U)
#else
#define __get_MSPLIM() (__arm_rsr("MSPLIM"))
#endif
#define __get_PRIMASK() (__arm_rsr("PRIMASK"))
#define __get_PSP() (__arm_rsr("PSP"))
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
#define __get_PSPLIM() (0U)
#else
#define __get_PSPLIM() (__arm_rsr("PSPLIM"))
#endif
#define __get_xPSR() (__arm_rsr("xPSR"))
#define __set_BASEPRI(VALUE) (__arm_wsr("BASEPRI", (VALUE)))
#define __set_BASEPRI_MAX(VALUE) (__arm_wsr("BASEPRI_MAX", (VALUE)))
#define __set_CONTROL(VALUE) (__arm_wsr("CONTROL", (VALUE)))
#define __set_FAULTMASK(VALUE) (__arm_wsr("FAULTMASK", (VALUE)))
#define __set_MSP(VALUE) (__arm_wsr("MSP", (VALUE)))
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure MSPLIM is RAZ/WI
#define __set_MSPLIM(VALUE) ((void)(VALUE))
#else
#define __set_MSPLIM(VALUE) (__arm_wsr("MSPLIM", (VALUE)))
#endif
#define __set_PRIMASK(VALUE) (__arm_wsr("PRIMASK", (VALUE)))
#define __set_PSP(VALUE) (__arm_wsr("PSP", (VALUE)))
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
#define __set_PSPLIM(VALUE) ((void)(VALUE))
#else
#define __set_PSPLIM(VALUE) (__arm_wsr("PSPLIM", (VALUE)))
#endif
#define __TZ_get_CONTROL_NS() (__arm_rsr("CONTROL_NS"))
#define __TZ_set_CONTROL_NS(VALUE) (__arm_wsr("CONTROL_NS", (VALUE)))
#define __TZ_get_PSP_NS() (__arm_rsr("PSP_NS"))
#define __TZ_set_PSP_NS(VALUE) (__arm_wsr("PSP_NS", (VALUE)))
#define __TZ_get_MSP_NS() (__arm_rsr("MSP_NS"))
#define __TZ_set_MSP_NS(VALUE) (__arm_wsr("MSP_NS", (VALUE)))
#define __TZ_get_SP_NS() (__arm_rsr("SP_NS"))
#define __TZ_set_SP_NS(VALUE) (__arm_wsr("SP_NS", (VALUE)))
#define __TZ_get_PRIMASK_NS() (__arm_rsr("PRIMASK_NS"))
#define __TZ_set_PRIMASK_NS(VALUE) (__arm_wsr("PRIMASK_NS", (VALUE)))
#define __TZ_get_BASEPRI_NS() (__arm_rsr("BASEPRI_NS"))
#define __TZ_set_BASEPRI_NS(VALUE) (__arm_wsr("BASEPRI_NS", (VALUE)))
#define __TZ_get_FAULTMASK_NS() (__arm_rsr("FAULTMASK_NS"))
#define __TZ_set_FAULTMASK_NS(VALUE)(__arm_wsr("FAULTMASK_NS", (VALUE)))
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
#define __TZ_get_PSPLIM_NS() (0U)
#define __TZ_set_PSPLIM_NS(VALUE) ((void)(VALUE))
#else
#define __TZ_get_PSPLIM_NS() (__arm_rsr("PSPLIM_NS"))
#define __TZ_set_PSPLIM_NS(VALUE) (__arm_wsr("PSPLIM_NS", (VALUE)))
#endif
#define __TZ_get_MSPLIM_NS() (__arm_rsr("MSPLIM_NS"))
#define __TZ_set_MSPLIM_NS(VALUE) (__arm_wsr("MSPLIM_NS", (VALUE)))
#define __NOP __iar_builtin_no_operation
#define __CLZ __iar_builtin_CLZ
#define __CLREX __iar_builtin_CLREX
#define __DMB __iar_builtin_DMB
#define __DSB __iar_builtin_DSB
#define __ISB __iar_builtin_ISB
#define __LDREXB __iar_builtin_LDREXB
#define __LDREXH __iar_builtin_LDREXH
#define __LDREXW __iar_builtin_LDREX
#define __RBIT __iar_builtin_RBIT
#define __REV __iar_builtin_REV
#define __REV16 __iar_builtin_REV16
__IAR_FT int16_t __REVSH(int16_t val)
{
return (int16_t) __iar_builtin_REVSH(val);
}
#define __ROR __iar_builtin_ROR
#define __RRX __iar_builtin_RRX
#define __SEV __iar_builtin_SEV
#if !__IAR_M0_FAMILY
#define __SSAT __iar_builtin_SSAT
#endif
#define __STREXB __iar_builtin_STREXB
#define __STREXH __iar_builtin_STREXH
#define __STREXW __iar_builtin_STREX
#if !__IAR_M0_FAMILY
#define __USAT __iar_builtin_USAT
#endif
#define __WFE __iar_builtin_WFE
#define __WFI __iar_builtin_WFI
#if __ARM_MEDIA__
#define __SADD8 __iar_builtin_SADD8
#define __QADD8 __iar_builtin_QADD8
#define __SHADD8 __iar_builtin_SHADD8
#define __UADD8 __iar_builtin_UADD8
#define __UQADD8 __iar_builtin_UQADD8
#define __UHADD8 __iar_builtin_UHADD8
#define __SSUB8 __iar_builtin_SSUB8
#define __QSUB8 __iar_builtin_QSUB8
#define __SHSUB8 __iar_builtin_SHSUB8
#define __USUB8 __iar_builtin_USUB8
#define __UQSUB8 __iar_builtin_UQSUB8
#define __UHSUB8 __iar_builtin_UHSUB8
#define __SADD16 __iar_builtin_SADD16
#define __QADD16 __iar_builtin_QADD16
#define __SHADD16 __iar_builtin_SHADD16
#define __UADD16 __iar_builtin_UADD16
#define __UQADD16 __iar_builtin_UQADD16
#define __UHADD16 __iar_builtin_UHADD16
#define __SSUB16 __iar_builtin_SSUB16
#define __QSUB16 __iar_builtin_QSUB16
#define __SHSUB16 __iar_builtin_SHSUB16
#define __USUB16 __iar_builtin_USUB16
#define __UQSUB16 __iar_builtin_UQSUB16
#define __UHSUB16 __iar_builtin_UHSUB16
#define __SASX __iar_builtin_SASX
#define __QASX __iar_builtin_QASX
#define __SHASX __iar_builtin_SHASX
#define __UASX __iar_builtin_UASX
#define __UQASX __iar_builtin_UQASX
#define __UHASX __iar_builtin_UHASX
#define __SSAX __iar_builtin_SSAX
#define __QSAX __iar_builtin_QSAX
#define __SHSAX __iar_builtin_SHSAX
#define __USAX __iar_builtin_USAX
#define __UQSAX __iar_builtin_UQSAX
#define __UHSAX __iar_builtin_UHSAX
#define __USAD8 __iar_builtin_USAD8
#define __USADA8 __iar_builtin_USADA8
#define __SSAT16 __iar_builtin_SSAT16
#define __USAT16 __iar_builtin_USAT16
#define __UXTB16 __iar_builtin_UXTB16
#define __UXTAB16 __iar_builtin_UXTAB16
#define __SXTB16 __iar_builtin_SXTB16
#define __SXTAB16 __iar_builtin_SXTAB16
#define __SMUAD __iar_builtin_SMUAD
#define __SMUADX __iar_builtin_SMUADX
#define __SMMLA __iar_builtin_SMMLA
#define __SMLAD __iar_builtin_SMLAD
#define __SMLADX __iar_builtin_SMLADX
#define __SMLALD __iar_builtin_SMLALD
#define __SMLALDX __iar_builtin_SMLALDX
#define __SMUSD __iar_builtin_SMUSD
#define __SMUSDX __iar_builtin_SMUSDX
#define __SMLSD __iar_builtin_SMLSD
#define __SMLSDX __iar_builtin_SMLSDX
#define __SMLSLD __iar_builtin_SMLSLD
#define __SMLSLDX __iar_builtin_SMLSLDX
#define __SEL __iar_builtin_SEL
#define __QADD __iar_builtin_QADD
#define __QSUB __iar_builtin_QSUB
#define __PKHBT __iar_builtin_PKHBT
#define __PKHTB __iar_builtin_PKHTB
#endif
#else /* __ICCARM_INTRINSICS_VERSION__ == 2 */
#if __IAR_M0_FAMILY
/* Avoid clash between intrinsics.h and arm_math.h when compiling for Cortex-M0. */
#define __CLZ __cmsis_iar_clz_not_active
#define __SSAT __cmsis_iar_ssat_not_active
#define __USAT __cmsis_iar_usat_not_active
#define __RBIT __cmsis_iar_rbit_not_active
#define __get_APSR __cmsis_iar_get_APSR_not_active
#endif
#if (!((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
(defined (__FPU_USED ) && (__FPU_USED == 1U)) ))
#define __get_FPSCR __cmsis_iar_get_FPSR_not_active
#define __set_FPSCR __cmsis_iar_set_FPSR_not_active
#endif
#ifdef __INTRINSICS_INCLUDED
#error intrinsics.h is already included previously!
#endif
#include <intrinsics.h>
#if __IAR_M0_FAMILY
/* Avoid clash between intrinsics.h and arm_math.h when compiling for Cortex-M0. */
#undef __CLZ
#undef __SSAT
#undef __USAT
#undef __RBIT
#undef __get_APSR
__STATIC_INLINE uint8_t __CLZ(uint32_t data)
{
if (data == 0U) { return 32U; }
uint32_t count = 0U;
uint32_t mask = 0x80000000U;
while ((data & mask) == 0U)
{
count += 1U;
mask = mask >> 1U;
}
return count;
}
__STATIC_INLINE uint32_t __RBIT(uint32_t v)
{
uint8_t sc = 31U;
uint32_t r = v;
for (v >>= 1U; v; v >>= 1U)
{
r <<= 1U;
r |= v & 1U;
sc--;
}
return (r << sc);
}
__STATIC_INLINE uint32_t __get_APSR(void)
{
uint32_t res;
__asm("MRS %0,APSR" : "=r" (res));
return res;
}
#endif
#if (!((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
(defined (__FPU_USED ) && (__FPU_USED == 1U)) ))
#undef __get_FPSCR
#undef __set_FPSCR
#define __get_FPSCR() (0)
#define __set_FPSCR(VALUE) ((void)VALUE)
#endif
#pragma diag_suppress=Pe940
#pragma diag_suppress=Pe177
#define __enable_irq __enable_interrupt
#define __disable_irq __disable_interrupt
#define __NOP __no_operation
#define __get_xPSR __get_PSR
#if (!defined(__ARM_ARCH_6M__) || __ARM_ARCH_6M__==0)
__IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr)
{
return __LDREX((unsigned long *)ptr);
}
__IAR_FT uint32_t __STREXW(uint32_t value, uint32_t volatile *ptr)
{
return __STREX(value, (unsigned long *)ptr);
}
#endif
/* __CORTEX_M is defined in core_cm0.h, core_cm3.h and core_cm4.h. */
#if (__CORTEX_M >= 0x03)
__IAR_FT uint32_t __RRX(uint32_t value)
{
uint32_t result;
__ASM("RRX %0, %1" : "=r"(result) : "r" (value) : "cc");
return(result);
}
__IAR_FT void __set_BASEPRI_MAX(uint32_t value)
{
__asm volatile("MSR BASEPRI_MAX,%0"::"r" (value));
}
#define __enable_fault_irq __enable_fiq
#define __disable_fault_irq __disable_fiq
#endif /* (__CORTEX_M >= 0x03) */
__IAR_FT uint32_t __ROR(uint32_t op1, uint32_t op2)
{
return (op1 >> op2) | (op1 << ((sizeof(op1)*8)-op2));
}
#if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
(defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
__IAR_FT uint32_t __get_MSPLIM(void)
{
uint32_t res;
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE ) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure MSPLIM is RAZ/WI
res = 0U;
#else
__asm volatile("MRS %0,MSPLIM" : "=r" (res));
#endif
return res;
}
__IAR_FT void __set_MSPLIM(uint32_t value)
{
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE ) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure MSPLIM is RAZ/WI
(void)value;
#else
__asm volatile("MSR MSPLIM,%0" :: "r" (value));
#endif
}
__IAR_FT uint32_t __get_PSPLIM(void)
{
uint32_t res;
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE ) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
res = 0U;
#else
__asm volatile("MRS %0,PSPLIM" : "=r" (res));
#endif
return res;
}
__IAR_FT void __set_PSPLIM(uint32_t value)
{
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE ) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
(void)value;
#else
__asm volatile("MSR PSPLIM,%0" :: "r" (value));
#endif
}
__IAR_FT uint32_t __TZ_get_CONTROL_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,CONTROL_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_CONTROL_NS(uint32_t value)
{
__asm volatile("MSR CONTROL_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_PSP_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,PSP_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_PSP_NS(uint32_t value)
{
__asm volatile("MSR PSP_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_MSP_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,MSP_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_MSP_NS(uint32_t value)
{
__asm volatile("MSR MSP_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_SP_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,SP_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_SP_NS(uint32_t value)
{
__asm volatile("MSR SP_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_PRIMASK_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,PRIMASK_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_PRIMASK_NS(uint32_t value)
{
__asm volatile("MSR PRIMASK_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_BASEPRI_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,BASEPRI_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_BASEPRI_NS(uint32_t value)
{
__asm volatile("MSR BASEPRI_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_FAULTMASK_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,FAULTMASK_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_FAULTMASK_NS(uint32_t value)
{
__asm volatile("MSR FAULTMASK_NS,%0" :: "r" (value));
}
__IAR_FT uint32_t __TZ_get_PSPLIM_NS(void)
{
uint32_t res;
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE ) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
res = 0U;
#else
__asm volatile("MRS %0,PSPLIM_NS" : "=r" (res));
#endif
return res;
}
__IAR_FT void __TZ_set_PSPLIM_NS(uint32_t value)
{
#if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
(!defined (__ARM_FEATURE_CMSE ) || (__ARM_FEATURE_CMSE < 3)))
// without main extensions, the non-secure PSPLIM is RAZ/WI
(void)value;
#else
__asm volatile("MSR PSPLIM_NS,%0" :: "r" (value));
#endif
}
__IAR_FT uint32_t __TZ_get_MSPLIM_NS(void)
{
uint32_t res;
__asm volatile("MRS %0,MSPLIM_NS" : "=r" (res));
return res;
}
__IAR_FT void __TZ_set_MSPLIM_NS(uint32_t value)
{
__asm volatile("MSR MSPLIM_NS,%0" :: "r" (value));
}
#endif /* __ARM_ARCH_8M_MAIN__ or __ARM_ARCH_8M_BASE__ */
#endif /* __ICCARM_INTRINSICS_VERSION__ == 2 */
#define __BKPT(value) __asm volatile ("BKPT %0" : : "i"(value))
#if __IAR_M0_FAMILY
__STATIC_INLINE int32_t __SSAT(int32_t val, uint32_t sat)
{
if ((sat >= 1U) && (sat <= 32U))
{
const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U);
const int32_t min = -1 - max ;
if (val > max)
{
return max;
}
else if (val < min)
{
return min;
}
}
return val;
}
__STATIC_INLINE uint32_t __USAT(int32_t val, uint32_t sat)
{
if (sat <= 31U)
{
const uint32_t max = ((1U << sat) - 1U);
if (val > (int32_t)max)
{
return max;
}
else if (val < 0)
{
return 0U;
}
}
return (uint32_t)val;
}
#endif
#if (__CORTEX_M >= 0x03) /* __CORTEX_M is defined in core_cm0.h, core_cm3.h and core_cm4.h. */
__IAR_FT uint8_t __LDRBT(volatile uint8_t *addr)
{
uint32_t res;
__ASM("LDRBT %0, [%1]" : "=r" (res) : "r" (addr) : "memory");
return ((uint8_t)res);
}
__IAR_FT uint16_t __LDRHT(volatile uint16_t *addr)
{
uint32_t res;
__ASM("LDRHT %0, [%1]" : "=r" (res) : "r" (addr) : "memory");
return ((uint16_t)res);
}
__IAR_FT uint32_t __LDRT(volatile uint32_t *addr)
{
uint32_t res;
__ASM("LDRT %0, [%1]" : "=r" (res) : "r" (addr) : "memory");
return res;
}
__IAR_FT void __STRBT(uint8_t value, volatile uint8_t *addr)
{
__ASM("STRBT %1, [%0]" : : "r" (addr), "r" ((uint32_t)value) : "memory");
}
__IAR_FT void __STRHT(uint16_t value, volatile uint16_t *addr)
{
__ASM("STRHT %1, [%0]" : : "r" (addr), "r" ((uint32_t)value) : "memory");
}
__IAR_FT void __STRT(uint32_t value, volatile uint32_t *addr)
{
__ASM("STRT %1, [%0]" : : "r" (addr), "r" (value) : "memory");
}
#endif /* (__CORTEX_M >= 0x03) */
#if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
(defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
__IAR_FT uint8_t __LDAB(volatile uint8_t *ptr)
{
uint32_t res;
__ASM volatile ("LDAB %0, [%1]" : "=r" (res) : "r" (ptr) : "memory");
return ((uint8_t)res);
}
__IAR_FT uint16_t __LDAH(volatile uint16_t *ptr)
{
uint32_t res;
__ASM volatile ("LDAH %0, [%1]" : "=r" (res) : "r" (ptr) : "memory");
return ((uint16_t)res);
}
__IAR_FT uint32_t __LDA(volatile uint32_t *ptr)
{
uint32_t res;
__ASM volatile ("LDA %0, [%1]" : "=r" (res) : "r" (ptr) : "memory");
return res;
}
__IAR_FT void __STLB(uint8_t value, volatile uint8_t *ptr)
{
__ASM volatile ("STLB %1, [%0]" :: "r" (ptr), "r" (value) : "memory");
}
__IAR_FT void __STLH(uint16_t value, volatile uint16_t *ptr)
{
__ASM volatile ("STLH %1, [%0]" :: "r" (ptr), "r" (value) : "memory");
}
__IAR_FT void __STL(uint32_t value, volatile uint32_t *ptr)
{
__ASM volatile ("STL %1, [%0]" :: "r" (ptr), "r" (value) : "memory");
}
__IAR_FT uint8_t __LDAEXB(volatile uint8_t *ptr)
{
uint32_t res;
__ASM volatile ("LDAEXB %0, [%1]" : "=r" (res) : "r" (ptr) : "memory");
return ((uint8_t)res);
}
__IAR_FT uint16_t __LDAEXH(volatile uint16_t *ptr)
{
uint32_t res;
__ASM volatile ("LDAEXH %0, [%1]" : "=r" (res) : "r" (ptr) : "memory");
return ((uint16_t)res);
}
__IAR_FT uint32_t __LDAEX(volatile uint32_t *ptr)
{
uint32_t res;
__ASM volatile ("LDAEX %0, [%1]" : "=r" (res) : "r" (ptr) : "memory");
return res;
}
__IAR_FT uint32_t __STLEXB(uint8_t value, volatile uint8_t *ptr)
{
uint32_t res;
__ASM volatile ("STLEXB %0, %2, [%1]" : "=r" (res) : "r" (ptr), "r" (value) : "memory");
return res;
}
__IAR_FT uint32_t __STLEXH(uint16_t value, volatile uint16_t *ptr)
{
uint32_t res;
__ASM volatile ("STLEXH %0, %2, [%1]" : "=r" (res) : "r" (ptr), "r" (value) : "memory");
return res;
}
__IAR_FT uint32_t __STLEX(uint32_t value, volatile uint32_t *ptr)
{
uint32_t res;
__ASM volatile ("STLEX %0, %2, [%1]" : "=r" (res) : "r" (ptr), "r" (value) : "memory");
return res;
}
#endif /* __ARM_ARCH_8M_MAIN__ or __ARM_ARCH_8M_BASE__ */
#undef __IAR_FT
#undef __IAR_M0_FAMILY
#undef __ICCARM_V8
#pragma diag_default=Pe940
#pragma diag_default=Pe177
#endif /* __CMSIS_ICCARM_H__ */

@ -0,0 +1,39 @@
/**************************************************************************//**
* @file cmsis_version.h
* @brief CMSIS Core(M) Version definitions
* @version V5.0.2
* @date 19. April 2017
******************************************************************************/
/*
* Copyright (c) 2009-2017 ARM Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined (__clang__)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CMSIS_VERSION_H
#define __CMSIS_VERSION_H
/* CMSIS Version definitions */
#define __CM_CMSIS_VERSION_MAIN ( 5U) /*!< [31:16] CMSIS Core(M) main version */
#define __CM_CMSIS_VERSION_SUB ( 1U) /*!< [15:0] CMSIS Core(M) sub version */
#define __CM_CMSIS_VERSION ((__CM_CMSIS_VERSION_MAIN << 16U) | \
__CM_CMSIS_VERSION_SUB ) /*!< CMSIS Core(M) version number */
#endif

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,949 @@
/**************************************************************************//**
* @file core_cm0.h
* @brief CMSIS Cortex-M0 Core Peripheral Access Layer Header File
* @version V5.0.5
* @date 28. May 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined (__clang__)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CM0_H_GENERIC
#define __CORE_CM0_H_GENERIC
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
\page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
CMSIS violates the following MISRA-C:2004 rules:
\li Required Rule 8.5, object/function definition in header file.<br>
Function definitions in header files are used to allow 'inlining'.
\li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
Unions are used for effective representation of core registers.
\li Advisory Rule 19.7, Function-like macro defined.<br>
Function-like macros are used to allow more efficient code.
*/
/*******************************************************************************
* CMSIS definitions
******************************************************************************/
/**
\ingroup Cortex_M0
@{
*/
#include "cmsis_version.h"
/* CMSIS CM0 definitions */
#define __CM0_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] CMSIS HAL main version */
#define __CM0_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] CMSIS HAL sub version */
#define __CM0_CMSIS_VERSION ((__CM0_CMSIS_VERSION_MAIN << 16U) | \
__CM0_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL version number */
#define __CORTEX_M (0U) /*!< Cortex-M Core */
/** __FPU_USED indicates whether an FPU is used or not.
This core does not support an FPU at all
*/
#define __FPU_USED 0U
#if defined ( __CC_ARM )
#if defined __TARGET_FPU_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __GNUC__ )
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __ICCARM__ )
#if defined __ARMVFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TI_ARM__ )
#if defined __TI_VFP_SUPPORT__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TASKING__ )
#if defined __FPU_VFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __CSMC__ )
#if ( __CSMC__ & 0x400U)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#endif
#include "cmsis_compiler.h" /* CMSIS compiler specific defines */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM0_H_GENERIC */
#ifndef __CMSIS_GENERIC
#ifndef __CORE_CM0_H_DEPENDANT
#define __CORE_CM0_H_DEPENDANT
#ifdef __cplusplus
extern "C" {
#endif
/* check device defines and use defaults */
#if defined __CHECK_DEVICE_DEFINES
#ifndef __CM0_REV
#define __CM0_REV 0x0000U
#warning "__CM0_REV not defined in device header file; using default!"
#endif
#ifndef __NVIC_PRIO_BITS
#define __NVIC_PRIO_BITS 2U
#warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
#endif
#ifndef __Vendor_SysTickConfig
#define __Vendor_SysTickConfig 0U
#warning "__Vendor_SysTickConfig not defined in device header file; using default!"
#endif
#endif
/* IO definitions (access restrictions to peripheral registers) */
/**
\defgroup CMSIS_glob_defs CMSIS Global Defines
<strong>IO Type Qualifiers</strong> are used
\li to specify the access to peripheral variables.
\li for automatic generation of peripheral register debug information.
*/
#ifdef __cplusplus
#define __I volatile /*!< Defines 'read only' permissions */
#else
#define __I volatile const /*!< Defines 'read only' permissions */
#endif
#define __O volatile /*!< Defines 'write only' permissions */
#define __IO volatile /*!< Defines 'read / write' permissions */
/* following defines should be used for structure members */
#define __IM volatile const /*! Defines 'read only' structure member permissions */
#define __OM volatile /*! Defines 'write only' structure member permissions */
#define __IOM volatile /*! Defines 'read / write' structure member permissions */
/*@} end of group Cortex_M0 */
/*******************************************************************************
* Register Abstraction
Core Register contain:
- Core Register
- Core NVIC Register
- Core SCB Register
- Core SysTick Register
******************************************************************************/
/**
\defgroup CMSIS_core_register Defines and Type Definitions
\brief Type definitions and defines for Cortex-M processor based devices.
*/
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CORE Status and Control Registers
\brief Core Register type definitions.
@{
*/
/**
\brief Union type to access the Application Program Status Register (APSR).
*/
typedef union
{
struct
{
uint32_t _reserved0:28; /*!< bit: 0..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} APSR_Type;
/* APSR Register Definitions */
#define APSR_N_Pos 31U /*!< APSR: N Position */
#define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR: N Mask */
#define APSR_Z_Pos 30U /*!< APSR: Z Position */
#define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR: Z Mask */
#define APSR_C_Pos 29U /*!< APSR: C Position */
#define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR: C Mask */
#define APSR_V_Pos 28U /*!< APSR: V Position */
#define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR: V Mask */
/**
\brief Union type to access the Interrupt Program Status Register (IPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} IPSR_Type;
/* IPSR Register Definitions */
#define IPSR_ISR_Pos 0U /*!< IPSR: ISR Position */
#define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR: ISR Mask */
/**
\brief Union type to access the Special-Purpose Program Status Registers (xPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:15; /*!< bit: 9..23 Reserved */
uint32_t T:1; /*!< bit: 24 Thumb bit (read 0) */
uint32_t _reserved1:3; /*!< bit: 25..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} xPSR_Type;
/* xPSR Register Definitions */
#define xPSR_N_Pos 31U /*!< xPSR: N Position */
#define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR: N Mask */
#define xPSR_Z_Pos 30U /*!< xPSR: Z Position */
#define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR: Z Mask */
#define xPSR_C_Pos 29U /*!< xPSR: C Position */
#define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR: C Mask */
#define xPSR_V_Pos 28U /*!< xPSR: V Position */
#define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR: V Mask */
#define xPSR_T_Pos 24U /*!< xPSR: T Position */
#define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR: T Mask */
#define xPSR_ISR_Pos 0U /*!< xPSR: ISR Position */
#define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR: ISR Mask */
/**
\brief Union type to access the Control Registers (CONTROL).
*/
typedef union
{
struct
{
uint32_t _reserved0:1; /*!< bit: 0 Reserved */
uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
uint32_t _reserved1:30; /*!< bit: 2..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} CONTROL_Type;
/* CONTROL Register Definitions */
#define CONTROL_SPSEL_Pos 1U /*!< CONTROL: SPSEL Position */
#define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONTROL: SPSEL Mask */
/*@} end of group CMSIS_CORE */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
\brief Type definitions for the NVIC Registers
@{
*/
/**
\brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
*/
typedef struct
{
__IOM uint32_t ISER[1U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
uint32_t RESERVED0[31U];
__IOM uint32_t ICER[1U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register */
uint32_t RSERVED1[31U];
__IOM uint32_t ISPR[1U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register */
uint32_t RESERVED2[31U];
__IOM uint32_t ICPR[1U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register */
uint32_t RESERVED3[31U];
uint32_t RESERVED4[64U];
__IOM uint32_t IP[8U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register */
} NVIC_Type;
/*@} end of group CMSIS_NVIC */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SCB System Control Block (SCB)
\brief Type definitions for the System Control Block Registers
@{
*/
/**
\brief Structure type to access the System Control Block (SCB).
*/
typedef struct
{
__IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
__IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Register */
uint32_t RESERVED0;
__IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset Control Register */
__IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
__IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register */
uint32_t RESERVED1;
__IOM uint32_t SHP[2U]; /*!< Offset: 0x01C (R/W) System Handlers Priority Registers. [0] is RESERVED */
__IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State Register */
} SCB_Type;
/* SCB CPUID Register Definitions */
#define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB CPUID: IMPLEMENTER Position */
#define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB CPUID: IMPLEMENTER Mask */
#define SCB_CPUID_VARIANT_Pos 20U /*!< SCB CPUID: VARIANT Position */
#define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB CPUID: VARIANT Mask */
#define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB CPUID: ARCHITECTURE Position */
#define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB CPUID: ARCHITECTURE Mask */
#define SCB_CPUID_PARTNO_Pos 4U /*!< SCB CPUID: PARTNO Position */
#define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB CPUID: PARTNO Mask */
#define SCB_CPUID_REVISION_Pos 0U /*!< SCB CPUID: REVISION Position */
#define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB CPUID: REVISION Mask */
/* SCB Interrupt Control State Register Definitions */
#define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB ICSR: NMIPENDSET Position */
#define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB ICSR: NMIPENDSET Mask */
#define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB ICSR: PENDSVSET Position */
#define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB ICSR: PENDSVSET Mask */
#define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB ICSR: PENDSVCLR Position */
#define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB ICSR: PENDSVCLR Mask */
#define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB ICSR: PENDSTSET Position */
#define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB ICSR: PENDSTSET Mask */
#define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB ICSR: PENDSTCLR Position */
#define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB ICSR: PENDSTCLR Mask */
#define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB ICSR: ISRPREEMPT Position */
#define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB ICSR: ISRPREEMPT Mask */
#define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB ICSR: ISRPENDING Position */
#define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB ICSR: ISRPENDING Mask */
#define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB ICSR: VECTPENDING Position */
#define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB ICSR: VECTPENDING Mask */
#define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB ICSR: VECTACTIVE Position */
#define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB ICSR: VECTACTIVE Mask */
/* SCB Application Interrupt and Reset Control Register Definitions */
#define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB AIRCR: VECTKEY Position */
#define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB AIRCR: VECTKEY Mask */
#define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB AIRCR: VECTKEYSTAT Position */
#define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB AIRCR: VECTKEYSTAT Mask */
#define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB AIRCR: ENDIANESS Position */
#define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB AIRCR: ENDIANESS Mask */
#define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB AIRCR: SYSRESETREQ Position */
#define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB AIRCR: SYSRESETREQ Mask */
#define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB AIRCR: VECTCLRACTIVE Position */
#define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB AIRCR: VECTCLRACTIVE Mask */
/* SCB System Control Register Definitions */
#define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB SCR: SEVONPEND Position */
#define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB SCR: SEVONPEND Mask */
#define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB SCR: SLEEPDEEP Position */
#define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB SCR: SLEEPDEEP Mask */
#define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB SCR: SLEEPONEXIT Position */
#define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB SCR: SLEEPONEXIT Mask */
/* SCB Configuration Control Register Definitions */
#define SCB_CCR_STKALIGN_Pos 9U /*!< SCB CCR: STKALIGN Position */
#define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB CCR: STKALIGN Mask */
#define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB CCR: UNALIGN_TRP Position */
#define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB CCR: UNALIGN_TRP Mask */
/* SCB System Handler Control and State Register Definitions */
#define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB SHCSR: SVCALLPENDED Position */
#define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB SHCSR: SVCALLPENDED Mask */
/*@} end of group CMSIS_SCB */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SysTick System Tick Timer (SysTick)
\brief Type definitions for the System Timer Registers.
@{
*/
/**
\brief Structure type to access the System Timer (SysTick).
*/
typedef struct
{
__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Register */
__IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
__IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register */
__IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
} SysTick_Type;
/* SysTick Control / Status Register Definitions */
#define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysTick CTRL: COUNTFLAG Position */
#define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysTick CTRL: COUNTFLAG Mask */
#define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysTick CTRL: CLKSOURCE Position */
#define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysTick CTRL: CLKSOURCE Mask */
#define SysTick_CTRL_TICKINT_Pos 1U /*!< SysTick CTRL: TICKINT Position */
#define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysTick CTRL: TICKINT Mask */
#define SysTick_CTRL_ENABLE_Pos 0U /*!< SysTick CTRL: ENABLE Position */
#define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysTick CTRL: ENABLE Mask */
/* SysTick Reload Register Definitions */
#define SysTick_LOAD_RELOAD_Pos 0U /*!< SysTick LOAD: RELOAD Position */
#define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysTick LOAD: RELOAD Mask */
/* SysTick Current Register Definitions */
#define SysTick_VAL_CURRENT_Pos 0U /*!< SysTick VAL: CURRENT Position */
#define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysTick VAL: CURRENT Mask */
/* SysTick Calibration Register Definitions */
#define SysTick_CALIB_NOREF_Pos 31U /*!< SysTick CALIB: NOREF Position */
#define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysTick CALIB: NOREF Mask */
#define SysTick_CALIB_SKEW_Pos 30U /*!< SysTick CALIB: SKEW Position */
#define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysTick CALIB: SKEW Mask */
#define SysTick_CALIB_TENMS_Pos 0U /*!< SysTick CALIB: TENMS Position */
#define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysTick CALIB: TENMS Mask */
/*@} end of group CMSIS_SysTick */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
\brief Cortex-M0 Core Debug Registers (DCB registers, SHCSR, and DFSR) are only accessible over DAP and not via processor.
Therefore they are not covered by the Cortex-M0 header file.
@{
*/
/*@} end of group CMSIS_CoreDebug */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_bitfield Core register bit field macros
\brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
@{
*/
/**
\brief Mask and shift a bit field value for use in a register bit range.
\param[in] field Name of the register bit field.
\param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
\return Masked and shifted value.
*/
#define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
/**
\brief Mask and shift a register value to extract a bit filed value.
\param[in] field Name of the register bit field.
\param[in] value Value of register. This parameter is interpreted as an uint32_t type.
\return Masked and shifted bit field value.
*/
#define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
/*@} end of group CMSIS_core_bitfield */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_base Core Definitions
\brief Definitions for base addresses, unions, and structures.
@{
*/
/* Memory mapping of Core Hardware */
#define SCS_BASE (0xE000E000UL) /*!< System Control Space Base Address */
#define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
#define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
#define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Base Address */
#define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct */
#define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration struct */
#define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struct */
/*@} */
/*******************************************************************************
* Hardware Abstraction Layer
Core Function Interface contains:
- Core NVIC Functions
- Core SysTick Functions
- Core Register Access Functions
******************************************************************************/
/**
\defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
*/
/* ########################## NVIC functions #################################### */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_NVICFunctions NVIC Functions
\brief Functions that manage interrupts and exceptions via the NVIC.
@{
*/
#ifdef CMSIS_NVIC_VIRTUAL
#ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
#define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
#endif
#include CMSIS_NVIC_VIRTUAL_HEADER_FILE
#else
#define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
#define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
#define NVIC_EnableIRQ __NVIC_EnableIRQ
#define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
#define NVIC_DisableIRQ __NVIC_DisableIRQ
#define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
#define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
#define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
/*#define NVIC_GetActive __NVIC_GetActive not available for Cortex-M0 */
#define NVIC_SetPriority __NVIC_SetPriority
#define NVIC_GetPriority __NVIC_GetPriority
#define NVIC_SystemReset __NVIC_SystemReset
#endif /* CMSIS_NVIC_VIRTUAL */
#ifdef CMSIS_VECTAB_VIRTUAL
#ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
#define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
#endif
#include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
#else
#define NVIC_SetVector __NVIC_SetVector
#define NVIC_GetVector __NVIC_GetVector
#endif /* (CMSIS_VECTAB_VIRTUAL) */
#define NVIC_USER_IRQ_OFFSET 16
/* The following EXC_RETURN values are saved the LR on exception entry */
#define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after return */
#define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after return */
#define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after return */
/* Interrupt Priorities are WORD accessible only under Armv6-M */
/* The following MACROS handle generation of the register offset and byte masks */
#define _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL)
#define _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )
#define _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )
#define __NVIC_SetPriorityGrouping(X) (void)(X)
#define __NVIC_GetPriorityGrouping() (0U)
/**
\brief Enable Interrupt
\details Enables a device specific interrupt in the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
}
}
/**
\brief Get Interrupt Enable status
\details Returns a device specific interrupt enable status from the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\return 0 Interrupt is not enabled.
\return 1 Interrupt is enabled.
\note IRQn must not be negative.
*/
__STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
return((uint32_t)(((NVIC->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
}
else
{
return(0U);
}
}
/**
\brief Disable Interrupt
\details Disables a device specific interrupt in the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ICER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
__DSB();
__ISB();
}
}
/**
\brief Get Pending Interrupt
\details Reads the NVIC pending register and returns the pending bit for the specified device specific interrupt.
\param [in] IRQn Device specific interrupt number.
\return 0 Interrupt status is not pending.
\return 1 Interrupt status is pending.
\note IRQn must not be negative.
*/
__STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
return((uint32_t)(((NVIC->ISPR[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
}
else
{
return(0U);
}
}
/**
\brief Set Pending Interrupt
\details Sets the pending bit of a device specific interrupt in the NVIC pending register.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
}
}
/**
\brief Clear Pending Interrupt
\details Clears the pending bit of a device specific interrupt in the NVIC pending register.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
}
}
/**
\brief Set Interrupt Priority
\details Sets the priority of a device specific interrupt or a processor exception.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
\param [in] IRQn Interrupt number.
\param [in] priority Priority to set.
\note The priority cannot be set for every processor exception.
*/
__STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
else
{
SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
}
/**
\brief Get Interrupt Priority
\details Reads the priority of a device specific interrupt or a processor exception.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
\param [in] IRQn Interrupt number.
\return Interrupt Priority.
Value is aligned automatically to the implemented priority bits of the microcontroller.
*/
__STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
return((uint32_t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
else
{
return((uint32_t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
}
/**
\brief Encode Priority
\details Encodes the priority for an interrupt with the given priority group,
preemptive priority value, and subpriority value.
In case of a conflict between priority grouping and available
priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
\param [in] PriorityGroup Used priority group.
\param [in] PreemptPriority Preemptive priority value (starting from 0).
\param [in] SubPriority Subpriority value (starting from 0).
\return Encoded priority. Value can be used in the function \ref NVIC_SetPriority().
*/
__STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
{
uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
uint32_t PreemptPriorityBits;
uint32_t SubPriorityBits;
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
return (
((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
);
}
/**
\brief Decode Priority
\details Decodes an interrupt priority value with a given priority group to
preemptive priority value and subpriority value.
In case of a conflict between priority grouping and available
priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
\param [in] Priority Priority value, which can be retrieved with the function \ref NVIC_GetPriority().
\param [in] PriorityGroup Used priority group.
\param [out] pPreemptPriority Preemptive priority value (starting from 0).
\param [out] pSubPriority Subpriority value (starting from 0).
*/
__STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority)
{
uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
uint32_t PreemptPriorityBits;
uint32_t SubPriorityBits;
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL);
*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL);
}
/**
\brief Set Interrupt Vector
\details Sets an interrupt vector in SRAM based interrupt vector table.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
Address 0 must be mapped to SRAM.
\param [in] IRQn Interrupt number
\param [in] vector Address of interrupt handler function
*/
__STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
{
uint32_t *vectors = (uint32_t *)0x0U;
vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
}
/**
\brief Get Interrupt Vector
\details Reads an interrupt vector from interrupt vector table.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
\param [in] IRQn Interrupt number.
\return Address of interrupt handler function
*/
__STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
{
uint32_t *vectors = (uint32_t *)0x0U;
return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
}
/**
\brief System Reset
\details Initiates a system reset request to reset the MCU.
*/
__NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
{
__DSB(); /* Ensure all outstanding memory accesses included
buffered write are completed before reset */
SCB->AIRCR = ((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
SCB_AIRCR_SYSRESETREQ_Msk);
__DSB(); /* Ensure completion of memory access */
for(;;) /* wait until reset */
{
__NOP();
}
}
/*@} end of CMSIS_Core_NVICFunctions */
/* ########################## FPU functions #################################### */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_FpuFunctions FPU Functions
\brief Function that provides FPU type.
@{
*/
/**
\brief get FPU type
\details returns the FPU type
\returns
- \b 0: No FPU
- \b 1: Single precision FPU
- \b 2: Double + Single precision FPU
*/
__STATIC_INLINE uint32_t SCB_GetFPUType(void)
{
return 0U; /* No FPU */
}
/*@} end of CMSIS_Core_FpuFunctions */
/* ################################## SysTick function ############################################ */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_SysTickFunctions SysTick Functions
\brief Functions that configure the System.
@{
*/
#if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
/**
\brief System Tick Configuration
\details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
Counter is in free running mode to generate periodic interrupts.
\param [in] ticks Number of ticks between two interrupts.
\return 0 Function succeeded.
\return 1 Function failed.
\note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.h</b>
must contain a vendor-specific implementation of this function.
*/
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
{
if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
{
return (1UL); /* Reload value impossible */
}
SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
return (0UL); /* Function successful */
}
#endif
/*@} end of CMSIS_Core_SysTickFunctions */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM0_H_DEPENDANT */
#endif /* __CMSIS_GENERIC */

File diff suppressed because it is too large Load Diff

@ -0,0 +1,976 @@
/**************************************************************************//**
* @file core_cm1.h
* @brief CMSIS Cortex-M1 Core Peripheral Access Layer Header File
* @version V1.0.0
* @date 23. July 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined (__clang__)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CM1_H_GENERIC
#define __CORE_CM1_H_GENERIC
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
\page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
CMSIS violates the following MISRA-C:2004 rules:
\li Required Rule 8.5, object/function definition in header file.<br>
Function definitions in header files are used to allow 'inlining'.
\li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
Unions are used for effective representation of core registers.
\li Advisory Rule 19.7, Function-like macro defined.<br>
Function-like macros are used to allow more efficient code.
*/
/*******************************************************************************
* CMSIS definitions
******************************************************************************/
/**
\ingroup Cortex_M1
@{
*/
#include "cmsis_version.h"
/* CMSIS CM1 definitions */
#define __CM1_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] CMSIS HAL main version */
#define __CM1_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] CMSIS HAL sub version */
#define __CM1_CMSIS_VERSION ((__CM1_CMSIS_VERSION_MAIN << 16U) | \
__CM1_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL version number */
#define __CORTEX_M (1U) /*!< Cortex-M Core */
/** __FPU_USED indicates whether an FPU is used or not.
This core does not support an FPU at all
*/
#define __FPU_USED 0U
#if defined ( __CC_ARM )
#if defined __TARGET_FPU_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __GNUC__ )
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __ICCARM__ )
#if defined __ARMVFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TI_ARM__ )
#if defined __TI_VFP_SUPPORT__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TASKING__ )
#if defined __FPU_VFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __CSMC__ )
#if ( __CSMC__ & 0x400U)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#endif
#include "cmsis_compiler.h" /* CMSIS compiler specific defines */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM1_H_GENERIC */
#ifndef __CMSIS_GENERIC
#ifndef __CORE_CM1_H_DEPENDANT
#define __CORE_CM1_H_DEPENDANT
#ifdef __cplusplus
extern "C" {
#endif
/* check device defines and use defaults */
#if defined __CHECK_DEVICE_DEFINES
#ifndef __CM1_REV
#define __CM1_REV 0x0100U
#warning "__CM1_REV not defined in device header file; using default!"
#endif
#ifndef __NVIC_PRIO_BITS
#define __NVIC_PRIO_BITS 2U
#warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
#endif
#ifndef __Vendor_SysTickConfig
#define __Vendor_SysTickConfig 0U
#warning "__Vendor_SysTickConfig not defined in device header file; using default!"
#endif
#endif
/* IO definitions (access restrictions to peripheral registers) */
/**
\defgroup CMSIS_glob_defs CMSIS Global Defines
<strong>IO Type Qualifiers</strong> are used
\li to specify the access to peripheral variables.
\li for automatic generation of peripheral register debug information.
*/
#ifdef __cplusplus
#define __I volatile /*!< Defines 'read only' permissions */
#else
#define __I volatile const /*!< Defines 'read only' permissions */
#endif
#define __O volatile /*!< Defines 'write only' permissions */
#define __IO volatile /*!< Defines 'read / write' permissions */
/* following defines should be used for structure members */
#define __IM volatile const /*! Defines 'read only' structure member permissions */
#define __OM volatile /*! Defines 'write only' structure member permissions */
#define __IOM volatile /*! Defines 'read / write' structure member permissions */
/*@} end of group Cortex_M1 */
/*******************************************************************************
* Register Abstraction
Core Register contain:
- Core Register
- Core NVIC Register
- Core SCB Register
- Core SysTick Register
******************************************************************************/
/**
\defgroup CMSIS_core_register Defines and Type Definitions
\brief Type definitions and defines for Cortex-M processor based devices.
*/
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CORE Status and Control Registers
\brief Core Register type definitions.
@{
*/
/**
\brief Union type to access the Application Program Status Register (APSR).
*/
typedef union
{
struct
{
uint32_t _reserved0:28; /*!< bit: 0..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} APSR_Type;
/* APSR Register Definitions */
#define APSR_N_Pos 31U /*!< APSR: N Position */
#define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR: N Mask */
#define APSR_Z_Pos 30U /*!< APSR: Z Position */
#define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR: Z Mask */
#define APSR_C_Pos 29U /*!< APSR: C Position */
#define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR: C Mask */
#define APSR_V_Pos 28U /*!< APSR: V Position */
#define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR: V Mask */
/**
\brief Union type to access the Interrupt Program Status Register (IPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} IPSR_Type;
/* IPSR Register Definitions */
#define IPSR_ISR_Pos 0U /*!< IPSR: ISR Position */
#define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR: ISR Mask */
/**
\brief Union type to access the Special-Purpose Program Status Registers (xPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:15; /*!< bit: 9..23 Reserved */
uint32_t T:1; /*!< bit: 24 Thumb bit (read 0) */
uint32_t _reserved1:3; /*!< bit: 25..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} xPSR_Type;
/* xPSR Register Definitions */
#define xPSR_N_Pos 31U /*!< xPSR: N Position */
#define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR: N Mask */
#define xPSR_Z_Pos 30U /*!< xPSR: Z Position */
#define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR: Z Mask */
#define xPSR_C_Pos 29U /*!< xPSR: C Position */
#define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR: C Mask */
#define xPSR_V_Pos 28U /*!< xPSR: V Position */
#define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR: V Mask */
#define xPSR_T_Pos 24U /*!< xPSR: T Position */
#define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR: T Mask */
#define xPSR_ISR_Pos 0U /*!< xPSR: ISR Position */
#define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR: ISR Mask */
/**
\brief Union type to access the Control Registers (CONTROL).
*/
typedef union
{
struct
{
uint32_t _reserved0:1; /*!< bit: 0 Reserved */
uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
uint32_t _reserved1:30; /*!< bit: 2..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} CONTROL_Type;
/* CONTROL Register Definitions */
#define CONTROL_SPSEL_Pos 1U /*!< CONTROL: SPSEL Position */
#define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONTROL: SPSEL Mask */
/*@} end of group CMSIS_CORE */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
\brief Type definitions for the NVIC Registers
@{
*/
/**
\brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
*/
typedef struct
{
__IOM uint32_t ISER[1U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
uint32_t RESERVED0[31U];
__IOM uint32_t ICER[1U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register */
uint32_t RSERVED1[31U];
__IOM uint32_t ISPR[1U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register */
uint32_t RESERVED2[31U];
__IOM uint32_t ICPR[1U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register */
uint32_t RESERVED3[31U];
uint32_t RESERVED4[64U];
__IOM uint32_t IP[8U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register */
} NVIC_Type;
/*@} end of group CMSIS_NVIC */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SCB System Control Block (SCB)
\brief Type definitions for the System Control Block Registers
@{
*/
/**
\brief Structure type to access the System Control Block (SCB).
*/
typedef struct
{
__IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
__IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Register */
uint32_t RESERVED0;
__IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset Control Register */
__IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
__IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register */
uint32_t RESERVED1;
__IOM uint32_t SHP[2U]; /*!< Offset: 0x01C (R/W) System Handlers Priority Registers. [0] is RESERVED */
__IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State Register */
} SCB_Type;
/* SCB CPUID Register Definitions */
#define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB CPUID: IMPLEMENTER Position */
#define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB CPUID: IMPLEMENTER Mask */
#define SCB_CPUID_VARIANT_Pos 20U /*!< SCB CPUID: VARIANT Position */
#define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB CPUID: VARIANT Mask */
#define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB CPUID: ARCHITECTURE Position */
#define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB CPUID: ARCHITECTURE Mask */
#define SCB_CPUID_PARTNO_Pos 4U /*!< SCB CPUID: PARTNO Position */
#define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB CPUID: PARTNO Mask */
#define SCB_CPUID_REVISION_Pos 0U /*!< SCB CPUID: REVISION Position */
#define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB CPUID: REVISION Mask */
/* SCB Interrupt Control State Register Definitions */
#define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB ICSR: NMIPENDSET Position */
#define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB ICSR: NMIPENDSET Mask */
#define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB ICSR: PENDSVSET Position */
#define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB ICSR: PENDSVSET Mask */
#define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB ICSR: PENDSVCLR Position */
#define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB ICSR: PENDSVCLR Mask */
#define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB ICSR: PENDSTSET Position */
#define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB ICSR: PENDSTSET Mask */
#define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB ICSR: PENDSTCLR Position */
#define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB ICSR: PENDSTCLR Mask */
#define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB ICSR: ISRPREEMPT Position */
#define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB ICSR: ISRPREEMPT Mask */
#define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB ICSR: ISRPENDING Position */
#define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB ICSR: ISRPENDING Mask */
#define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB ICSR: VECTPENDING Position */
#define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB ICSR: VECTPENDING Mask */
#define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB ICSR: VECTACTIVE Position */
#define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB ICSR: VECTACTIVE Mask */
/* SCB Application Interrupt and Reset Control Register Definitions */
#define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB AIRCR: VECTKEY Position */
#define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB AIRCR: VECTKEY Mask */
#define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB AIRCR: VECTKEYSTAT Position */
#define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB AIRCR: VECTKEYSTAT Mask */
#define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB AIRCR: ENDIANESS Position */
#define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB AIRCR: ENDIANESS Mask */
#define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB AIRCR: SYSRESETREQ Position */
#define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB AIRCR: SYSRESETREQ Mask */
#define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB AIRCR: VECTCLRACTIVE Position */
#define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB AIRCR: VECTCLRACTIVE Mask */
/* SCB System Control Register Definitions */
#define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB SCR: SEVONPEND Position */
#define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB SCR: SEVONPEND Mask */
#define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB SCR: SLEEPDEEP Position */
#define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB SCR: SLEEPDEEP Mask */
#define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB SCR: SLEEPONEXIT Position */
#define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB SCR: SLEEPONEXIT Mask */
/* SCB Configuration Control Register Definitions */
#define SCB_CCR_STKALIGN_Pos 9U /*!< SCB CCR: STKALIGN Position */
#define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB CCR: STKALIGN Mask */
#define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB CCR: UNALIGN_TRP Position */
#define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB CCR: UNALIGN_TRP Mask */
/* SCB System Handler Control and State Register Definitions */
#define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB SHCSR: SVCALLPENDED Position */
#define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB SHCSR: SVCALLPENDED Mask */
/*@} end of group CMSIS_SCB */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
\brief Type definitions for the System Control and ID Register not in the SCB
@{
*/
/**
\brief Structure type to access the System Control and ID Register not in the SCB.
*/
typedef struct
{
uint32_t RESERVED0[2U];
__IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
} SCnSCB_Type;
/* Auxiliary Control Register Definitions */
#define SCnSCB_ACTLR_ITCMUAEN_Pos 4U /*!< ACTLR: Instruction TCM Upper Alias Enable Position */
#define SCnSCB_ACTLR_ITCMUAEN_Msk (1UL << SCnSCB_ACTLR_ITCMUAEN_Pos) /*!< ACTLR: Instruction TCM Upper Alias Enable Mask */
#define SCnSCB_ACTLR_ITCMLAEN_Pos 3U /*!< ACTLR: Instruction TCM Lower Alias Enable Position */
#define SCnSCB_ACTLR_ITCMLAEN_Msk (1UL << SCnSCB_ACTLR_ITCMLAEN_Pos) /*!< ACTLR: Instruction TCM Lower Alias Enable Mask */
/*@} end of group CMSIS_SCnotSCB */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SysTick System Tick Timer (SysTick)
\brief Type definitions for the System Timer Registers.
@{
*/
/**
\brief Structure type to access the System Timer (SysTick).
*/
typedef struct
{
__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Register */
__IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
__IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register */
__IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
} SysTick_Type;
/* SysTick Control / Status Register Definitions */
#define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysTick CTRL: COUNTFLAG Position */
#define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysTick CTRL: COUNTFLAG Mask */
#define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysTick CTRL: CLKSOURCE Position */
#define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysTick CTRL: CLKSOURCE Mask */
#define SysTick_CTRL_TICKINT_Pos 1U /*!< SysTick CTRL: TICKINT Position */
#define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysTick CTRL: TICKINT Mask */
#define SysTick_CTRL_ENABLE_Pos 0U /*!< SysTick CTRL: ENABLE Position */
#define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysTick CTRL: ENABLE Mask */
/* SysTick Reload Register Definitions */
#define SysTick_LOAD_RELOAD_Pos 0U /*!< SysTick LOAD: RELOAD Position */
#define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysTick LOAD: RELOAD Mask */
/* SysTick Current Register Definitions */
#define SysTick_VAL_CURRENT_Pos 0U /*!< SysTick VAL: CURRENT Position */
#define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysTick VAL: CURRENT Mask */
/* SysTick Calibration Register Definitions */
#define SysTick_CALIB_NOREF_Pos 31U /*!< SysTick CALIB: NOREF Position */
#define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysTick CALIB: NOREF Mask */
#define SysTick_CALIB_SKEW_Pos 30U /*!< SysTick CALIB: SKEW Position */
#define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysTick CALIB: SKEW Mask */
#define SysTick_CALIB_TENMS_Pos 0U /*!< SysTick CALIB: TENMS Position */
#define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysTick CALIB: TENMS Mask */
/*@} end of group CMSIS_SysTick */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
\brief Cortex-M1 Core Debug Registers (DCB registers, SHCSR, and DFSR) are only accessible over DAP and not via processor.
Therefore they are not covered by the Cortex-M1 header file.
@{
*/
/*@} end of group CMSIS_CoreDebug */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_bitfield Core register bit field macros
\brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
@{
*/
/**
\brief Mask and shift a bit field value for use in a register bit range.
\param[in] field Name of the register bit field.
\param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
\return Masked and shifted value.
*/
#define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
/**
\brief Mask and shift a register value to extract a bit filed value.
\param[in] field Name of the register bit field.
\param[in] value Value of register. This parameter is interpreted as an uint32_t type.
\return Masked and shifted bit field value.
*/
#define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
/*@} end of group CMSIS_core_bitfield */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_base Core Definitions
\brief Definitions for base addresses, unions, and structures.
@{
*/
/* Memory mapping of Core Hardware */
#define SCS_BASE (0xE000E000UL) /*!< System Control Space Base Address */
#define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
#define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
#define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Base Address */
#define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register not in SCB */
#define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct */
#define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration struct */
#define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struct */
/*@} */
/*******************************************************************************
* Hardware Abstraction Layer
Core Function Interface contains:
- Core NVIC Functions
- Core SysTick Functions
- Core Register Access Functions
******************************************************************************/
/**
\defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
*/
/* ########################## NVIC functions #################################### */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_NVICFunctions NVIC Functions
\brief Functions that manage interrupts and exceptions via the NVIC.
@{
*/
#ifdef CMSIS_NVIC_VIRTUAL
#ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
#define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
#endif
#include CMSIS_NVIC_VIRTUAL_HEADER_FILE
#else
#define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
#define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
#define NVIC_EnableIRQ __NVIC_EnableIRQ
#define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
#define NVIC_DisableIRQ __NVIC_DisableIRQ
#define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
#define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
#define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
/*#define NVIC_GetActive __NVIC_GetActive not available for Cortex-M1 */
#define NVIC_SetPriority __NVIC_SetPriority
#define NVIC_GetPriority __NVIC_GetPriority
#define NVIC_SystemReset __NVIC_SystemReset
#endif /* CMSIS_NVIC_VIRTUAL */
#ifdef CMSIS_VECTAB_VIRTUAL
#ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
#define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
#endif
#include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
#else
#define NVIC_SetVector __NVIC_SetVector
#define NVIC_GetVector __NVIC_GetVector
#endif /* (CMSIS_VECTAB_VIRTUAL) */
#define NVIC_USER_IRQ_OFFSET 16
/* The following EXC_RETURN values are saved the LR on exception entry */
#define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after return */
#define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after return */
#define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after return */
/* Interrupt Priorities are WORD accessible only under Armv6-M */
/* The following MACROS handle generation of the register offset and byte masks */
#define _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL)
#define _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )
#define _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )
#define __NVIC_SetPriorityGrouping(X) (void)(X)
#define __NVIC_GetPriorityGrouping() (0U)
/**
\brief Enable Interrupt
\details Enables a device specific interrupt in the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
}
}
/**
\brief Get Interrupt Enable status
\details Returns a device specific interrupt enable status from the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\return 0 Interrupt is not enabled.
\return 1 Interrupt is enabled.
\note IRQn must not be negative.
*/
__STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
return((uint32_t)(((NVIC->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
}
else
{
return(0U);
}
}
/**
\brief Disable Interrupt
\details Disables a device specific interrupt in the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ICER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
__DSB();
__ISB();
}
}
/**
\brief Get Pending Interrupt
\details Reads the NVIC pending register and returns the pending bit for the specified device specific interrupt.
\param [in] IRQn Device specific interrupt number.
\return 0 Interrupt status is not pending.
\return 1 Interrupt status is pending.
\note IRQn must not be negative.
*/
__STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
return((uint32_t)(((NVIC->ISPR[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
}
else
{
return(0U);
}
}
/**
\brief Set Pending Interrupt
\details Sets the pending bit of a device specific interrupt in the NVIC pending register.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
}
}
/**
\brief Clear Pending Interrupt
\details Clears the pending bit of a device specific interrupt in the NVIC pending register.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
}
}
/**
\brief Set Interrupt Priority
\details Sets the priority of a device specific interrupt or a processor exception.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
\param [in] IRQn Interrupt number.
\param [in] priority Priority to set.
\note The priority cannot be set for every processor exception.
*/
__STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
else
{
SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
}
/**
\brief Get Interrupt Priority
\details Reads the priority of a device specific interrupt or a processor exception.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
\param [in] IRQn Interrupt number.
\return Interrupt Priority.
Value is aligned automatically to the implemented priority bits of the microcontroller.
*/
__STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) >= 0)
{
return((uint32_t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
else
{
return((uint32_t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
}
/**
\brief Encode Priority
\details Encodes the priority for an interrupt with the given priority group,
preemptive priority value, and subpriority value.
In case of a conflict between priority grouping and available
priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
\param [in] PriorityGroup Used priority group.
\param [in] PreemptPriority Preemptive priority value (starting from 0).
\param [in] SubPriority Subpriority value (starting from 0).
\return Encoded priority. Value can be used in the function \ref NVIC_SetPriority().
*/
__STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
{
uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
uint32_t PreemptPriorityBits;
uint32_t SubPriorityBits;
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
return (
((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
);
}
/**
\brief Decode Priority
\details Decodes an interrupt priority value with a given priority group to
preemptive priority value and subpriority value.
In case of a conflict between priority grouping and available
priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
\param [in] Priority Priority value, which can be retrieved with the function \ref NVIC_GetPriority().
\param [in] PriorityGroup Used priority group.
\param [out] pPreemptPriority Preemptive priority value (starting from 0).
\param [out] pSubPriority Subpriority value (starting from 0).
*/
__STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority)
{
uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
uint32_t PreemptPriorityBits;
uint32_t SubPriorityBits;
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL);
*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL);
}
/**
\brief Set Interrupt Vector
\details Sets an interrupt vector in SRAM based interrupt vector table.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
Address 0 must be mapped to SRAM.
\param [in] IRQn Interrupt number
\param [in] vector Address of interrupt handler function
*/
__STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
{
uint32_t *vectors = (uint32_t *)0x0U;
vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
}
/**
\brief Get Interrupt Vector
\details Reads an interrupt vector from interrupt vector table.
The interrupt number can be positive to specify a device specific interrupt,
or negative to specify a processor exception.
\param [in] IRQn Interrupt number.
\return Address of interrupt handler function
*/
__STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
{
uint32_t *vectors = (uint32_t *)0x0U;
return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
}
/**
\brief System Reset
\details Initiates a system reset request to reset the MCU.
*/
__NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
{
__DSB(); /* Ensure all outstanding memory accesses included
buffered write are completed before reset */
SCB->AIRCR = ((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
SCB_AIRCR_SYSRESETREQ_Msk);
__DSB(); /* Ensure completion of memory access */
for(;;) /* wait until reset */
{
__NOP();
}
}
/*@} end of CMSIS_Core_NVICFunctions */
/* ########################## FPU functions #################################### */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_FpuFunctions FPU Functions
\brief Function that provides FPU type.
@{
*/
/**
\brief get FPU type
\details returns the FPU type
\returns
- \b 0: No FPU
- \b 1: Single precision FPU
- \b 2: Double + Single precision FPU
*/
__STATIC_INLINE uint32_t SCB_GetFPUType(void)
{
return 0U; /* No FPU */
}
/*@} end of CMSIS_Core_FpuFunctions */
/* ################################## SysTick function ############################################ */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_SysTickFunctions SysTick Functions
\brief Functions that configure the System.
@{
*/
#if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
/**
\brief System Tick Configuration
\details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
Counter is in free running mode to generate periodic interrupts.
\param [in] ticks Number of ticks between two interrupts.
\return 0 Function succeeded.
\return 1 Function failed.
\note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.h</b>
must contain a vendor-specific implementation of this function.
*/
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
{
if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
{
return (1UL); /* Reload value impossible */
}
SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
return (0UL); /* Function successful */
}
#endif
/*@} end of CMSIS_Core_SysTickFunctions */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM1_H_DEPENDANT */
#endif /* __CMSIS_GENERIC */

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,270 @@
/******************************************************************************
* @file mpu_armv7.h
* @brief CMSIS MPU API for Armv7-M MPU
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined (__clang__)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef ARM_MPU_ARMV7_H
#define ARM_MPU_ARMV7_H
#define ARM_MPU_REGION_SIZE_32B ((uint8_t)0x04U) ///!< MPU Region Size 32 Bytes
#define ARM_MPU_REGION_SIZE_64B ((uint8_t)0x05U) ///!< MPU Region Size 64 Bytes
#define ARM_MPU_REGION_SIZE_128B ((uint8_t)0x06U) ///!< MPU Region Size 128 Bytes
#define ARM_MPU_REGION_SIZE_256B ((uint8_t)0x07U) ///!< MPU Region Size 256 Bytes
#define ARM_MPU_REGION_SIZE_512B ((uint8_t)0x08U) ///!< MPU Region Size 512 Bytes
#define ARM_MPU_REGION_SIZE_1KB ((uint8_t)0x09U) ///!< MPU Region Size 1 KByte
#define ARM_MPU_REGION_SIZE_2KB ((uint8_t)0x0AU) ///!< MPU Region Size 2 KBytes
#define ARM_MPU_REGION_SIZE_4KB ((uint8_t)0x0BU) ///!< MPU Region Size 4 KBytes
#define ARM_MPU_REGION_SIZE_8KB ((uint8_t)0x0CU) ///!< MPU Region Size 8 KBytes
#define ARM_MPU_REGION_SIZE_16KB ((uint8_t)0x0DU) ///!< MPU Region Size 16 KBytes
#define ARM_MPU_REGION_SIZE_32KB ((uint8_t)0x0EU) ///!< MPU Region Size 32 KBytes
#define ARM_MPU_REGION_SIZE_64KB ((uint8_t)0x0FU) ///!< MPU Region Size 64 KBytes
#define ARM_MPU_REGION_SIZE_128KB ((uint8_t)0x10U) ///!< MPU Region Size 128 KBytes
#define ARM_MPU_REGION_SIZE_256KB ((uint8_t)0x11U) ///!< MPU Region Size 256 KBytes
#define ARM_MPU_REGION_SIZE_512KB ((uint8_t)0x12U) ///!< MPU Region Size 512 KBytes
#define ARM_MPU_REGION_SIZE_1MB ((uint8_t)0x13U) ///!< MPU Region Size 1 MByte
#define ARM_MPU_REGION_SIZE_2MB ((uint8_t)0x14U) ///!< MPU Region Size 2 MBytes
#define ARM_MPU_REGION_SIZE_4MB ((uint8_t)0x15U) ///!< MPU Region Size 4 MBytes
#define ARM_MPU_REGION_SIZE_8MB ((uint8_t)0x16U) ///!< MPU Region Size 8 MBytes
#define ARM_MPU_REGION_SIZE_16MB ((uint8_t)0x17U) ///!< MPU Region Size 16 MBytes
#define ARM_MPU_REGION_SIZE_32MB ((uint8_t)0x18U) ///!< MPU Region Size 32 MBytes
#define ARM_MPU_REGION_SIZE_64MB ((uint8_t)0x19U) ///!< MPU Region Size 64 MBytes
#define ARM_MPU_REGION_SIZE_128MB ((uint8_t)0x1AU) ///!< MPU Region Size 128 MBytes
#define ARM_MPU_REGION_SIZE_256MB ((uint8_t)0x1BU) ///!< MPU Region Size 256 MBytes
#define ARM_MPU_REGION_SIZE_512MB ((uint8_t)0x1CU) ///!< MPU Region Size 512 MBytes
#define ARM_MPU_REGION_SIZE_1GB ((uint8_t)0x1DU) ///!< MPU Region Size 1 GByte
#define ARM_MPU_REGION_SIZE_2GB ((uint8_t)0x1EU) ///!< MPU Region Size 2 GBytes
#define ARM_MPU_REGION_SIZE_4GB ((uint8_t)0x1FU) ///!< MPU Region Size 4 GBytes
#define ARM_MPU_AP_NONE 0U ///!< MPU Access Permission no access
#define ARM_MPU_AP_PRIV 1U ///!< MPU Access Permission privileged access only
#define ARM_MPU_AP_URO 2U ///!< MPU Access Permission unprivileged access read-only
#define ARM_MPU_AP_FULL 3U ///!< MPU Access Permission full access
#define ARM_MPU_AP_PRO 5U ///!< MPU Access Permission privileged access read-only
#define ARM_MPU_AP_RO 6U ///!< MPU Access Permission read-only access
/** MPU Region Base Address Register Value
*
* \param Region The region to be configured, number 0 to 15.
* \param BaseAddress The base address for the region.
*/
#define ARM_MPU_RBAR(Region, BaseAddress) \
(((BaseAddress) & MPU_RBAR_ADDR_Msk) | \
((Region) & MPU_RBAR_REGION_Msk) | \
(MPU_RBAR_VALID_Msk))
/**
* MPU Memory Access Attributes
*
* \param TypeExtField Type extension field, allows you to configure memory access type, for example strongly ordered, peripheral.
* \param IsShareable Region is shareable between multiple bus masters.
* \param IsCacheable Region is cacheable, i.e. its value may be kept in cache.
* \param IsBufferable Region is bufferable, i.e. using write-back caching. Cacheable but non-bufferable regions use write-through policy.
*/
#define ARM_MPU_ACCESS_(TypeExtField, IsShareable, IsCacheable, IsBufferable) \
((((TypeExtField ) << MPU_RASR_TEX_Pos) & MPU_RASR_TEX_Msk) | \
(((IsShareable ) << MPU_RASR_S_Pos) & MPU_RASR_S_Msk) | \
(((IsCacheable ) << MPU_RASR_C_Pos) & MPU_RASR_C_Msk) | \
(((IsBufferable ) << MPU_RASR_B_Pos) & MPU_RASR_B_Msk))
/**
* MPU Region Attribute and Size Register Value
*
* \param DisableExec Instruction access disable bit, 1= disable instruction fetches.
* \param AccessPermission Data access permissions, allows you to configure read/write access for User and Privileged mode.
* \param AccessAttributes Memory access attribution, see \ref ARM_MPU_ACCESS_.
* \param SubRegionDisable Sub-region disable field.
* \param Size Region size of the region to be configured, for example 4K, 8K.
*/
#define ARM_MPU_RASR_EX(DisableExec, AccessPermission, AccessAttributes, SubRegionDisable, Size) \
((((DisableExec ) << MPU_RASR_XN_Pos) & MPU_RASR_XN_Msk) | \
(((AccessPermission) << MPU_RASR_AP_Pos) & MPU_RASR_AP_Msk) | \
(((AccessAttributes) ) & (MPU_RASR_TEX_Msk | MPU_RASR_S_Msk | MPU_RASR_C_Msk | MPU_RASR_B_Msk)))
/**
* MPU Region Attribute and Size Register Value
*
* \param DisableExec Instruction access disable bit, 1= disable instruction fetches.
* \param AccessPermission Data access permissions, allows you to configure read/write access for User and Privileged mode.
* \param TypeExtField Type extension field, allows you to configure memory access type, for example strongly ordered, peripheral.
* \param IsShareable Region is shareable between multiple bus masters.
* \param IsCacheable Region is cacheable, i.e. its value may be kept in cache.
* \param IsBufferable Region is bufferable, i.e. using write-back caching. Cacheable but non-bufferable regions use write-through policy.
* \param SubRegionDisable Sub-region disable field.
* \param Size Region size of the region to be configured, for example 4K, 8K.
*/
#define ARM_MPU_RASR(DisableExec, AccessPermission, TypeExtField, IsShareable, IsCacheable, IsBufferable, SubRegionDisable, Size) \
ARM_MPU_RASR_EX(DisableExec, AccessPermission, ARM_MPU_ACCESS_(TypeExtField, IsShareable, IsCacheable, IsBufferable), SubRegionDisable, Size)
/**
* MPU Memory Access Attribute for strongly ordered memory.
* - TEX: 000b
* - Shareable
* - Non-cacheable
* - Non-bufferable
*/
#define ARM_MPU_ACCESS_ORDERED ARM_MPU_ACCESS_(0U, 1U, 0U, 0U)
/**
* MPU Memory Access Attribute for device memory.
* - TEX: 000b (if non-shareable) or 010b (if shareable)
* - Shareable or non-shareable
* - Non-cacheable
* - Bufferable (if shareable) or non-bufferable (if non-shareable)
*
* \param IsShareable Configures the device memory as shareable or non-shareable.
*/
#define ARM_MPU_ACCESS_DEVICE(IsShareable) ((IsShareable) ? ARM_MPU_ACCESS_(0U, 1U, 0U, 1U) : ARM_MPU_ACCESS_(2U, 0U, 0U, 0U))
/**
* MPU Memory Access Attribute for normal memory.
* - TEX: 1BBb (reflecting outer cacheability rules)
* - Shareable or non-shareable
* - Cacheable or non-cacheable (reflecting inner cacheability rules)
* - Bufferable or non-bufferable (reflecting inner cacheability rules)
*
* \param OuterCp Configures the outer cache policy.
* \param InnerCp Configures the inner cache policy.
* \param IsShareable Configures the memory as shareable or non-shareable.
*/
#define ARM_MPU_ACCESS_NORMAL(OuterCp, InnerCp, IsShareable) ARM_MPU_ACCESS_((4U | (OuterCp)), IsShareable, ((InnerCp) & 2U), ((InnerCp) & 1U))
/**
* MPU Memory Access Attribute non-cacheable policy.
*/
#define ARM_MPU_CACHEP_NOCACHE 0U
/**
* MPU Memory Access Attribute write-back, write and read allocate policy.
*/
#define ARM_MPU_CACHEP_WB_WRA 1U
/**
* MPU Memory Access Attribute write-through, no write allocate policy.
*/
#define ARM_MPU_CACHEP_WT_NWA 2U
/**
* MPU Memory Access Attribute write-back, no write allocate policy.
*/
#define ARM_MPU_CACHEP_WB_NWA 3U
/**
* Struct for a single MPU Region
*/
typedef struct {
uint32_t RBAR; //!< The region base address register value (RBAR)
uint32_t RASR; //!< The region attribute and size register value (RASR) \ref MPU_RASR
} ARM_MPU_Region_t;
/** Enable the MPU.
* \param MPU_Control Default access permissions for unconfigured regions.
*/
__STATIC_INLINE void ARM_MPU_Enable(uint32_t MPU_Control)
{
__DSB();
__ISB();
MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
#endif
}
/** Disable the MPU.
*/
__STATIC_INLINE void ARM_MPU_Disable(void)
{
__DSB();
__ISB();
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
#endif
MPU->CTRL &= ~MPU_CTRL_ENABLE_Msk;
}
/** Clear and disable the given MPU region.
* \param rnr Region number to be cleared.
*/
__STATIC_INLINE void ARM_MPU_ClrRegion(uint32_t rnr)
{
MPU->RNR = rnr;
MPU->RASR = 0U;
}
/** Configure an MPU region.
* \param rbar Value for RBAR register.
* \param rsar Value for RSAR register.
*/
__STATIC_INLINE void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr)
{
MPU->RBAR = rbar;
MPU->RASR = rasr;
}
/** Configure the given MPU region.
* \param rnr Region number to be configured.
* \param rbar Value for RBAR register.
* \param rsar Value for RSAR register.
*/
__STATIC_INLINE void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr)
{
MPU->RNR = rnr;
MPU->RBAR = rbar;
MPU->RASR = rasr;
}
/** Memcopy with strictly ordered memory access, e.g. for register targets.
* \param dst Destination data is copied to.
* \param src Source data is copied from.
* \param len Amount of data words to be copied.
*/
__STATIC_INLINE void orderedCpy(volatile uint32_t* dst, const uint32_t* __RESTRICT src, uint32_t len)
{
uint32_t i;
for (i = 0U; i < len; ++i)
{
dst[i] = src[i];
}
}
/** Load the given number of MPU regions from a table.
* \param table Pointer to the MPU configuration table.
* \param cnt Amount of regions to be configured.
*/
__STATIC_INLINE void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt)
{
const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U;
while (cnt > MPU_TYPE_RALIASES) {
orderedCpy(&(MPU->RBAR), &(table->RBAR), MPU_TYPE_RALIASES*rowWordSize);
table += MPU_TYPE_RALIASES;
cnt -= MPU_TYPE_RALIASES;
}
orderedCpy(&(MPU->RBAR), &(table->RBAR), cnt*rowWordSize);
}
#endif

@ -0,0 +1,333 @@
/******************************************************************************
* @file mpu_armv8.h
* @brief CMSIS MPU API for Armv8-M MPU
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined (__clang__)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef ARM_MPU_ARMV8_H
#define ARM_MPU_ARMV8_H
/** \brief Attribute for device memory (outer only) */
#define ARM_MPU_ATTR_DEVICE ( 0U )
/** \brief Attribute for non-cacheable, normal memory */
#define ARM_MPU_ATTR_NON_CACHEABLE ( 4U )
/** \brief Attribute for normal memory (outer and inner)
* \param NT Non-Transient: Set to 1 for non-transient data.
* \param WB Write-Back: Set to 1 to use write-back update policy.
* \param RA Read Allocation: Set to 1 to use cache allocation on read miss.
* \param WA Write Allocation: Set to 1 to use cache allocation on write miss.
*/
#define ARM_MPU_ATTR_MEMORY_(NT, WB, RA, WA) \
(((NT & 1U) << 3U) | ((WB & 1U) << 2U) | ((RA & 1U) << 1U) | (WA & 1U))
/** \brief Device memory type non Gathering, non Re-ordering, non Early Write Acknowledgement */
#define ARM_MPU_ATTR_DEVICE_nGnRnE (0U)
/** \brief Device memory type non Gathering, non Re-ordering, Early Write Acknowledgement */
#define ARM_MPU_ATTR_DEVICE_nGnRE (1U)
/** \brief Device memory type non Gathering, Re-ordering, Early Write Acknowledgement */
#define ARM_MPU_ATTR_DEVICE_nGRE (2U)
/** \brief Device memory type Gathering, Re-ordering, Early Write Acknowledgement */
#define ARM_MPU_ATTR_DEVICE_GRE (3U)
/** \brief Memory Attribute
* \param O Outer memory attributes
* \param I O == ARM_MPU_ATTR_DEVICE: Device memory attributes, else: Inner memory attributes
*/
#define ARM_MPU_ATTR(O, I) (((O & 0xFU) << 4U) | (((O & 0xFU) != 0U) ? (I & 0xFU) : ((I & 0x3U) << 2U)))
/** \brief Normal memory non-shareable */
#define ARM_MPU_SH_NON (0U)
/** \brief Normal memory outer shareable */
#define ARM_MPU_SH_OUTER (2U)
/** \brief Normal memory inner shareable */
#define ARM_MPU_SH_INNER (3U)
/** \brief Memory access permissions
* \param RO Read-Only: Set to 1 for read-only memory.
* \param NP Non-Privileged: Set to 1 for non-privileged memory.
*/
#define ARM_MPU_AP_(RO, NP) (((RO & 1U) << 1U) | (NP & 1U))
/** \brief Region Base Address Register value
* \param BASE The base address bits [31:5] of a memory region. The value is zero extended. Effective address gets 32 byte aligned.
* \param SH Defines the Shareability domain for this memory region.
* \param RO Read-Only: Set to 1 for a read-only memory region.
* \param NP Non-Privileged: Set to 1 for a non-privileged memory region.
* \oaram XN eXecute Never: Set to 1 for a non-executable memory region.
*/
#define ARM_MPU_RBAR(BASE, SH, RO, NP, XN) \
((BASE & MPU_RBAR_BASE_Msk) | \
((SH << MPU_RBAR_SH_Pos) & MPU_RBAR_SH_Msk) | \
((ARM_MPU_AP_(RO, NP) << MPU_RBAR_AP_Pos) & MPU_RBAR_AP_Msk) | \
((XN << MPU_RBAR_XN_Pos) & MPU_RBAR_XN_Msk))
/** \brief Region Limit Address Register value
* \param LIMIT The limit address bits [31:5] for this memory region. The value is one extended.
* \param IDX The attribute index to be associated with this memory region.
*/
#define ARM_MPU_RLAR(LIMIT, IDX) \
((LIMIT & MPU_RLAR_LIMIT_Msk) | \
((IDX << MPU_RLAR_AttrIndx_Pos) & MPU_RLAR_AttrIndx_Msk) | \
(MPU_RLAR_EN_Msk))
/**
* Struct for a single MPU Region
*/
typedef struct {
uint32_t RBAR; /*!< Region Base Address Register value */
uint32_t RLAR; /*!< Region Limit Address Register value */
} ARM_MPU_Region_t;
/** Enable the MPU.
* \param MPU_Control Default access permissions for unconfigured regions.
*/
__STATIC_INLINE void ARM_MPU_Enable(uint32_t MPU_Control)
{
__DSB();
__ISB();
MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
#endif
}
/** Disable the MPU.
*/
__STATIC_INLINE void ARM_MPU_Disable(void)
{
__DSB();
__ISB();
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
#endif
MPU->CTRL &= ~MPU_CTRL_ENABLE_Msk;
}
#ifdef MPU_NS
/** Enable the Non-secure MPU.
* \param MPU_Control Default access permissions for unconfigured regions.
*/
__STATIC_INLINE void ARM_MPU_Enable_NS(uint32_t MPU_Control)
{
__DSB();
__ISB();
MPU_NS->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
SCB_NS->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
#endif
}
/** Disable the Non-secure MPU.
*/
__STATIC_INLINE void ARM_MPU_Disable_NS(void)
{
__DSB();
__ISB();
#ifdef SCB_SHCSR_MEMFAULTENA_Msk
SCB_NS->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
#endif
MPU_NS->CTRL &= ~MPU_CTRL_ENABLE_Msk;
}
#endif
/** Set the memory attribute encoding to the given MPU.
* \param mpu Pointer to the MPU to be configured.
* \param idx The attribute index to be set [0-7]
* \param attr The attribute value to be set.
*/
__STATIC_INLINE void ARM_MPU_SetMemAttrEx(MPU_Type* mpu, uint8_t idx, uint8_t attr)
{
const uint8_t reg = idx / 4U;
const uint32_t pos = ((idx % 4U) * 8U);
const uint32_t mask = 0xFFU << pos;
if (reg >= (sizeof(mpu->MAIR) / sizeof(mpu->MAIR[0]))) {
return; // invalid index
}
mpu->MAIR[reg] = ((mpu->MAIR[reg] & ~mask) | ((attr << pos) & mask));
}
/** Set the memory attribute encoding.
* \param idx The attribute index to be set [0-7]
* \param attr The attribute value to be set.
*/
__STATIC_INLINE void ARM_MPU_SetMemAttr(uint8_t idx, uint8_t attr)
{
ARM_MPU_SetMemAttrEx(MPU, idx, attr);
}
#ifdef MPU_NS
/** Set the memory attribute encoding to the Non-secure MPU.
* \param idx The attribute index to be set [0-7]
* \param attr The attribute value to be set.
*/
__STATIC_INLINE void ARM_MPU_SetMemAttr_NS(uint8_t idx, uint8_t attr)
{
ARM_MPU_SetMemAttrEx(MPU_NS, idx, attr);
}
#endif
/** Clear and disable the given MPU region of the given MPU.
* \param mpu Pointer to MPU to be used.
* \param rnr Region number to be cleared.
*/
__STATIC_INLINE void ARM_MPU_ClrRegionEx(MPU_Type* mpu, uint32_t rnr)
{
mpu->RNR = rnr;
mpu->RLAR = 0U;
}
/** Clear and disable the given MPU region.
* \param rnr Region number to be cleared.
*/
__STATIC_INLINE void ARM_MPU_ClrRegion(uint32_t rnr)
{
ARM_MPU_ClrRegionEx(MPU, rnr);
}
#ifdef MPU_NS
/** Clear and disable the given Non-secure MPU region.
* \param rnr Region number to be cleared.
*/
__STATIC_INLINE void ARM_MPU_ClrRegion_NS(uint32_t rnr)
{
ARM_MPU_ClrRegionEx(MPU_NS, rnr);
}
#endif
/** Configure the given MPU region of the given MPU.
* \param mpu Pointer to MPU to be used.
* \param rnr Region number to be configured.
* \param rbar Value for RBAR register.
* \param rlar Value for RLAR register.
*/
__STATIC_INLINE void ARM_MPU_SetRegionEx(MPU_Type* mpu, uint32_t rnr, uint32_t rbar, uint32_t rlar)
{
mpu->RNR = rnr;
mpu->RBAR = rbar;
mpu->RLAR = rlar;
}
/** Configure the given MPU region.
* \param rnr Region number to be configured.
* \param rbar Value for RBAR register.
* \param rlar Value for RLAR register.
*/
__STATIC_INLINE void ARM_MPU_SetRegion(uint32_t rnr, uint32_t rbar, uint32_t rlar)
{
ARM_MPU_SetRegionEx(MPU, rnr, rbar, rlar);
}
#ifdef MPU_NS
/** Configure the given Non-secure MPU region.
* \param rnr Region number to be configured.
* \param rbar Value for RBAR register.
* \param rlar Value for RLAR register.
*/
__STATIC_INLINE void ARM_MPU_SetRegion_NS(uint32_t rnr, uint32_t rbar, uint32_t rlar)
{
ARM_MPU_SetRegionEx(MPU_NS, rnr, rbar, rlar);
}
#endif
/** Memcopy with strictly ordered memory access, e.g. for register targets.
* \param dst Destination data is copied to.
* \param src Source data is copied from.
* \param len Amount of data words to be copied.
*/
__STATIC_INLINE void orderedCpy(volatile uint32_t* dst, const uint32_t* __RESTRICT src, uint32_t len)
{
uint32_t i;
for (i = 0U; i < len; ++i)
{
dst[i] = src[i];
}
}
/** Load the given number of MPU regions from a table to the given MPU.
* \param mpu Pointer to the MPU registers to be used.
* \param rnr First region number to be configured.
* \param table Pointer to the MPU configuration table.
* \param cnt Amount of regions to be configured.
*/
__STATIC_INLINE void ARM_MPU_LoadEx(MPU_Type* mpu, uint32_t rnr, ARM_MPU_Region_t const* table, uint32_t cnt)
{
const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U;
if (cnt == 1U) {
mpu->RNR = rnr;
orderedCpy(&(mpu->RBAR), &(table->RBAR), rowWordSize);
} else {
uint32_t rnrBase = rnr & ~(MPU_TYPE_RALIASES-1U);
uint32_t rnrOffset = rnr % MPU_TYPE_RALIASES;
mpu->RNR = rnrBase;
while ((rnrOffset + cnt) > MPU_TYPE_RALIASES) {
uint32_t c = MPU_TYPE_RALIASES - rnrOffset;
orderedCpy(&(mpu->RBAR)+(rnrOffset*2U), &(table->RBAR), c*rowWordSize);
table += c;
cnt -= c;
rnrOffset = 0U;
rnrBase += MPU_TYPE_RALIASES;
mpu->RNR = rnrBase;
}
orderedCpy(&(mpu->RBAR)+(rnrOffset*2U), &(table->RBAR), cnt*rowWordSize);
}
}
/** Load the given number of MPU regions from a table.
* \param rnr First region number to be configured.
* \param table Pointer to the MPU configuration table.
* \param cnt Amount of regions to be configured.
*/
__STATIC_INLINE void ARM_MPU_Load(uint32_t rnr, ARM_MPU_Region_t const* table, uint32_t cnt)
{
ARM_MPU_LoadEx(MPU, rnr, table, cnt);
}
#ifdef MPU_NS
/** Load the given number of MPU regions from a table to the Non-secure MPU.
* \param rnr First region number to be configured.
* \param table Pointer to the MPU configuration table.
* \param cnt Amount of regions to be configured.
*/
__STATIC_INLINE void ARM_MPU_Load_NS(uint32_t rnr, ARM_MPU_Region_t const* table, uint32_t cnt)
{
ARM_MPU_LoadEx(MPU_NS, rnr, table, cnt);
}
#endif
#endif

@ -0,0 +1,70 @@
/******************************************************************************
* @file tz_context.h
* @brief Context Management for Armv8-M TrustZone
* @version V1.0.1
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined (__clang__)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef TZ_CONTEXT_H
#define TZ_CONTEXT_H
#include <stdint.h>
#ifndef TZ_MODULEID_T
#define TZ_MODULEID_T
/// \details Data type that identifies secure software modules called by a process.
typedef uint32_t TZ_ModuleId_t;
#endif
/// \details TZ Memory ID identifies an allocated memory slot.
typedef uint32_t TZ_MemoryId_t;
/// Initialize secure context memory system
/// \return execution status (1: success, 0: error)
uint32_t TZ_InitContextSystem_S (void);
/// Allocate context memory for calling secure software modules in TrustZone
/// \param[in] module identifies software modules called from non-secure mode
/// \return value != 0 id TrustZone memory slot identifier
/// \return value 0 no memory available or internal error
TZ_MemoryId_t TZ_AllocModuleContext_S (TZ_ModuleId_t module);
/// Free context memory that was previously allocated with \ref TZ_AllocModuleContext_S
/// \param[in] id TrustZone memory slot identifier
/// \return execution status (1: success, 0: error)
uint32_t TZ_FreeModuleContext_S (TZ_MemoryId_t id);
/// Load secure context (called on RTOS thread context switch)
/// \param[in] id TrustZone memory slot identifier
/// \return execution status (1: success, 0: error)
uint32_t TZ_LoadContext_S (TZ_MemoryId_t id);
/// Store secure context (called on RTOS thread context switch)
/// \param[in] id TrustZone memory slot identifier
/// \return execution status (1: success, 0: error)
uint32_t TZ_StoreContext_S (TZ_MemoryId_t id);
#endif // TZ_CONTEXT_H

@ -0,0 +1,196 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Overview</title>
<title>CMSIS-Core (Cortex-M): Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="printComponentTabs.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 46px;">
<td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">CMSIS-Core (Cortex-M)
&#160;<span id="projectnumber">Version 5.1.2</span>
</div>
<div id="projectbrief">CMSIS-Core support for Cortex-M processor-based devices</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<div id="CMSISnav" class="tabs1">
<ul class="tablist">
<script type="text/javascript">
<!--
writeComponentTabs.call(this);
//-->
</script>
</ul>
</div>
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
<li><a href="modules.html"><span>Reference</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('index.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">Overview </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>CMSIS-Core (Cortex-M) implements the basic run-time system for a Cortex-M device and gives the user access to the processor core and the device peripherals. In detail it defines:</p>
<ul>
<li><b>Hardware Abstraction Layer (HAL)</b> for Cortex-M processor registers with standardized definitions for the SysTick, NVIC, System Control Block registers, MPU registers, FPU registers, and core access functions.</li>
<li><b>System exception names</b> to interface to system exceptions without having compatibility issues.</li>
<li><b>Methods to organize header files</b> that makes it easy to learn new Cortex-M microcontroller products and improve software portability. This includes naming conventions for device-specific interrupts.</li>
<li><b>Methods for system initialization</b> to be used by each MCU vendor. For example, the standardized <a class="el" href="group__system__init__gr.html#ga93f514700ccf00d08dbdcff7f1224eb2" title="Function to Initialize the system. ">SystemInit()</a> function is essential for configuring the clock system of the device.</li>
<li><b>Intrinsic functions</b> used to generate CPU instructions that are not supported by standard C functions.</li>
<li>A variable to determine the <b>system clock frequency</b> which simplifies the setup the SysTick timer.</li>
</ul>
<p>The following sections provide details about the CMSIS-Core (Cortex-M):</p>
<ul>
<li><a class="el" href="using_pg.html">Using CMSIS in Embedded Applications</a> describes the project setup and shows a simple program example.</li>
<li><a class="el" href="using_TrustZone_pg.html">Using TrustZone&reg; for Armv8-M</a> describes how to use the security extensions available in the Armv8-M architecture.</li>
<li><a class="el" href="templates_pg.html">CMSIS-Core Device Templates</a> describes the files of the CMSIS-Core (Cortex-M) in detail and explains how to adapt template files provided by Arm to silicon vendor devices.</li>
<li><a class="el" href="coreMISRA_Exceptions_pg.html">MISRA-C Deviations</a> describes the violations to the MISRA standard.</li>
<li><a href="Modules.html"><b>Reference</b> </a> describe the features and functions of the <a class="el" href="device_h_pg.html">Device Header File &lt;device.h&gt;</a> in detail.</li>
<li><a href="Annotated.html"><b>Data</b> <b>Structures</b> </a> describe the data structures of the <a class="el" href="device_h_pg.html">Device Header File &lt;device.h&gt;</a> in detail.</li>
</ul>
<hr/>
<h2>CMSIS-Core (Cortex-M) in ARM::CMSIS Pack </h2>
<p>Files relevant to CMSIS-Core (Cortex-M) are present in the following <b>ARM::CMSIS</b> directories: </p>
<table class="doxtable">
<tr>
<th>File/Folder </th><th>Content </th></tr>
<tr>
<td><b>CMSIS\Documentation\Core</b> </td><td>This documentation </td></tr>
<tr>
<td><b>CMSIS\Core\Include</b> </td><td>CMSIS-Core (Cortex-M) header files (for example core_cm3.h, core_cmInstr.h, etc.) </td></tr>
<tr>
<td><b>Device</b> </td><td><a class="el" href="using_ARM_pg.html">Arm reference implementations</a> of Cortex-M devices </td></tr>
<tr>
<td><b>Device\_Template_Vendor</b> </td><td><a class="el" href="templates_pg.html">CMSIS-Core Device Templates</a> for extension by silicon vendors </td></tr>
</table>
<hr/>
<h1><a class="anchor" id="ref_v6-v8M"></a>
Processor Support</h1>
<p>CMSIS supports the complete range of <a href="http://www.arm.com/products/processors/cortex-m/index.php" target="_blank"><b>Cortex-M processors</b></a> (with exception of Cortex-M1) and the <a href="http://www.arm.com/products/processors/instruction-set-architectures/armv8-m-architecture.php" target="_blank"><b>Armv8-M architecture</b></a> including security extensions.</p>
<h2><a class="anchor" id="ref_man_sec"></a>
Cortex-M Reference Manuals</h2>
<p>The Cortex-M Device Generic User Guides contain the programmers model and detailed information about the core peripherals and are available for:</p>
<ul>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0497a/DUI0497A_cortex_m0_r0p0_generic_ug.pdf" target="_blank"><b>Cortex-M0 Devices Generic User Guide</b></a> (Armv6-M architecture)</li>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0662b/DUI0662B_cortex_m0p_r0p1_dgug.pdf" target="_blank"><b>Cortex-M0+ Devices Generic User Guide</b></a> (Armv6-M architecture)</li>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/DUI0552A_cortex_m3_dgug.pdf" target="_blank"><b>Cortex-M3 Devices Generic User Guide</b></a> (Armv7-M architecture)</li>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf" target="_blank"><b>Cortex-M4 Devices Generic User Guide</b></a> (ARMv7-M architecture)</li>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0646a/DUI0646A_cortex_m7_dgug.pdf" target="_blank"><b>Cortex-M7 Devices Generic User Guide</b></a> (Armv7-M architecture)</li>
</ul>
<p>The <b>Cortex-M23</b> and <b>Cortex-M33</b> are described with Technical Reference Manuals that are available here:</p>
<ul>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.ddi0550c/cortex_m23_r1p0_technical_reference_manual_DDI0550C_en.pdf" target="_blank"><b>Cortex-M23 Technical Reference Manual</b></a> (Armv8-M baseline architecture)</li>
<li><a href="http://infocenter.arm.com/help/topic/com.arm.doc.100230_0002_00_en/cortex_m33_trm_100230_0002_00_en.pdf" target="_blank"><b>Cortex-M33 Technical Reference Manual</b></a> (Armv8-M mainline architecture)</li>
</ul>
<h2><a class="anchor" id="ARMv8M"></a>
Armv8-M Architecture</h2>
<p>Armv8-M introduces two profiles <b>baseline</b> (for power and area constrained applications) and <b>mainline</b> (full-featured with optional SIMD, floating-point, and co-processor extensions). Both Armv8-M profiles are supported by CMSIS.</p>
<p>The Armv8-M Architecture is described in the <a href="http://developer.arm.com/products/architecture/m-profile/docs/ddi0553/latest/armv8-m-architecture-reference-manual" target="_blank"><b>Armv8-M Architecture Reference Manual</b></a>.</p>
<hr/>
<h1><a class="anchor" id="tested_tools_sec"></a>
Tested and Verified Toolchains</h1>
<p>The <a class="el" href="templates_pg.html">CMSIS-Core Device Templates</a> supplied by Arm have been tested and verified with the following toolchains:</p>
<ul>
<li>Arm: Arm Compiler 5.06 update 6 (not for Cortex-M23, Cortex-M33, Armv8-M)</li>
<li>Arm: Arm Compiler 6.9</li>
<li>Arm: Arm Compiler 6.6.2 (not for Cortex-M0, Cortex-M23, Cortex-M33, Armv8-M)</li>
<li>GNU: GNU Tools for Arm Embedded 6.3.1 20170620</li>
<li>IAR: IAR ANSI C/C++ Compiler for Arm 8.20.1.14183</li>
</ul>
<hr/>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Wed Aug 1 2018 17:12:09 for CMSIS-Core (Cortex-M) by Arm Ltd. All rights reserved.
<!--
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6
-->
</li>
</ul>
</div>
</body>
</html>

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,218 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
ifdef SystemRoot
SHELL = cmd.exe
MK_DIR = mkdir
else
ifeq ($(shell uname), Linux)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), CYGWIN)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW32)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW64)
MK_DIR = mkdir -p
endif
endif
# List the subdirectories for creating object files
SUB_DIRS += \
\
hpl/usb \
usb/class/cdc/device \
hpl/systick \
hpl/dmac \
hal/src \
samd21a/armcc/Device/SAMD21A/Source \
hpl/pm \
hpl/sysctrl \
hal/utils/src \
hpl/sercom \
examples \
hpl/gclk \
usb \
samd21a/armcc/Device/SAMD21A/Source/ARM \
hpl/core \
usb/device
# List the object files
OBJS += \
hal/src/hal_io.o \
hpl/systick/hpl_systick.o \
usb/class/cdc/device/cdcdf_acm.o \
hpl/usb/hpl_usb.o \
hal/src/hal_delay.o \
samd21a/armcc/Device/SAMD21A/Source/system_samd21.o \
hpl/pm/hpl_pm.o \
hpl/core/hpl_init.o \
hal/utils/src/utils_list.o \
hpl/core/hpl_core_m0plus_base.o \
hal/utils/src/utils_assert.o \
usb_start.o \
hpl/sysctrl/hpl_sysctrl.o \
hal/src/hal_usart_sync.o \
hpl/gclk/hpl_gclk.o \
usb/usb_protocol.o \
hal/src/hal_init.o \
hal/src/hal_usb_device.o \
main.o \
examples/driver_examples.o \
driver_init.o \
samd21a/armcc/Device/SAMD21A/Source/ARM/startup_SAMD21.o \
hpl/sercom/hpl_sercom.o \
hal/src/hal_gpio.o \
hal/utils/src/utils_event.o \
hal/src/hal_sleep.o \
hpl/dmac/hpl_dmac.o \
atmel_start.o \
usb/device/usbdc.o \
hal/src/hal_atomic.o
OBJS_AS_ARGS += \
"hal/src/hal_io.o" \
"hpl/systick/hpl_systick.o" \
"usb/class/cdc/device/cdcdf_acm.o" \
"hpl/usb/hpl_usb.o" \
"hal/src/hal_delay.o" \
"samd21a/armcc/Device/SAMD21A/Source/system_samd21.o" \
"hpl/pm/hpl_pm.o" \
"hpl/core/hpl_init.o" \
"hal/utils/src/utils_list.o" \
"hpl/core/hpl_core_m0plus_base.o" \
"hal/utils/src/utils_assert.o" \
"usb_start.o" \
"hpl/sysctrl/hpl_sysctrl.o" \
"hal/src/hal_usart_sync.o" \
"hpl/gclk/hpl_gclk.o" \
"usb/usb_protocol.o" \
"hal/src/hal_init.o" \
"hal/src/hal_usb_device.o" \
"main.o" \
"examples/driver_examples.o" \
"driver_init.o" \
"samd21a/armcc/Device/SAMD21A/Source/ARM/startup_SAMD21.o" \
"hpl/sercom/hpl_sercom.o" \
"hal/src/hal_gpio.o" \
"hal/utils/src/utils_event.o" \
"hal/src/hal_sleep.o" \
"hpl/dmac/hpl_dmac.o" \
"atmel_start.o" \
"usb/device/usbdc.o" \
"hal/src/hal_atomic.o"
# List the dependency files
DEPS := $(OBJS:%.o=%.d)
DEPS_AS_ARGS += \
"hal/utils/src/utils_event.d" \
"hal/src/hal_io.d" \
"hpl/systick/hpl_systick.d" \
"usb/class/cdc/device/cdcdf_acm.d" \
"hpl/usb/hpl_usb.d" \
"hpl/core/hpl_core_m0plus_base.d" \
"hal/utils/src/utils_list.d" \
"usb_start.d" \
"hal/utils/src/utils_assert.d" \
"samd21a/armcc/Device/SAMD21A/Source/system_samd21.d" \
"hal/src/hal_delay.d" \
"hpl/core/hpl_init.d" \
"hpl/sysctrl/hpl_sysctrl.d" \
"usb/usb_protocol.d" \
"hpl/gclk/hpl_gclk.d" \
"hal/src/hal_usb_device.d" \
"hpl/dmac/hpl_dmac.d" \
"hal/src/hal_init.d" \
"hal/src/hal_usart_sync.d" \
"driver_init.d" \
"main.d" \
"examples/driver_examples.d" \
"hal/src/hal_sleep.d" \
"hpl/sercom/hpl_sercom.d" \
"samd21a/armcc/Device/SAMD21A/Source/ARM/startup_SAMD21.d" \
"hal/src/hal_gpio.d" \
"hal/src/hal_atomic.d" \
"usb/device/usbdc.d" \
"hpl/pm/hpl_pm.d" \
"atmel_start.d"
OUTPUT_FILE_NAME :=AtmelStart
QUOTE := "
OUTPUT_FILE_PATH +=$(OUTPUT_FILE_NAME).elf
OUTPUT_FILE_PATH_AS_ARGS +=$(OUTPUT_FILE_NAME).elf
vpath %.c ../
vpath %.s ../
vpath %.S ../
# All Target
all: $(SUB_DIRS) $(OUTPUT_FILE_PATH)
# Linker target
$(OUTPUT_FILE_PATH): $(OBJS)
@echo Building target: $@
@echo Invoking: ARMCC Linker
$(QUOTE)armlink$(QUOTE) --ro-base 0x00000000 --entry 0x00000000 --rw-base 0x20000000 --entry Reset_Handler --first __Vectors \
--strict --summary_stderr --info summarysizes --map --xref --callgraph --symbols \
--info sizes --info totals --info unused --info veneers --list $(OUTPUT_FILE_NAME).map \
-o $(OUTPUT_FILE_NAME).elf --cpu Cortex-M0+ \
$(OBJS_AS_ARGS)
@echo Finished building target: $@
# Compiler target(s)
%.o: %.c
@echo Building file: $<
@echo ARMCC Compiler
$(QUOTE)armcc$(QUOTE) --c99 -c -DDEBUG -O1 -g --apcs=interwork --split_sections --cpu Cortex-M0+ -D__SAMD21E18A__ \
-I"../" -I"../config" -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/sercom" -I"../hpl/sysctrl" -I"../hpl/systick" -I"../hpl/usb" -I"../hri" -I"../" -I"../config" -I"../usb" -I"../usb/class/cdc" -I"../usb/class/cdc/device" -I"../usb/device" -I"../" -I"../CMSIS/Core/Include" -I"../samd21a/include" \
--depend "$@" -o "$@" "$<"
@echo Finished building: $<
%.o: %.s
@echo Building file: $<
@echo ARMCC Assembler
$(QUOTE)armasm$(QUOTE) -g --apcs=interwork --cpu Cortex-M0+ --pd "D__SAMD21E18A__ SETA 1" \
-I"../" -I"../config" -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/sercom" -I"../hpl/sysctrl" -I"../hpl/systick" -I"../hpl/usb" -I"../hri" -I"../" -I"../config" -I"../usb" -I"../usb/class/cdc" -I"../usb/class/cdc/device" -I"../usb/device" -I"../" -I"../CMSIS/Core/Include" -I"../samd21a/include" \
--depend "$(@:%.o=%.d)" -o "$@" "$<"
@echo Finished building: $<
%.o: %.S
@echo Building file: $<
@echo ARMCC Preprocessing Assembler
$(QUOTE)armcc$(QUOTE) --c99 -c -DDEBUG -O1 -g --apcs=interwork --split_sections --cpu Cortex-M0+ -D__SAMD21E18A__ \
-I"../" -I"../config" -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/sercom" -I"../hpl/sysctrl" -I"../hpl/systick" -I"../hpl/usb" -I"../hri" -I"../" -I"../config" -I"../usb" -I"../usb/class/cdc" -I"../usb/class/cdc/device" -I"../usb/device" -I"../" -I"../CMSIS/Core/Include" -I"../samd21a/include" \
--depend "$@" -o "$@" "$<"
@echo Finished building: $<
# Detect changes in the dependent files and recompile the respective object files.
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(DEPS)),)
-include $(DEPS)
endif
endif
$(SUB_DIRS):
$(MK_DIR) "$@"
clean:
rm -f $(OBJS_AS_ARGS)
rm -f $(OUTPUT_FILE_PATH)
rm -f $(DEPS_AS_ARGS)
rm -f $(OUTPUT_FILE_NAME).map $(OUTPUT_FILE_NAME).elf

@ -7,7 +7,7 @@ versions:
content: unknown content: unknown
content_pack_name: unknown content_pack_name: unknown
format: '2' format: '2'
frontend: 1.8.449 frontend: 1.8.457
packs_version_avr8: 1.0.1441 packs_version_avr8: 1.0.1441
packs_version_qtouch: unknown packs_version_qtouch: unknown
packs_version_sam: 1.0.1726 packs_version_sam: 1.0.1726
@ -74,9 +74,9 @@ middlewares:
usb_cdcd_acm_idproduct: 9220 usb_cdcd_acm_idproduct: 9220
usb_cdcd_acm_idvender: 1003 usb_cdcd_acm_idvender: 1003
usb_cdcd_acm_imanufact_en: false usb_cdcd_acm_imanufact_en: false
usb_cdcd_acm_imanufact_str: Atmel usb_cdcd_acm_imanufact_str: ePenguin
usb_cdcd_acm_iproduct_en: false usb_cdcd_acm_iproduct_en: false
usb_cdcd_acm_iproduct_str: CDC ACM Serial Bridge Demo usb_cdcd_acm_iproduct_str: ePenguin ARC-Boat
usb_cdcd_acm_iserialnum_en: false usb_cdcd_acm_iserialnum_en: false
usb_cdcd_acm_iserialnum_str: 123456789ABCDEF usb_cdcd_acm_iserialnum_str: 123456789ABCDEF
usb_cdcd_acm_langid: '0x0409' usb_cdcd_acm_langid: '0x0409'
@ -94,25 +94,25 @@ drivers:
functionality: System functionality: System
api: HAL:HPL:GCLK api: HAL:HPL:GCLK
configuration: configuration:
$input: 32768 $input: 48000000
$input_id: 32kHz External Crystal Oscillator (XOSC32K) $input_id: Digital Frequency Locked Loop (DFLL48M)
RESERVED_InputFreq: 32768 RESERVED_InputFreq: 48000000
RESERVED_InputFreq_id: 32kHz External Crystal Oscillator (XOSC32K) RESERVED_InputFreq_id: Digital Frequency Locked Loop (DFLL48M)
_$freq_output_Generic clock generator 0: 48005120 _$freq_output_Generic clock generator 0: 8000000
_$freq_output_Generic clock generator 1: 32768 _$freq_output_Generic clock generator 1: 32768
_$freq_output_Generic clock generator 2: 400000 _$freq_output_Generic clock generator 2: 400000
_$freq_output_Generic clock generator 3: 400000 _$freq_output_Generic clock generator 3: 32768
_$freq_output_Generic clock generator 4: 400000 _$freq_output_Generic clock generator 4: 400000
_$freq_output_Generic clock generator 5: 400000 _$freq_output_Generic clock generator 5: 400000
_$freq_output_Generic clock generator 6: 400000 _$freq_output_Generic clock generator 6: 400000
_$freq_output_Generic clock generator 7: 400000 _$freq_output_Generic clock generator 7: 48000000
enable_gclk_gen_0: true enable_gclk_gen_0: true
enable_gclk_gen_0__externalclock: 1000000 enable_gclk_gen_0__externalclock: 1000000
enable_gclk_gen_1: true enable_gclk_gen_1: false
enable_gclk_gen_1__externalclock: 1000000 enable_gclk_gen_1__externalclock: 1000000
enable_gclk_gen_2: false enable_gclk_gen_2: false
enable_gclk_gen_2__externalclock: 1000000 enable_gclk_gen_2__externalclock: 1000000
enable_gclk_gen_3: false enable_gclk_gen_3: true
enable_gclk_gen_3__externalclock: 1000000 enable_gclk_gen_3__externalclock: 1000000
enable_gclk_gen_4: false enable_gclk_gen_4: false
enable_gclk_gen_4__externalclock: 1000000 enable_gclk_gen_4__externalclock: 1000000
@ -120,7 +120,7 @@ drivers:
enable_gclk_gen_5__externalclock: 1000000 enable_gclk_gen_5__externalclock: 1000000
enable_gclk_gen_6: false enable_gclk_gen_6: false
enable_gclk_gen_6__externalclock: 1000000 enable_gclk_gen_6__externalclock: 1000000
enable_gclk_gen_7: false enable_gclk_gen_7: true
enable_gclk_gen_7__externalclock: 1000000 enable_gclk_gen_7__externalclock: 1000000
gclk_arch_gen_0_RUNSTDBY: false gclk_arch_gen_0_RUNSTDBY: false
gclk_arch_gen_0_enable: true gclk_arch_gen_0_enable: true
@ -128,7 +128,7 @@ drivers:
gclk_arch_gen_0_oe: false gclk_arch_gen_0_oe: false
gclk_arch_gen_0_oov: false gclk_arch_gen_0_oov: false
gclk_arch_gen_1_RUNSTDBY: false gclk_arch_gen_1_RUNSTDBY: false
gclk_arch_gen_1_enable: true gclk_arch_gen_1_enable: false
gclk_arch_gen_1_idc: false gclk_arch_gen_1_idc: false
gclk_arch_gen_1_oe: false gclk_arch_gen_1_oe: false
gclk_arch_gen_1_oov: false gclk_arch_gen_1_oov: false
@ -138,7 +138,7 @@ drivers:
gclk_arch_gen_2_oe: false gclk_arch_gen_2_oe: false
gclk_arch_gen_2_oov: false gclk_arch_gen_2_oov: false
gclk_arch_gen_3_RUNSTDBY: false gclk_arch_gen_3_RUNSTDBY: false
gclk_arch_gen_3_enable: false gclk_arch_gen_3_enable: true
gclk_arch_gen_3_idc: false gclk_arch_gen_3_idc: false
gclk_arch_gen_3_oe: false gclk_arch_gen_3_oe: false
gclk_arch_gen_3_oov: false gclk_arch_gen_3_oov: false
@ -157,14 +157,14 @@ drivers:
gclk_arch_gen_6_idc: false gclk_arch_gen_6_idc: false
gclk_arch_gen_6_oe: false gclk_arch_gen_6_oe: false
gclk_arch_gen_6_oov: false gclk_arch_gen_6_oov: false
gclk_arch_gen_7_RUNSTDBY: false gclk_arch_gen_7_RUNSTDBY: true
gclk_arch_gen_7_enable: false gclk_arch_gen_7_enable: true
gclk_arch_gen_7_idc: false gclk_arch_gen_7_idc: false
gclk_arch_gen_7_oe: false gclk_arch_gen_7_oe: false
gclk_arch_gen_7_oov: false gclk_arch_gen_7_oov: false
gclk_gen_0_div: 1 gclk_gen_0_div: 1
gclk_gen_0_div_sel: false gclk_gen_0_div_sel: false
gclk_gen_0_oscillator: Digital Frequency Locked Loop (DFLL48M) gclk_gen_0_oscillator: 8MHz Internal Oscillator (OSC8M)
gclk_gen_1_div: 1 gclk_gen_1_div: 1
gclk_gen_1_div_sel: false gclk_gen_1_div_sel: false
gclk_gen_1_oscillator: 32kHz External Crystal Oscillator (XOSC32K) gclk_gen_1_oscillator: 32kHz External Crystal Oscillator (XOSC32K)
@ -173,7 +173,7 @@ drivers:
gclk_gen_2_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC) gclk_gen_2_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC)
gclk_gen_3_div: 1 gclk_gen_3_div: 1
gclk_gen_3_div_sel: false gclk_gen_3_div_sel: false
gclk_gen_3_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC) gclk_gen_3_oscillator: 32kHz Ultra Low Power Internal Oscillator (OSCULP32K)
gclk_gen_4_div: 1 gclk_gen_4_div: 1
gclk_gen_4_div_sel: false gclk_gen_4_div_sel: false
gclk_gen_4_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC) gclk_gen_4_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC)
@ -185,7 +185,7 @@ drivers:
gclk_gen_6_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC) gclk_gen_6_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC)
gclk_gen_7_div: 1 gclk_gen_7_div: 1
gclk_gen_7_div_sel: false gclk_gen_7_div_sel: false
gclk_gen_7_oscillator: External Crystal Oscillator 0.4-32MHz (XOSC) gclk_gen_7_oscillator: Digital Frequency Locked Loop (DFLL48M)
optional_signals: [] optional_signals: []
variant: null variant: null
clocks: clocks:
@ -196,18 +196,18 @@ drivers:
functionality: System functionality: System
api: HAL:HPL:PM api: HAL:HPL:PM
configuration: configuration:
$input: 48005120 $input: 8000000
$input_id: Generic clock generator 0 $input_id: Generic clock generator 0
RESERVED_InputFreq: 48005120 RESERVED_InputFreq: 8000000
RESERVED_InputFreq_id: Generic clock generator 0 RESERVED_InputFreq_id: Generic clock generator 0
_$freq_output_CPU: 48005120 _$freq_output_CPU: 8000000
apba_div: '1' apba_div: '1'
apbb_div: '1' apbb_div: '1'
apbc_div: '1' apbc_div: '1'
cpu_clock_source: Generic clock generator 0 cpu_clock_source: Generic clock generator 0
cpu_div: '1' cpu_div: '1'
enable_cpu_clock: true enable_cpu_clock: true
nvm_wait_states: '2' nvm_wait_states: '0'
optional_signals: [] optional_signals: []
variant: null variant: null
clocks: clocks:
@ -261,12 +261,23 @@ drivers:
external: false external: false
external_frequency: 0 external_frequency: 0
- name: Slow - name: Slow
input: Generic clock generator 1 input: Generic clock generator 3
external: false external: false
external_frequency: 0 external_frequency: 0
configuration: configuration:
core_gclk_selection: Generic clock generator 0 core_gclk_selection: Generic clock generator 0
slow_gclk_selection: Generic clock generator 1 slow_gclk_selection: Generic clock generator 3
DELAY_0:
user_label: DELAY_0
definition: Atmel:SAMD21_Drivers:0.0.1::SAMD21E18A-MF::SysTick::driver_config_definition::Delay::HAL:Driver:Delay
functionality: Delay
api: HAL:Driver:Delay
configuration:
systick_arch_tickint: false
optional_signals: []
variant: null
clocks:
domain_group: null
DMAC: DMAC:
user_label: DMAC user_label: DMAC
definition: Atmel:SAMD21_Drivers:0.0.1::SAMD21E18A-MF::DMAC::driver_config_definition::DMAC::HAL:HPL:DMAC definition: Atmel:SAMD21_Drivers:0.0.1::SAMD21E18A-MF::DMAC::driver_config_definition::DMAC::HAL:HPL:DMAC
@ -554,38 +565,38 @@ drivers:
api: HAL:HPL:SYSCTRL api: HAL:HPL:SYSCTRL
configuration: configuration:
$input: 32768 $input: 32768
$input_id: Generic clock generator 1 $input_id: Generic clock generator 3
RESERVED_InputFreq: 32768 RESERVED_InputFreq: 32768
RESERVED_InputFreq_id: Generic clock generator 1 RESERVED_InputFreq_id: Generic clock generator 3
_$freq_output_8MHz Internal Oscillator (OSC8M): 1000000 _$freq_output_8MHz Internal Oscillator (OSC8M): 8000000
_$freq_output_Digital Frequency Locked Loop (DFLL48M): 48005120 _$freq_output_Digital Frequency Locked Loop (DFLL48M): 48000000
_$freq_output_External Crystal Oscillator 0.4-32MHz (XOSC): '400000' _$freq_output_External Crystal Oscillator 0.4-32MHz (XOSC): 400000
_$freq_output_Fractional Digital Phase Locked Loop (FDPLL96M): 585925000 _$freq_output_Fractional Digital Phase Locked Loop (FDPLL96M): 47998976
dfll48m_arch_bplckc: false dfll48m_arch_bplckc: false
dfll48m_arch_calibration: true dfll48m_arch_calibration: true
dfll48m_arch_ccdis: false dfll48m_arch_ccdis: true
dfll48m_arch_coarse: 31 dfll48m_arch_coarse: 31
dfll48m_arch_enable: true dfll48m_arch_enable: true
dfll48m_arch_fine: 512 dfll48m_arch_fine: 512
dfll48m_arch_llaw: false dfll48m_arch_llaw: true
dfll48m_arch_ondemand: true dfll48m_arch_ondemand: true
dfll48m_arch_qldis: false dfll48m_arch_qldis: false
dfll48m_arch_runstdby: false dfll48m_arch_runstdby: false
dfll48m_arch_stable: false dfll48m_arch_stable: false
dfll48m_arch_usbcrm: false dfll48m_arch_usbcrm: true
dfll48m_arch_waitlock: true dfll48m_arch_waitlock: false
dfll48m_mode: Closed Loop Mode dfll48m_mode: Closed Loop Mode
dfll48m_mul: 1465 dfll48m_mul: 48000
dfll48m_ref_clock: Generic clock generator 1 dfll48m_ref_clock: Generic clock generator 3
dfll_arch_cstep: 1 dfll_arch_cstep: 1
dfll_arch_fstep: 1 dfll_arch_fstep: 1
enable_dfll48m: true enable_dfll48m: true
enable_fdpll96m: false enable_fdpll96m: false
enable_osc32k: false enable_osc32k: false
enable_osc8m: false enable_osc8m: true
enable_osculp32k: true enable_osculp32k: true
enable_xosc: false enable_xosc: false
enable_xosc32k: true enable_xosc32k: false
fdpll96m_arch_enable: false fdpll96m_arch_enable: false
fdpll96m_arch_lbypass: false fdpll96m_arch_lbypass: false
fdpll96m_arch_ondemand: true fdpll96m_arch_ondemand: true
@ -604,18 +615,18 @@ drivers:
osc32k_arch_startup: 3 Clock Cycles (92us) osc32k_arch_startup: 3 Clock Cycles (92us)
osc32k_arch_wrtlock: false osc32k_arch_wrtlock: false
osc8m_arch_calib: 0 osc8m_arch_calib: 0
osc8m_arch_enable: false osc8m_arch_enable: true
osc8m_arch_ondemand: true osc8m_arch_ondemand: true
osc8m_arch_overwrite_calibration: false osc8m_arch_overwrite_calibration: false
osc8m_arch_runstdby: false osc8m_arch_runstdby: false
osc8m_presc: '8' osc8m_presc: '1'
osculp32k_arch_calib: 0 osculp32k_arch_calib: 0
osculp32k_arch_overwrite_calibration: false osculp32k_arch_overwrite_calibration: false
osculp32k_arch_wrtlock: false osculp32k_arch_wrtlock: false
xosc32k_arch_aampen: false xosc32k_arch_aampen: false
xosc32k_arch_en1k: false xosc32k_arch_en1k: false
xosc32k_arch_en32k: true xosc32k_arch_en32k: true
xosc32k_arch_enable: true xosc32k_arch_enable: false
xosc32k_arch_ondemand: false xosc32k_arch_ondemand: false
xosc32k_arch_runstdby: false xosc32k_arch_runstdby: false
xosc32k_arch_startup: 122 us xosc32k_arch_startup: 122 us
@ -656,7 +667,7 @@ drivers:
usb_ep7_I_CACHE: No cache usb_ep7_I_CACHE: No cache
usbd_arch_max_ep_n: 2 (EP 0x82 or 0x02) usbd_arch_max_ep_n: 2 (EP 0x82 or 0x02)
usbd_arch_speed: Full speed usbd_arch_speed: Full speed
usbd_num_ep_sp: 4 (EP0 + 3 endpoints) usbd_num_ep_sp: Max possible (by "Max Endpoint Number" config)
optional_signals: [] optional_signals: []
variant: variant:
specification: default specification: default
@ -671,11 +682,11 @@ drivers:
domain_group: domain_group:
nodes: nodes:
- name: USB - name: USB
input: Generic clock generator 0 input: Generic clock generator 7
external: false external: false
external_frequency: 0 external_frequency: 0
configuration: configuration:
usb_gclk_selection: Generic clock generator 0 usb_gclk_selection: Generic clock generator 7
pads: pads:
PA22: PA22:
name: PA22 name: PA22

@ -67,7 +67,7 @@
// <i> This defines the clock source for generic clock generator 0 // <i> This defines the clock source for generic clock generator 0
// <id> gclk_gen_0_oscillator // <id> gclk_gen_0_oscillator
#ifndef CONF_GCLK_GEN_0_SRC #ifndef CONF_GCLK_GEN_0_SRC
#define CONF_GCLK_GEN_0_SRC GCLK_GENCTRL_SRC_DFLL48M #define CONF_GCLK_GEN_0_SRC GCLK_GENCTRL_SRC_OSC8M
#endif #endif
// </h> // </h>
@ -84,7 +84,7 @@
// <i> Indicates whether generic clock 1 configuration is enabled or not // <i> Indicates whether generic clock 1 configuration is enabled or not
// <id> enable_gclk_gen_1 // <id> enable_gclk_gen_1
#ifndef CONF_GCLK_GENERATOR_1_CONFIG #ifndef CONF_GCLK_GENERATOR_1_CONFIG
#define CONF_GCLK_GENERATOR_1_CONFIG 1 #define CONF_GCLK_GENERATOR_1_CONFIG 0
#endif #endif
// <h> Generic Clock Generator Control // <h> Generic Clock Generator Control
@ -127,7 +127,7 @@
// <i> Indicates whether Generic Clock Generator Enable is enabled or not // <i> Indicates whether Generic Clock Generator Enable is enabled or not
// <id> gclk_arch_gen_1_enable // <id> gclk_arch_gen_1_enable
#ifndef CONF_GCLK_GEN_1_GENEN #ifndef CONF_GCLK_GEN_1_GENEN
#define CONF_GCLK_GEN_1_GENEN 1 #define CONF_GCLK_GEN_1_GENEN 0
#endif #endif
// <y> Generic clock generator 1 source // <y> Generic clock generator 1 source
@ -235,7 +235,7 @@
// <i> Indicates whether generic clock 3 configuration is enabled or not // <i> Indicates whether generic clock 3 configuration is enabled or not
// <id> enable_gclk_gen_3 // <id> enable_gclk_gen_3
#ifndef CONF_GCLK_GENERATOR_3_CONFIG #ifndef CONF_GCLK_GENERATOR_3_CONFIG
#define CONF_GCLK_GENERATOR_3_CONFIG 0 #define CONF_GCLK_GENERATOR_3_CONFIG 1
#endif #endif
// <h> Generic Clock Generator Control // <h> Generic Clock Generator Control
@ -278,7 +278,7 @@
// <i> Indicates whether Generic Clock Generator Enable is enabled or not // <i> Indicates whether Generic Clock Generator Enable is enabled or not
// <id> gclk_arch_gen_3_enable // <id> gclk_arch_gen_3_enable
#ifndef CONF_GCLK_GEN_3_GENEN #ifndef CONF_GCLK_GEN_3_GENEN
#define CONF_GCLK_GEN_3_GENEN 0 #define CONF_GCLK_GEN_3_GENEN 1
#endif #endif
// <y> Generic clock generator 3 source // <y> Generic clock generator 3 source
@ -294,7 +294,7 @@
// <i> This defines the clock source for generic clock generator 3 // <i> This defines the clock source for generic clock generator 3
// <id> gclk_gen_3_oscillator // <id> gclk_gen_3_oscillator
#ifndef CONF_GCLK_GEN_3_SRC #ifndef CONF_GCLK_GEN_3_SRC
#define CONF_GCLK_GEN_3_SRC GCLK_GENCTRL_SRC_XOSC #define CONF_GCLK_GEN_3_SRC GCLK_GENCTRL_SRC_OSCULP32K
#endif #endif
// </h> // </h>
@ -539,7 +539,7 @@
// <i> Indicates whether generic clock 7 configuration is enabled or not // <i> Indicates whether generic clock 7 configuration is enabled or not
// <id> enable_gclk_gen_7 // <id> enable_gclk_gen_7
#ifndef CONF_GCLK_GENERATOR_7_CONFIG #ifndef CONF_GCLK_GENERATOR_7_CONFIG
#define CONF_GCLK_GENERATOR_7_CONFIG 0 #define CONF_GCLK_GENERATOR_7_CONFIG 1
#endif #endif
// <h> Generic Clock Generator Control // <h> Generic Clock Generator Control
@ -547,7 +547,7 @@
// <i> Indicates whether Run in Standby is enabled or not // <i> Indicates whether Run in Standby is enabled or not
// <id> gclk_arch_gen_7_RUNSTDBY // <id> gclk_arch_gen_7_RUNSTDBY
#ifndef CONF_GCLK_GEN_7_RUNSTDBY #ifndef CONF_GCLK_GEN_7_RUNSTDBY
#define CONF_GCLK_GEN_7_RUNSTDBY 0 #define CONF_GCLK_GEN_7_RUNSTDBY 1
#endif #endif
// <q> Divide Selection // <q> Divide Selection
@ -582,7 +582,7 @@
// <i> Indicates whether Generic Clock Generator Enable is enabled or not // <i> Indicates whether Generic Clock Generator Enable is enabled or not
// <id> gclk_arch_gen_7_enable // <id> gclk_arch_gen_7_enable
#ifndef CONF_GCLK_GEN_7_GENEN #ifndef CONF_GCLK_GEN_7_GENEN
#define CONF_GCLK_GEN_7_GENEN 0 #define CONF_GCLK_GEN_7_GENEN 1
#endif #endif
// <y> Generic clock generator 7 source // <y> Generic clock generator 7 source
@ -598,7 +598,7 @@
// <i> This defines the clock source for generic clock generator 7 // <i> This defines the clock source for generic clock generator 7
// <id> gclk_gen_7_oscillator // <id> gclk_gen_7_oscillator
#ifndef CONF_GCLK_GEN_7_SRC #ifndef CONF_GCLK_GEN_7_SRC
#define CONF_GCLK_GEN_7_SRC GCLK_GENCTRL_SRC_XOSC #define CONF_GCLK_GEN_7_SRC GCLK_GENCTRL_SRC_DFLL48M
#endif #endif
// </h> // </h>

@ -59,7 +59,7 @@
// <15=> 15 // <15=> 15
// <id> nvm_wait_states // <id> nvm_wait_states
#ifndef CONF_NVM_WAIT_STATE #ifndef CONF_NVM_WAIT_STATE
#define CONF_NVM_WAIT_STATE 2 #define CONF_NVM_WAIT_STATE 0
#endif #endif
// </h> // </h>

@ -46,7 +46,7 @@
// <i> Indicates whether configuration for OSC8M is enabled or not // <i> Indicates whether configuration for OSC8M is enabled or not
// <id> enable_osc8m // <id> enable_osc8m
#ifndef CONF_OSC8M_CONFIG #ifndef CONF_OSC8M_CONFIG
#define CONF_OSC8M_CONFIG 0 #define CONF_OSC8M_CONFIG 1
#endif #endif
// <h> 8MHz Internal Oscillator (OSC8M) Control // <h> 8MHz Internal Oscillator (OSC8M) Control
@ -54,7 +54,7 @@
// <i> Indicates whether Internal 8 Mhz Oscillator is enabled or not // <i> Indicates whether Internal 8 Mhz Oscillator is enabled or not
// <id> osc8m_arch_enable // <id> osc8m_arch_enable
#ifndef CONF_OSC8M_ENABLE #ifndef CONF_OSC8M_ENABLE
#define CONF_OSC8M_ENABLE 0 #define CONF_OSC8M_ENABLE 1
#endif #endif
// <q> On Demand Control // <q> On Demand Control
@ -84,7 +84,7 @@
// <i> Default: No Prescaling // <i> Default: No Prescaling
// <id> osc8m_presc // <id> osc8m_presc
#ifndef CONF_OSC8M_PRESC #ifndef CONF_OSC8M_PRESC
#define CONF_OSC8M_PRESC SYSCTRL_OSC8M_PRESC_3_Val #define CONF_OSC8M_PRESC SYSCTRL_OSC8M_PRESC_0_Val
#endif #endif
// <q> Overwrite Default Osc Calibration // <q> Overwrite Default Osc Calibration
@ -197,7 +197,7 @@
// <i> Indicates whether configuration for External 32K Osc is enabled or not // <i> Indicates whether configuration for External 32K Osc is enabled or not
// <id> enable_xosc32k // <id> enable_xosc32k
#ifndef CONF_XOSC32K_CONFIG #ifndef CONF_XOSC32K_CONFIG
#define CONF_XOSC32K_CONFIG 1 #define CONF_XOSC32K_CONFIG 0
#endif #endif
// <h> 32kHz External Crystal Oscillator (XOSC32K) Control // <h> 32kHz External Crystal Oscillator (XOSC32K) Control
@ -205,7 +205,7 @@
// <i> Indicates whether External 32K Oscillator is enabled or not // <i> Indicates whether External 32K Oscillator is enabled or not
// <id> xosc32k_arch_enable // <id> xosc32k_arch_enable
#ifndef CONF_XOSC32K_ENABLE #ifndef CONF_XOSC32K_ENABLE
#define CONF_XOSC32K_ENABLE 1 #define CONF_XOSC32K_ENABLE 0
#endif #endif
// <q> On Demand // <q> On Demand
@ -425,7 +425,7 @@
// <i> Select the clock source. // <i> Select the clock source.
// <id> dfll48m_ref_clock // <id> dfll48m_ref_clock
#ifndef CONF_DFLL_GCLK #ifndef CONF_DFLL_GCLK
#define CONF_DFLL_GCLK GCLK_CLKCTRL_GEN_GCLK1_Val #define CONF_DFLL_GCLK GCLK_CLKCTRL_GEN_GCLK3_Val
#endif #endif
// <h> DFLL Control // <h> DFLL Control
@ -440,7 +440,7 @@
// <i> Indicates whether Wait Lock is Enables or not // <i> Indicates whether Wait Lock is Enables or not
// <id> dfll48m_arch_waitlock // <id> dfll48m_arch_waitlock
#ifndef CONF_DFLL_WAITLOCK #ifndef CONF_DFLL_WAITLOCK
#define CONF_DFLL_WAITLOCK 1 #define CONF_DFLL_WAITLOCK 0
#endif #endif
// <q> Bypass Coarse Lock // <q> Bypass Coarse Lock
@ -461,7 +461,7 @@
// <i> Chill Cycle Disable // <i> Chill Cycle Disable
// <id> dfll48m_arch_ccdis // <id> dfll48m_arch_ccdis
#ifndef CONF_DFLL_CCDIS #ifndef CONF_DFLL_CCDIS
#define CONF_DFLL_CCDIS 0 #define CONF_DFLL_CCDIS 1
#endif #endif
// <q> On Demand // <q> On Demand
@ -486,7 +486,7 @@
// <i> USB Clock Recovery Mode // <i> USB Clock Recovery Mode
// <id> dfll48m_arch_usbcrm // <id> dfll48m_arch_usbcrm
#ifndef CONF_DFLL_USBCRM #ifndef CONF_DFLL_USBCRM
#define CONF_DFLL_USBCRM 0 #define CONF_DFLL_USBCRM 1
#endif #endif
#if CONF_DFLL_USBCRM == 1 #if CONF_DFLL_USBCRM == 1
@ -502,7 +502,7 @@
// <i> Lose Lock After Wake // <i> Lose Lock After Wake
// <id> dfll48m_arch_llaw // <id> dfll48m_arch_llaw
#ifndef CONF_DFLL_LLAW #ifndef CONF_DFLL_LLAW
#define CONF_DFLL_LLAW 0 #define CONF_DFLL_LLAW 1
#endif #endif
// <q> Stable DFLL Frequency // <q> Stable DFLL Frequency
@ -540,7 +540,7 @@
// <i> Default: 0 // <i> Default: 0
// <id> dfll48m_mul // <id> dfll48m_mul
#ifndef CONF_DFLL_MUL #ifndef CONF_DFLL_MUL
#define CONF_DFLL_MUL 1465 #define CONF_DFLL_MUL 48000
#endif #endif
// <e> DFLL Calibration Overwrite // <e> DFLL Calibration Overwrite

@ -0,0 +1,18 @@
/* Auto-generated config file hpl_systick_config.h */
#ifndef HPL_SYSTICK_CONFIG_H
#define HPL_SYSTICK_CONFIG_H
// <<< Use Configuration Wizard in Context Menu >>>
// <h> Advanced settings
// <q> SysTick exception request
// <i> Indicates whether the generation of SysTick exception is enabled or not
// <id> systick_arch_tickint
#ifndef CONF_SYSTICK_TICKINT
#define CONF_SYSTICK_TICKINT 0
#endif
// </h>
// <<< end of configuration section >>>
#endif // HPL_SYSTICK_CONFIG_H

@ -39,7 +39,7 @@
// <CONF_USB_D_N_EP_MAX"> Max possible (by "Max Endpoint Number" config) // <CONF_USB_D_N_EP_MAX"> Max possible (by "Max Endpoint Number" config)
// <id> usbd_num_ep_sp // <id> usbd_num_ep_sp
#ifndef CONF_USB_D_NUM_EP_SP #ifndef CONF_USB_D_NUM_EP_SP
#define CONF_USB_D_NUM_EP_SP CONF_USB_N_4 #define CONF_USB_D_NUM_EP_SP CONF_USB_D_N_EP_MAX
#endif #endif
// </h> // </h>

@ -9,7 +9,7 @@
* \brief CPU's Clock frequency * \brief CPU's Clock frequency
*/ */
#ifndef CONF_CPU_FREQUENCY #ifndef CONF_CPU_FREQUENCY
#define CONF_CPU_FREQUENCY 48005120 #define CONF_CPU_FREQUENCY 8000000
#endif #endif
// <y> Core Clock Source // <y> Core Clock Source
@ -57,7 +57,7 @@
// <i> Select the slow clock source. // <i> Select the slow clock source.
#ifndef CONF_GCLK_SERCOM3_SLOW_SRC #ifndef CONF_GCLK_SERCOM3_SLOW_SRC
#define CONF_GCLK_SERCOM3_SLOW_SRC GCLK_CLKCTRL_GEN_GCLK1_Val #define CONF_GCLK_SERCOM3_SLOW_SRC GCLK_CLKCTRL_GEN_GCLK3_Val
#endif #endif
/** /**
@ -65,7 +65,7 @@
* \brief SERCOM3's Core Clock frequency * \brief SERCOM3's Core Clock frequency
*/ */
#ifndef CONF_GCLK_SERCOM3_CORE_FREQUENCY #ifndef CONF_GCLK_SERCOM3_CORE_FREQUENCY
#define CONF_GCLK_SERCOM3_CORE_FREQUENCY 48005120 #define CONF_GCLK_SERCOM3_CORE_FREQUENCY 8000000
#endif #endif
/** /**
@ -97,7 +97,7 @@
// <i> Select the clock source for USB. // <i> Select the clock source for USB.
#ifndef CONF_GCLK_USB_SRC #ifndef CONF_GCLK_USB_SRC
#define CONF_GCLK_USB_SRC GCLK_CLKCTRL_GEN_GCLK0_Val #define CONF_GCLK_USB_SRC GCLK_CLKCTRL_GEN_GCLK7_Val
#endif #endif
/** /**
@ -105,7 +105,7 @@
* \brief USB's Clock frequency * \brief USB's Clock frequency
*/ */
#ifndef CONF_GCLK_USB_FREQUENCY #ifndef CONF_GCLK_USB_FREQUENCY
#define CONF_GCLK_USB_FREQUENCY 48005120 #define CONF_GCLK_USB_FREQUENCY 48000000
#endif #endif
// <<< end of configuration section >>> // <<< end of configuration section >>>

@ -84,7 +84,7 @@
// <s> Unicode string of iManufact // <s> Unicode string of iManufact
// <id> usb_cdcd_acm_imanufact_str // <id> usb_cdcd_acm_imanufact_str
#ifndef CONF_USB_CDCD_ACM_IMANUFACT_STR #ifndef CONF_USB_CDCD_ACM_IMANUFACT_STR
#define CONF_USB_CDCD_ACM_IMANUFACT_STR "Atmel" #define CONF_USB_CDCD_ACM_IMANUFACT_STR "ePenguin"
#endif #endif
#ifndef CONF_USB_CDCD_ACM_IMANUFACT_STR_DESC #ifndef CONF_USB_CDCD_ACM_IMANUFACT_STR_DESC
@ -107,7 +107,7 @@
// <s> Unicode string of iProduct // <s> Unicode string of iProduct
// <id> usb_cdcd_acm_iproduct_str // <id> usb_cdcd_acm_iproduct_str
#ifndef CONF_USB_CDCD_ACM_IPRODUCT_STR #ifndef CONF_USB_CDCD_ACM_IPRODUCT_STR
#define CONF_USB_CDCD_ACM_IPRODUCT_STR "CDC ACM Serial Bridge Demo" #define CONF_USB_CDCD_ACM_IPRODUCT_STR "ePenguin ARC-Boat"
#endif #endif
#ifndef CONF_USB_CDCD_ACM_IPRODUCT_STR_DESC #ifndef CONF_USB_CDCD_ACM_IPRODUCT_STR_DESC

@ -36,6 +36,11 @@ void USART_0_init(void)
USART_0_PORT_init(); USART_0_PORT_init();
} }
void delay_driver_init(void)
{
delay_init(SysTick);
}
void USB_DEVICE_INSTANCE_PORT_init(void) void USB_DEVICE_INSTANCE_PORT_init(void)
{ {
@ -145,5 +150,7 @@ void system_init(void)
USART_0_init(); USART_0_init();
delay_driver_init();
USB_DEVICE_INSTANCE_init(); USB_DEVICE_INSTANCE_init();
} }

@ -23,6 +23,8 @@ extern "C" {
#include <hal_usart_sync.h> #include <hal_usart_sync.h>
#include <hal_delay.h>
#include "hal_usb_device.h" #include "hal_usb_device.h"
extern struct usart_sync_descriptor USART_0; extern struct usart_sync_descriptor USART_0;
@ -31,6 +33,8 @@ void USART_0_PORT_init(void);
void USART_0_CLOCK_init(void); void USART_0_CLOCK_init(void);
void USART_0_init(void); void USART_0_init(void);
void delay_driver_init(void);
void USB_DEVICE_INSTANCE_CLOCK_init(void); void USB_DEVICE_INSTANCE_CLOCK_init(void);
void USB_DEVICE_INSTANCE_init(void); void USB_DEVICE_INSTANCE_init(void);

@ -21,3 +21,8 @@ void USART_0_example(void)
io_write(io, (uint8_t *)"Hello World!", 12); io_write(io, (uint8_t *)"Hello World!", 12);
} }
void delay_example(void)
{
delay_ms(5000);
}

@ -14,6 +14,8 @@ extern "C" {
void USART_0_example(void); void USART_0_example(void);
void delay_example(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

@ -0,0 +1,147 @@
break usb_start.c:68
r
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
monitor reset
q
break main.c:11
r
q
break main.c:11
r
q
break main.c:11
r
n
q
break usb_start.c:57
r
n
r
n
break usb_start.c:45
r
n
c
c
q
break main.c:10
r
n
r
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
q
break main.c:13
r
n
q
q
break usb_start.c:68
r
c
c
qa
q
c
c
break usb_start.c:68
r
s
s
s
c
s
s
s
n
c
q
q
break main.c:12
r
n
q
break main.c:12
r
n
q
break main.c:12
r
n
n
q

Binary file not shown.

Binary file not shown.

@ -0,0 +1,620 @@
:100000005026002055010000510100005101000060
:1000100000000000000000000000000000000000E0
:10002000000000000000000000000000510100007E
:10003000000000000000000051010000510100001C
:100040005101000051010000510100005101000068
:10005000510100005101000051010000F9100000A1
:100060005101000051010000510100005101000048
:1000700051010000000000000000000051010000DC
:100080005101000051010000510100005101000028
:1000900051010000000000000000000051010000BC
:1000A0005101000051010000510100005101000008
:1000B0000000000010B5064C2378002B07D1054B3B
:1000C000002B02D0044800E000BF0123237010BDC4
:1000D000680000200000000034260000044B10B52A
:1000E000002B03D00349044800E000BF10BDC04608
:1000F000000000006C00002034260000024B034A80
:100100005A6005221A60704710E000E0FFFFFF0010
:1001100070B580250B0E0C4A0C4CD8B26D0201381C
:10012000C0B2FF280AD118061B1A5B1853609360EF
:1001300080235B0211681942FCD070BD546094604A
:1001400016682E42FCD0EAE710E000E0FFFFFF0057
:10015000FEE700002549264870B581420AD0254BAC
:10016000C41E0022A34203D303331A1A920892003A
:10017000214B98472148224BC11E0022994203D8A7
:1001800003331A1A9208920000211E4B9847FF224F
:100190001D4B032193431D4A0C2593600222082422
:1001A00030261B4B1B485A62C3788B431343C370E2
:1001B000C378AB432343C370174B987BB04306000F
:1001C000202030439873987BA84304439C73987B0A
:1001D000884302439A738023104A51680B4353604B
:1001E0000F4B98470F4B9847FEE7C0463426000058
:1001F0000000002068000020452500006800002065
:100200004C060020572500000000000000ED00E033
:10021000FC70004100500041004800410040004196
:10022000FD240000D11B0000F0B517000A7885B04E
:1002300053060C0001909B0F012B52D16379097971
:100240002A4D1B020B432978994202D069789942C2
:1002500047D1E679A379360252B21E43002A0FDA5B
:100260000020012F0AD06378212B11D1072E3BD11A
:100270000300A91D320001981D4CA04705B0F0BD38
:100280001C4B984763780100202B03D0222B19D0F8
:100290000D2027E0072E27D1002F01D13B00E9E7F1
:1002A0003200154C02A8A0472B69002B05D107226C
:1002B000A81D02A9A0470020E0E702A8984700284F
:1002C000F5D1F8E700230A4E1A0019001800B047CC
:1002D0006B69002BEFD0E078A278000210439847BA
:1002E000E9E70A204042C9E70120FBE7840000203B
:1002F0005D2000008524000045250000F7B51500AD
:1003000001294FD0022900D176E0002900D075E004
:10031000836810681E00009302330193002802D105
:100320000A20404220E00821437982788B43022B47
:10033000F6D133789A4263D0FF2B63D1327069686B
:100340000522324B9847041E0FD1286804220378F7
:100350006968C0182D4B9847019B0136B342DDD127
:10036000012220002A4B5A71FEBD637922791B02BB
:10037000A778D2183800E178264B92B29847002827
:1003800042D17BB2244A002B09DAB770380090477B
:100390002C6020786968214B20189847D3E7009B90
:1003A0001F71F3E78468002A05D0136808225B797F
:1003B0009343022BB4D12378FF2B07D0FF25A078DD
:1003C0002570A84202D0164B9847A5706378FF2B82
:1003D00007D0FF25E0786570A84202D0104B9847FF
:1003E000E5702079FF2803D00D4B9847FF23237138
:1003F0000020074B5871B7E71B2092E70D2090E7CC
:1004000012208EE71C208CE714208AE7511600008A
:100410008400002061190000F11900006B16000033
:10042000C519000010B50A4B984701280CD8094897
:10043000094B0062C361094B1830984701200849F5
:10044000084B9847002010BD11204042FBE7C046F2
:100450009124000084000020FD0200002D240000F3
:1004600000000020A123000010B5074B0A005979B5
:100470000400002905D02100D878044C0123A047AE
:1004800010BD11204042FBE7840000205D200000E9
:100490000A0010B5032810D8094B02F01BF8020817
:1004A0000A0C18790221074B9847002010BDD87814
:1004B000F8E71961F9E75961F7E70D204042F5E7E0
:1004C00084000020851B0000014B58797047C0460E
:1004D0008400002000207047074B9A8C920604D5B8
:1004E0001022D9681142FCD004E0D021DA680A4019
:1004F000D02AFBD17047C04600080040002803D036
:10050000002901D00230C0B2142301305843014BFE
:10051000C0187047080100200F2370B50100807CCF
:10052000072503401A00CC7C083225405B01012DD1
:1005300008D01449520152181021D171124A9B1847
:10054000597270BD40252C4206D08026AC43CC7435
:100550000D4C1C196671A5710825CC7C5201AC4369
:10056000CC7400240949C9188C728C76054952183C
:100570006F21D171044A9B185972054B9B689847AB
:10058000DFE7C04600500041FF500041A8000020B6
:100590000801002020238B40DAB20F2310B504009D
:1005A000807C054903405B015B185A72034B0121B3
:1005B0001B69A268984710BDFF5000410801002048
:1005C00010B50300807CFF2809D04024DA7C224249
:1005D00005D0A243DA74024A14699A68A04710BD94
:1005E00008010020F7B59446837C134A01AE0D0044
:1005F0003280FF2B1AD04027C27C3A4216D00F22FD
:1006000013401C0008346201002910D00B4FD2198E
:10061000802717710949640164180949725D5B01FB
:100620005B18E27161465A72064B9847F7BD034961
:1006300052185771EEE7C046254A000000500041AD
:10064000FF500041C1050000F0B50D000F21837C73
:1006500085B00B409C46304B03AE338063465B0154
:100660000093634608332D495C01002D20D0095DBD
:100670004906490F009A2C01A418294A765D1419DD
:10068000A77AFFB2022917D101390F4214D0A77AF5
:10069000224A5B019B188F43009AA772DE71214B9F
:1006A0002940D218567204221F4B984705B0F0BD5E
:1006B0000C5D07212140DDE702213A000A4001924A
:1006C0000F4217D0A27AC77C8A43A272134A5B01F9
:1006D0009B18DE71009A134BD218072356723B40C9
:1006E000012BE3D17B06E1D5C17CC909A942DDD04C
:1006F0000022D9E7624651004D19094A2D015519CA
:10070000019A5B01AA72054A9B18DE71009A054B9B
:10071000D2185672CAE7C0460408000000500041D3
:10072000A8000020FF500041E50500008C2370B5B3
:10073000FF26094D9B00094CED1803212000084BB2
:1007400098470021A674E1741434AC42F5D16022BC
:10075000044B0548984770BD080100201C0100208B
:10076000C105000057250000A8000020F0B50F27A4
:1007700085B00191837C040002931F4000239942BD
:1007800005D04B4B7A019B185B699B049B0C258A17
:10079000484AAC46954202D06A1E12B294460722DD
:1007A000E07C02400392019A002A04D042497A0177
:1007B00052180221D171A26899186268A160914211
:1007C00040D22368521A59187B01394E92B20293D3
:1007D00083062CD52B1C954200D9131C9DB22A00F0
:1007E000364BE0689847324BE26879015B181A6132
:1007F0007B01F6187369AD049B0BAA0C9D0315438E
:10080000756173692E4A13407361019B002B08D1F7
:10081000039B4E22012B00D0043A2A497B015B182E
:100820009A72254A7B019B1880225A7139E08023F5
:10083000151C9B019A4200D91D1C7B01F318ADB217
:100840001961D5E710267A0130420ED0E37C1C49AD
:10085000B343E374164B9A18921953689B0B9B038E
:10086000536053680B405360CFE7039801281AD1B7
:10087000144812184B205072624613409D420CD10E
:100880004025E37C0298AB43E3740F4BDB68984749
:10089000002806D1E37C2B43E374002120000B4B9E
:1008A000984705B0F0BD074812184A20E3E7C04654
:1008B000A8000020FF030000005100414525000072
:1008C000FF3F00F0FF50004108010020C10500007B
:1008D0000F23F0B5857C85B004000E001D40039108
:1008E000019100290AD0614B6A019B1859680901DE
:1008F0008A0C0392596889048B0C0193238A009314
:10090000009A5B4B9A4203D01300013B9BB20093C9
:10091000019B009FE27C1F40072313400293002E9F
:1009200004D054496B015B180121D97193060FD58E
:100930006368002B0CD0A26821689B1A88181A1CC7
:100940009BB2BB4200D93A1CE1684B4B92B298472C
:1009500063686A019446002B2CD1E27CD10629D52C
:1009600030339A43103B1A43E2746246E1683F4BCE
:1009700042489950218A63445A688904090902400F
:100980000A435A605A68920B92035A60002E0BD1A8
:10099000029925226B01012903D1344AD218967697
:1009A0002D2237495B189A72324B6D01ED184023A6
:1009B0002B711DE0A168002E1CD0228ABA4219D9E1
:1009C0001022E37C9343E374019B5918A160029ABF
:1009D0006B01012A46D12A4A9B182D225A72002DFA
:1009E00002D1224BE2681A6000212000254B984773
:1009F00005B0F0BD039A5118A1608B42E7D92020C1
:100A0000E27C5B1A278A9BB2024216D0391C9F42B5
:100A100000D9191CE068154A8BB269015050134A7D
:100A20001648624451689B041B0901400B43536004
:100A300053689B0B9B035360A8E79F420BD2802017
:100A4000800183420CD8009A93432068074A4118DA
:100A500068011150E3E79F42F7D91043E074F4E7CF
:100A60000300F2E7064A9B182522B7E7A8000020FA
:100A7000FF0300000051004145250000FF3F00F04A
:100A8000FF500041C1050000802302009B000720A9
:100A90009A4214D8013BFF3B01389A420FD80138E3
:100AA000802A0CD80138402A09D80138202A06D8D3
:100AB0000138102A03D806309042804140427047E6
:100AC00010B52A4CA378DB0718D40323A2781A4266
:100AD000FCD10222237813420AD023789343237057
:100AE0000323A2781A42FCD10223A2781A42FCD135
:100AF000012323700233A2781A42FCD10123A27889
:100B00001A42FCD11A4B1B4A1A605A609A60DA608A
:100B10001A61194B98471F20184B1A68530B910CF8
:100B2000920103400140520F834200D105231F2947
:100B300000D10239072A00D1023A9B010B4312036C
:100B4000134323850323E2781A43E2700C22E178F1
:100B50000A43E27004222270A278100018401A4260
:100B6000FAD1074B63620123238110BD005000417D
:100B700008010020D50400002D070000246080003B
:100B8000A800002003220E4B9978114214D19978C5
:100B90001142FCD102221978C8B2114205D1024398
:100BA0001A70032299781142FCD180210020054A55
:100BB0001160054A1A83704711204042FBE7C04686
:100BC0000050004100E100E08D0200000121024AD6
:100BD00013898B43138170470050004180231843D1
:100BE000014B98727047C04600500041F7B50F2482
:100BF00004402E4B00910600C10947B2200001922B
:100C000098470321009B05000B400093022C44D819
:100C1000837CFF2B44D1009B002B10D1F943C9B238
:100C2000224B2000C9099847837CFF2B38D1F33B26
:100C300063431F4A9B58002B34D113202EE0002F12
:100C400014DA0C2262431A4B9B185A68002A19D1F5
:100C50000C236343164CE418636800200099EB6092
:100C6000019B01312B82E974AE74FEBD0C236343FA
:100C70000F4A9B58002B0BD00C2262430C4B9B1845
:100C80001B8900E05B89019A9A42D6DC002FDFDBEA
:100C90000C235C43064BE358DFE712204042E4E7B5
:100CA0001420FBE7002FE7DACBE7C046FD04000085
:100CB00068250000F7B50F2504000540022D1AD85D
:100CC00043B2C70901933900144B28009847837C2D
:100CD0000600FF2B0FD00322114B39009847072243
:100CE000F37C1340012B07D100220E4B0834640122
:100CF000E254FF237382F7BD63B2002B07DA702240
:100D0000094B6D01ED186B7893436B70F1E7064B5F
:100D10006401E418637893436370EAE7FD0400001C
:100D2000E505000000500041FF500041F7B50F24D9
:100D30000440C109474B45B220009847464B61012A
:100D4000CE1872780700D2B2022C00D97DE0837CE5
:100D50000193FF2B00D178E0404B5C18C37C072146
:100D60001800084001283BD1772311001940009159
:100D70001A4200D06CE0663B73703D8A384B280005
:100D80009847E023374ADB0500071840AB031340C0
:100D900003436360402180230F22AD04AD0C284340
:100DA0006061B1717371009B2C48A372A376019BA3
:100DB000AC031340FA685B011A50C01842682A4D10
:100DC0001540254345604268920B92034260224AD7
:100DD00000989B18B0225A71A03A99719A72FEBD80
:100DE000002D19DA702115000D400A4230D15B0741
:100DF0005B0E134373703F8A194B38009847E0230A
:100E00000007DB0518408023BF04BF0C3843606136
:100E10007371A5762800E2E715000D400A4217D14C
:100E20005B075B0F134373703F8A0D4B3800984785
:100E30000C4ABB031340E0220007D20510400343D5
:100E400063604023B371A572E4E712204042C6E715
:100E50001420FBE7FD040000FF500041A800002023
:100E6000890A000000C0FF0FFF3F00F0F8B507003F
:100E70000F26C40937400D0038002100294B984740
:100E80000200022F4AD8837C10203340A040012D5D
:100E900010D1254D5901C0B2491948712021A140F6
:100EA00022485B01C9B21B1899720823D17C0B43FD
:100EB000D37409E05B01002D29D11D495D181B4940
:100EC0005B18D979084201D100201CE02021A14003
:100ED000C0B25871C8B258721E7A314204D0012192
:100EE000A140C9B2187259710721D37C1940012958
:100EF0000AD1FF35EC792F31200008400C42E3D1B4
:100F000028398B43D374F8BD08218B43D0E7064AB8
:100F10009B189B791840431E9841F4E712204042E9
:100F2000F1E7C046FD04000000510041FF500041C0
:100F300000500041F8B50F231840114B44011B1914
:100F40000F0019685D68AD04AD0C022812D8002F9F
:100F500010D00C4BE4186378112B0ED11026227A96
:100F60000020324205D008223800074B984728005D
:100F70002672F8BD12204042FBE71320FBE7C04673
:100F8000A8000020FF50004145250000F0B50F25C6
:100F9000077A87B07BB23D40FF0939000293060013
:100FA0003A4B280098473A49038A04001A008B42BA
:100FB00001D05A1E92B271680A400192022D62D885
:100FC00080203268800582420DD3324D8818A842B5
:100FD00009D8032015000540024204D1029A002AD4
:100FE0000EDB994206D2E3680125002B08D11320BD
:100FF000404217E0019B002B16D0E368002B42D043
:10100000E37C02201B070DD4234B05A89847E17C05
:1010100040230A001A400392204A194206D005A82C
:101020009047012007B0F0BD019DE9E70B43E37451
:1010300005A890477F213368FA0123607368039FF6
:101040006360039BA360E37C0B40134369011D00B5
:1010500020239D430D43E574737A002B02D0019F3A
:101060007B425F411022E37C3F0193431F43029B7D
:1010700000212000E774002B03DA094B9847002079
:10108000D0E7084BFAE71220B2E7C046FD040000A3
:10109000FF030000FF7F0020A5240000B324000010
:1010A0006D070000D1080000002900D10549012882
:1010B00002D1054B596070470028FCD1024B1960E2
:1010C000F9E7C046D504000008010020002900D13E
:1010D0000749002802D1074B99607047012802D1C7
:1010E000044BD960F9E70228F7D1024B1961F4E704
:1010F000D504000008010020F7B56C4B1A8C91B2A2
:101100000191002A00D066E09A8B198B04200A40D6
:1011100011000140024204D09883654B1B68984738
:10112000F7BD80241600A400264022421DD0614A4B
:101130009A839A82923AFF3A1A835F4B1A8912076E
:10114000120F032A05D01A8D1207120F032A07D196
:101150000121002249015B1819891A814904490DAE
:101160000320534B5B689847DAE78024150025403D
:10117000224205D09C834E4B310005205B68F2E78C
:1011800070261400344032420AD04A4A9E839E821E
:101190001A834A4B9847464B290002205B68E2E7D6
:1011A0000825110029402A420CD0454A5470414A72
:1011B0009D839E821A83434B98473D4B210001201B
:1011C0005B68D0E7D20706D53A4A9A839A821E8393
:1011D000374B5B68C7E700260F2701253A4CA37CF5
:1011E000FF2B38D02A003B409A400199114232D05F
:1011F00036495A01521832495B015B181278997AC4
:101200000B001340114226D014217143284A521872
:1012100047211032D27D1140012911D1DA0603D5C0
:1012200020002B4B984716E0402219001140134232
:1012300001D0290001E09B060DD52000254B09E0D7
:1012400051B200291CDA5906F3D4190708D5290030
:101250002000214B9847013614341B2EBFD15FE785
:10126000990703D5290020001C4BF3E707210A400A
:10127000012AF0D100215A07EAD4DB06EBD5CFE7EB
:10128000202019000140034201D00021D5E7580772
:10129000DED42B4203D029002000114BDAE70721CE
:1012A0000A40012AD7D11A07E7D5D0E700500041FC
:1012B0000801002001020000A8000020D90400005D
:1012C000FF5000412D0700001C0100200751004184
:1012D0001905000095050000490600006D07000093
:1012E000D108000010B5024B1860024B984710BDA2
:1012F000F8030020FD000000044B10B51C68044BEF
:1013000098470100034B2000984710BDF8030020C8
:10131000B913000011010000064B1A7AD2B21A72FA
:101320005A7AD2B25A729A7AD2B29A72DA7AD2B21D
:10133000DA72704700040040064B10B55A685A60D4
:10134000054B9847054B9847054B9847FF20054BA1
:10135000984710BD004000411913000049140000D7
:1013600089140000FD1500000068002800D17047B6
:101370008842F9D10120FAE770B50C4B05000C004A
:1013800006689847012358404F22094B0949C0B2CB
:1013900098472B68002B02D12C60236070BD33006E
:1013A0003668002EFBD11C602660F7E76913000049
:1013B000C11300008C250000FA235B0158437047DD
:1013C000002800D100BE704701220020024B82B0ED
:1013D0001A7002B07047C046FC030020064810B5E2
:1013E000064B01309847064B9847064B06489847EE
:1013F000064B984710BDC046FC030020CD230000DB
:101400002504000045240000080000207924000085
:1014100010B5044B98470028FBD003200249034B2A
:10142000984710BDC9040000C913000091040000D2
:1014300010B5014B984710BDDD130000014B187823
:10144000C0B27047FC0300200D4B186A196A890F5F
:101450008A070C4901400A4302210A431A629A6929
:10146000114399611F211A7F0A401A771E39DA68E1
:10147000D2080A42FBD08022196A0A431A627047D6
:10148000000800400000FF0F02220121144B9A8443
:10149000DA6812090A42FBD0124ADA62FC22D2014F
:1014A0009A629B2252009A849A8C92080A4210D027
:1014B0001022D9681142FCD08022998C0A430A4933
:1014C0009A844A78D209FCD102219A698A439A61A6
:1014D00070470121DA6812090A42FBD0ECE7C046E6
:1014E0000008004080BB0104000C0040F8B5060075
:1014F0000D001400002804D0081E02D01000431E66
:101500009841F1221049114B9847370008373800AD
:101510000F4B98470028F8D000263800A95D0D4BE6
:10152000984738000A4B98470028FAD00136B44251
:10153000F3D80125002C00D025003800064B984731
:101540000028FAD02800F8BDAA250000C113000029
:10155000A71E0000991E0000B11E0000F7B505008F
:1015600014000191002804D0081E02D01000431E70
:10157000984186220C490D4B5200984700262F00B7
:10158000083738000A4B98470028F8D0094B380034
:101590009847019B98550136B442F0D80120002CA1
:1015A00000D02000FEBDC046AA250000C1130000E7
:1015B000BB1E00009F1E000070B504000D00002837
:1015C00002D00800431E98410749084B342298472F
:1015D00020002900064B08309847002803D1054B0E
:1015E0006360054B236070BDAA250000C113000095
:1015F0006D1E00005D150000ED140000C30709D545
:101600008023104A5B00936083235B02536053780E
:10161000DB09FCD1030708D504230A4AFF33936092
:10162000094B53605378DB09FCD1030608D5082326
:10163000044AFF339360054B53605378DB09FCD1B8
:101640007047C046000C004003030100070721005B
:1016500010B5884201D3002010BD0378012BFAD9C0
:1016600044789442F8D0C018F3E7884201D30020B0
:1016700070470378012BFAD94278042AF7D0052A5B
:10168000F6D0C018F1E7000070B50D4B150002222E
:101690000C00984700280FD170BD0378012B0DD99D
:1016A0004378022B0AD14379AB42F5D0C2788378D4
:1016B00012029B189BB2C018A042EED30020EBE7A9
:1016C0005116000070B50C0016000025A04201D391
:1016D000002070BD03222100054B98470028F8D058
:1016E0000378012BF4D9B542F3D0C0180135EDE7EA
:1016F0005116000002000F21002030B5094B1140A7
:101700005C7894420CD01D78002D01D18C4207D01A
:101710000130C4B2203340B20D2CF1D1012040423F
:1017200030BDC046400400200020704770B5084B13
:1017300004000D009847074B40011B189A780020C1
:10174000032A03D1290020009B69984770BDC04639
:10175000F516000040040020F0B5374B87B00F00AD
:10176000009001929847354D4401002F41D12E1928
:10177000F770295D002933D12200B4780C327078DB
:10178000F369AA18032C27D10C270131F757984782
:1017900003007078002B0BD0294B7380002F02DBE5
:1017A000863BFF3B18430121264B984707B0F0BD0D
:1017B00004220393B2700493002F0ADB80231843A2
:1017C00002AB1873012302AA537303A81E4B984758
:1017D000ECE70F231840F3E798470223B370E5E7DF
:1017E0000123B3702C19E178E369019A00989847B6
:1017F000DCE72B19012F0CD10222DA70295D0029B8
:1018000004D19A7000980F4B9847EBE705229A7025
:10181000E8E7022F08D10422DA702A5D002A01D1FC
:101820009F70C3E70122F2E7032F03D1A022D20069
:101830005A80D7E7054AFBE7F51600004004002070
:10184000050200006D0E00008D0F0000060600006E
:10185000F7B5184B0400984747013B00164D0C3371
:101860005B19190001932000144B98478026C0B2E1
:1018700026430096124E082806D001212000B047CA
:1018800001210098B047F7BDED1901270021200084
:10189000B04700210098B047200001996B69AF70F4
:1018A00098470028EFD1052339002000AB70B047DE
:1018B0003900E6E7F516000040040020350F00006F
:1018C0006D0E000070B5124B984700281EDBD02229
:1018D000104C00212000104B520098472300FF219C
:1018E0000D240E4A013CE4B259705A619A61DA61E2
:1018F0002033002CF6D10A4D20000A49A8470120C8
:101900000949A84702200949A847200070BDC046E0
:10191000C10A0000400400205725000029170000DC
:10192000CD100000511800002D17000059170000BD
:1019300010B5014B984710BDA910000010B5014B20
:10194000984710BD850B000010B5014B984710BD9E
:10195000CD0B000010B5014B984710BDDD0B00000A
:10196000F8B5104C06000D001700A047002813DA48
:10197000FF20A047041E12DB3A00290030000A4B6A
:101980009847002807DB03210020084B64011A193F
:101990000D405670E554F8BD14204042FBE7152079
:1019A000FBE7C046F5160000ED0B000040040020E8
:1019B000002110B502000800014B984710BDC04639
:1019C0006119000070B5074B05009847041E07DB3E
:1019D0002800054B9847FF230448640104196370ED
:1019E00070BDC046F5160000B50C00004004002094
:1019F00070B50C4B0400984700280FDB0A4D4001DE
:101A0000425D2D1851424A4101322000074BAA7015
:101A10009847002801DA0023AB7070BD12204042C5
:101A2000FBE7C046F5160000400400202D0D000025
:101A3000F0B5037A04008BB018000193324B98473D
:101A4000637A061E656802935BDB304B06A89847F5
:101A500073010093009A2E4B9E18B37804AAD71DE9
:101A60003B703A78D3B203932A4B012A1DD102323C
:101A7000B27006A89847264B009AD35C002B1FD063
:101A80000298019B421E9041D909C0B22368227A74
:101A900007930895002931D080231A4304AB1A75A7
:101AA00058751D4B07A8984708E006A898473B784B
:101AB0000120DAB2062B01D8184B98560BB0F0BDB6
:101AC000F27CB37C12029B189BB2002B05D104223E
:101AD00003981D000100B270D8E79D4200D91D0097
:101AE0000B4900208C46009A01006244127B7F2A39
:101AF000CCD99D429B4101315842C7E70F231A4080
:101B0000CCE712204042D9E7F5160000A5240000DA
:101B100040040020B32400008D0F0000C625000003
:101B2000F8B505000E1E1AD1124B9847041E1DDB96
:101B300002212800104FB84700280FD0310028009C
:101B4000B84700280ADB0D480D4B64012418638058
:101B5000320003212800E36998473000F8BD064BA6
:101B6000012900D0022128009847F7E712204042BF
:101B7000F4E7C046F51600006D0E0000400400209A
:101B80000103000070B50F4B14000D009847002CA6
:101B900000D10D4C002809DB012D08D0022D0BD0FF
:101BA000002D03D1094B40011818446170BD074B4B
:101BB000400118188461F9E7044B40011818C4610A
:101BC000F4E7C046F5160000291700004004002085
:101BD00013B50D4B98470D4B98470D4B98470D4B40
:101BE00098470028FBD0FA200B4BC00098470B4CBD
:101BF0000D220B490B4B200098470D2120000A4B6A
:101C000098470190FEE7C046C51E00003114000051
:101C1000111400003D140000F9120000E00500203E
:101C2000D4250000452500006904000030B50124DA
:101C30000C4BC5B2C0180378CAB2A3430A49234368
:101C400003706B085B180F201978254205D00140FE
:101C500012011143C9B2197030BD81430A431A7091
:101C6000FAE7C046404400413044004110B5162018
:101C7000034C0449A04717200349A04710BDC046A4
:101C80002D1C000002001600020017002023044A49
:101C9000116A0B431362034B034A5A807047C046D4
:101CA00000040040000C00401740000010B5054B38
:101CB000984700220449054B05489847054B98472B
:101CC00010BDC0468D1C000000140042B915000074
:101CD000200600206D1C000010B50248024B9847FA
:101CE00010BDC04610E000E0E5120000F8B5C025C8
:101CF00080238027114C124AED05FF055B04AB6081
:101D0000A762A262220004266B6158321378182061
:101D1000B34313700B490C4B984780230B4A9B0429
:101D2000AB60A762A2626B61593423781920B34378
:101D300023700749044B9847F8BDC0460044004152
:101D4000000100C0060018002D1C0000000200C0A9
:101D5000060019002022064BD9690A43DA614022A5
:101D600059690A435A61034B034A5A807047C04677
:101D700000040040000C00400647000010B5034B73
:101D80009847034B9847034B984710BD551D0000DB
:101D9000C5180000ED1C000010B5044B9847044B1B
:101DA0009847044B9847044B984710BD39130000DF
:101DB000AD1C0000D91C00007D1D0000C369194244
:101DC000FCD17047022210B50368032193430360DE
:101DD000014B984710BDC046BD1D00001B4B70B5A0
:101DE000C3189B0ADBB20400032B04D00020184A5E
:101DF0001849194B9847E369184DDB0711D402269F
:101E000003212000A8472368334205D02000144B4B
:101E1000984731002000A8470523032120002360B4
:101E2000A84720000121A8470E4B20002360032172
:101E3000A847C0239B02200063600721A847002019
:101E4000094BA381A0733034207070BD00F8FFBD32
:101E50003A020000E1250000C1130000BD1D000092
:101E6000C51D00000400104004C5FFFF70B505004B
:101E7000431E98410C00B4220449054BC0B2984758
:101E80002C602000034B984770BDC046E125000040
:101E9000C1130000DD1D0000036819857047036849
:101EA000188DC0B270470368187E01231840704730
:101EB0000368187E8007C00F70470368187E4007CC
:101EC000C00F704710B5024B9847024B984710BDA2
:101ED000991D000031140000064B10B51C69002C40
:101EE00000D110BD200063680022012198472468BA
:101EF000F5E7C0462C06002070B505000E00064B25
:101F0000DC68002C00D170BD6368002B02D031006A
:101F1000280098472468F4E72C060020F8B505004F
:101F20000E0017000B4B9C68002C01D12000F8BD5F
:101F30006368002B01D12468F6E73A0031002800DD
:101F40009847002804D00A30F5D001204042EEE73F
:101F50000120ECE72C060020054B10B55C68002C36
:101F600000D110BD6368002B00D098472468F6E7C5
:101F70002C06002010B51400002903D0012923D01D
:101F8000002010BD1378002BFAD15378052B0FD009
:101F9000092BF5D1E17892780E4B09021143D976DD
:101FA0004A1E91410331997601200B4B9847E7E790
:101FB0000A4B90789847E178A278090211434B1EAA
:101FC0009941044B0231EEE70A00054B2100002045
:101FD0009847D5E72C060020F91E0000551900008F
:101FE0001D1F000070B5002402260C4B98470C4DB5
:101FF00020006E830B4B6C7798470B4B287F9847DC
:102000000A4D210020000A4AA84731002000094A51
:10201000A8472000084B984770BDC046D91E000055
:102020002C060020C5190000B1190000851B000016
:1020300079200000751F0000F119000010B500287C
:1020400002D0012803D010BD024B9847FBE7024B9A
:102050009847F8E7F91E0000E51F00001FB502923F
:102060006A461073537301A8024B0191984705B05B
:1020700000BDC046311A0000F7B5B74B002204007E
:102080000D009847030000205A1C00D1C1E0013028
:10209000834200D1BDE02B781F221900914304D068
:1020A000802900D1B6E00020B3E0687801380A2822
:1020B000F9D800F005FA46F856F80BF8F8F806F8E3
:1020C0006000AA78002A0BD1A44B98470022012374
:1020D00011002000A24CA04743425841C0B298E0F2
:1020E000A04D2B6803CBA04B9847002800D190E06F
:1020F000C37881781B02C91889B2411804229B4B0E
:1021000001919847FF220090009B002BDED09E7823
:10211000964202D02F69002F0AD10098042203783A
:102120000199C0180090914B984732000090EBE75E
:102130006A46002138007B6898470028EDD03F6848
:10214000E9E7022BAFD1EE79AB7936021E43AAD173
:1021500031002879864B9847012332003100200056
:1021600054E0022B9FD1EB79AE791B021E439AD12A
:1021700001212879EEE7EC78AB7824021C432B7917
:102180006D79784E2D021D433368F27E03CB764B7A
:102190009847002887D004220090C37881781B02DA
:1021A000C91889B24118714F0191B847002800D170
:1021B00079E78378AB4210D1C378A3420DD1376958
:1021C0000090002F00D16EE701216A4638007B683D
:1021D0009847011E08D03F68F3E70098042203786F
:1021E0000199C0180090E0E76A4638007B6898477C
:1021F000002800D057E7002C04D00122AA40737FAA
:102200001343737700231A0019001800544CA04799
:102210000120FEBD68780A2800D944E700F064F97F
:10222000620043FF43FF43FF43FF43FF0B0043FFB5
:102230005A0043FF8300E978AB7809020B43090A8F
:10224000CAB2022917D0032A34D00020012AE0D1D3
:10225000AB79ED792D021D43424B1B6803CB434BF9
:102260009847011E00D11EE72A1C122D00D9122208
:10227000002392B22DE7AA79ED7901332D0215439F
:10228000384A1068167F03C8DAB2374B9847011EE8
:1022900000D108E7C37882781B02D21892B20023DB
:1022A000954205D9013E35406B425D41EBB21500C8
:1022B0002A000EE7AA79ED792D021543294A106804
:1022C000167F03C8DAB22B4B9847011E00D1EAE60D
:1022D0000278E4E72349CB7E4A69137049690023F9
:1022E00001223CE71F211E22180019401040134212
:1022F0000ED0022900D0D6E61D4B2879984703005E
:102300000020834200DA84E701300340009300E0BC
:102310000090144D02226946174B686998470023C4
:10232000022269691BE70F4E6B792979727F1B02C4
:102330000B431A4101241000204022421ED0346970
:10234000002C00D1AFE62A000221200063689847E4
:1023500000281BDA2468F3E71D1F0000D91E0000C7
:102360005D2000002C060020891600005116000098
:10237000211B0000C51600004525000073692200DE
:10238000187071690300054DA84741E77369012280
:10239000187000237169180038E7C0465D200000FE
:1023A00010B5012808D0022809D0002803D105481B
:1023B0000430054B984710BD02480830F9E7014842
:1023C0000C30F6E72C0600207913000070B50400ED
:1023D000431E98410C4A0D4B0D49C0B298470D4B16
:1023E000984700280EDB0C4D20220C4B00212800C2
:1023F000984700200A496C610A4CA04701200A490D
:10240000A047002070BDC04655030000C113000066
:10241000FC250000C51800002C06002057250000F0
:10242000591F0000311900003D20000010B50100C7
:102430000248034B1030984710BDC0462C060020C0
:102440007913000010B50A4B9C7E002C0BD100289C
:102450000CD002681860D2791A7701229A76054B5F
:102460009847200010BD04204042FBE70920FBE70D
:102470002C0600203D19000010B5014B984710BDF7
:1024800049190000014B58697047C0462C060020CE
:10249000034B987E1023184200D018007047C046A6
:1024A0002C060020EFF31083036072B6BFF35F8F3A
:1024B0007047BFF35F8F036883F310887047000095
:1024C00002B4714649084900095649008E4402BCCD
:1024D0007047C04602B4714649084900095C49008A
:1024E0008E4402BC7047C04603B4714649084000A0
:1024F0004900095E49008E4403BC704770B5002650
:102500000C4D0D4C641BA410A64209D1002600F00E
:1025100081F80A4D0A4C641BA410A64205D170BD77
:10252000B300EB5898470136EEE7B300EB589847F5
:102530000136F2E7202600002026000020260000B9
:1025400024260000002310B59A4200D110BDCC5CB7
:10255000C4540133F8E703008218934200D1704756
:1025600019700133F9E70000B803002000000000F3
:102570004000000078030020000000004000000040
:102580003803002000000000400000002E2E2F68BD
:10259000616C2F7574696C732F7372632F75746916
:1025A0006C735F6C6973742E63002E2E2F68616CE0
:1025B0002F7372632F68616C5F75736172745F73E0
:1025C000796E632E6300ED0101010102F0ED00015F
:1025D000010102F048656C6C6F20576F726C640AE1
:1025E000002E2E2F68706C2F736572636F6D2F68CD
:1025F000706C5F736572636F6D2E63002E2E2F7586
:1026000073622F6465766963652F75736264632EE8
:1026100063000000F8B5C046F8BC08BC9E46704791
:10262000DD000000F8B5C046F8BC08BC9E46704707
:04263000B5000000F1
:1026340000000000290200001000002065000020B6
:102644001201000202000040EB0304240001000018
:102654000001090243000201008032090400000164
:1026640002020000052400011005240101000424D5
:10267400020205240600010705820340000A09043A
:102684000100020A000000070501024000000705DE
:0826940081024000000000007B
:00000001FF

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,588 @@
:10000000C023002001010000FD000000FD000000F1
:1000100000000000000000000000000000000000E0
:10002000000000000000000000000000FD000000D3
:100030000000000000000000FD000000FD000000C6
:10004000FD000000FD000000FD000000FD000000BC
:10005000FD000000FD000000FD0000003510000064
:10006000FD000000FD000000FD000000FD0000009C
:10007000FD0000000000000000000000FD00000086
:10008000FD000000FD000000FD000000FD0000007C
:10009000FD0000000000000000000000FD00000066
:1000A000FD000000FD000000FD000000FD0000005C
:1000B0000000000010B5064C2378002B07D1054B3B
:1000C000002B02D0044800E000BF0123237010BDC4
:1000D000680000200000000038240000044B10B528
:1000E000002B03D00349044800E000BF10BDC04608
:1000F000000000006C00002038240000FEE7000033
:100100002549264870B581420AD0254BC41E0022DD
:10011000A34203D303331A1A92089200214B984743
:100120002148224BC11E0022994203D803331A1AD8
:100130009208920000211E4B9847FF221D4B03217D
:1001400093431D4A0C2593600222082430261B4B42
:100150001B485A62C3788B431343C370C378AB43C5
:100160002343C370174B987BB043060020203043D5
:100170009873987BA84304439C73987B88430243FD
:100180009A738023104A51680B4353600F4B984772
:100190000F4B9847FEE7C0463824000000000020BF
:1001A000680000205523000068000020BC030020E8
:1001B000672300000000000000ED00E0FC7000413B
:1001C0000050004100480041004000410D23000064
:1001D000611A0000F0B517000A7885B053060C00CC
:1001E00001909B0F012B52D1637909792A4D1B0293
:1001F0000B432978994202D06978994247D1E67930
:10020000A379360252B21E43002A0FDA0020012FD2
:100210000AD06378212B11D1072E3BD10300A91DF1
:10022000320001981D4CA04705B0F0BD1C4B98470B
:1002300063780100202B03D0222B19D00D2027E05A
:10024000072E27D1002F01D13B00E9E73200154CE2
:1002500002A8A0472B69002B05D10722A81D02A9DF
:10026000A0470020E0E702A898470028F5D1F8E76A
:1002700000230A4E1A0019001800B0476B69002BC2
:10028000EFD0E078A278000210439847E9E70A200F
:100290004042C9E70120FBE784000020811E0000E6
:1002A000A922000055230000F7B5150001294FD001
:1002B000022900D176E0002900D075E0836810683B
:1002C0001E00009302330193002802D10A2040420D
:1002D00020E00821437982788B43022BF6D13378D2
:1002E0009A4263D0FF2B63D1327069680522324B8A
:1002F0009847041E0FD12868042203786968C01843
:100300002D4B9847019B0136B342DDD101222000DD
:100310002A4B5A71FEBD637922791B02A778D21845
:100320003800E178264B92B29847002842D17BB240
:10033000244A002B09DAB770380090472C602078E7
:100340006968214B20189847D3E7009B1F71F3E79A
:100350008468002A05D0136808225B799343022B36
:10036000B4D12378FF2B07D0FF25A0782570A842B1
:1003700002D0164B9847A5706378FF2B07D0FF2556
:10038000E0786570A84202D0104B9847E57020795C
:10039000FF2803D00D4B9847FF2323710020074B04
:1003A0005871B7E71B2092E70D2090E712208EE7E7
:1003B0001C208CE714208AE7E5140000840000204C
:1003C000F117000081180000FF140000551800000C
:1003D00010B50A4B984701280CD80948094B006210
:1003E000C361094B1830984701200849084B9847CA
:1003F000002010BD11204042FBE7C046B52200009E
:1004000084000020A902000051220000000000200A
:10041000C521000000207047074B9A8C920604D536
:100420001022D9681142FCD004E0D021DA680A40D9
:10043000D02AFBD17047C04600080040002803D0F6
:10044000002901D00230C0B2142301305843014BBF
:10045000C0187047080100200F2370B50100807C90
:10046000072503401A00CC7C083225405B01012D92
:1004700008D01449520152181021D171124A9B1808
:10048000597270BD40252C4206D08026AC43CC74F6
:100490000D4C1C196671A5710825CC7C5201AC432A
:1004A000CC7400240949C9188C728C7605495218FD
:1004B0006F21D171044A9B185972054B9B6898476C
:1004C000DFE7C04600500041FF500041A800002077
:1004D0000801002020238B40DAB20F2310B504005E
:1004E000807C054903405B015B185A72034B012174
:1004F0001B69A268984710BDFF5000410801002009
:1005000010B50300807CFF2809D04024DA7C224209
:1005100005D0A243DA74024A14699A68A04710BD54
:1005200008010020F7B59446837C134A01AE0D0004
:100530003280FF2B1AD04027C27C3A4216D00F22BD
:1005400013401C0008346201002910D00B4FD2194F
:10055000802717710949640164180949725D5B01BC
:100560005B18E27161465A72064B9847F7BD034922
:1005700052185771EEE7C046254A0000005000416E
:10058000FF50004101050000F0B50D000F21837CF4
:1005900085B00B409C46304B03AE338063465B0115
:1005A0000093634608332D495C01002D20D0095D7E
:1005B0004906490F009A2C01A418294A765D14199E
:1005C000A77AFFB2022917D101390F4214D0A77AB6
:1005D000224A5B019B188F43009AA772DE71214B60
:1005E0002940D218567204221F4B984705B0F0BD1F
:1005F0000C5D07212140DDE702213A000A4001920B
:100600000F4217D0A27AC77C8A43A272134A5B01B9
:100610009B18DE71009A134BD218072356723B4089
:10062000012BE3D17B06E1D5C17CC909A942DDD00C
:100630000022D9E7624651004D19094A2D0155198A
:10064000019A5B01AA72054A9B18DE71009A054B5C
:10065000D2185672CAE7C046040800000050004194
:10066000A8000020FF5000412505000070B5FF26BE
:10067000084D094CC83503212000084B984700213C
:10068000A674E1741434AC42F5D16022044B0548E1
:10069000984770BD080100201C01002001050000E2
:1006A00067230000A8000020F0B50F2785B0019156
:1006B000837C040002931F400023994205D04B4BDA
:1006C0007A019B185B699B049B0C258A484AAC46BF
:1006D000954202D06A1E12B294460722E07C024084
:1006E0000392019A002A04D042497A015218022149
:1006F000D171A26899186268A160914240D22368C2
:10070000521A59187B01394E92B2029383062CD5A6
:100710002B1C954200D9131C9DB22A00364BE06871
:100720009847324BE26879015B181A617B01F61831
:100730007369AD049B0BAA0C9D0315437561736926
:100740002E4A13407361019B002B08D1039B4E225C
:10075000012B00D0043A2A497B015B189A72254A82
:100760007B019B1880225A7139E08023151C9B0164
:100770009A4200D91D1C7B01F318ADB21961D5E76F
:1007800010267A0130420ED0E37C1C49B343E37457
:10079000164B9A18921953689B0B9B03536053682E
:1007A0000B405360CFE7039801281AD11448121860
:1007B0004B205072624613409D420CD14025E37C91
:1007C0000298AB43E3740F4BDB689847002806D1CF
:1007D000E37C2B43E374002120000B4B984705B0CA
:1007E000F0BD074812184A20E3E7C046A8000020E1
:1007F000FF0300000051004155230000FF3F00F0BF
:10080000FF50004108010020010500000F23F0B552
:10081000857C85B004000E001D40039101910029E4
:100820000AD0614B6A019B18596809018A0C03922E
:10083000596889048B0C0193238A0093009A5B4BBF
:100840009A4203D01300013B9BB20093019B009F8F
:10085000E27C1F40072313400293002E04D054492A
:100860006B015B180121D97193060FD56368002BCA
:100870000CD0A26821689B1A88181A1C9BB2BB4234
:1008800000D93A1CE1684B4B92B2984763686A0101
:100890009446002B2CD1E27CD10629D530339A43E3
:1008A000103B1A43E2746246E1683F4B424899505C
:1008B000218A63445A688904090902400A435A603C
:1008C0005A68920B92035A60002E0BD1029925228E
:1008D0006B01012903D1344AD21896762D2237496B
:1008E0005B189A72324B6D01ED1840232B711DE09D
:1008F000A168002E1CD0228ABA4219D91022E37CAA
:100900009343E374019B5918A160029A6B01012A79
:1009100046D12A4A9B182D225A72002D02D1224B11
:10092000E2681A6000212000254B984705B0F0BD11
:10093000039A5118A1608B42E7D92020E27C5B1A10
:10094000278A9BB2024216D0391C9F4200D9191C3B
:10095000E068154A8BB269015050134A1648624448
:1009600051689B041B0901400B43536053689B0B68
:100970009B035360A8E79F420BD2802080018342F3
:100980000CD8009A93432068074A41186801115017
:10099000E3E79F42F7D91043E074F4E70300F2E77E
:1009A000064A9B182522B7E7A8000020FF03000095
:1009B0000051004155230000FF3F00F0FF5000416F
:1009C00001050000802302009B0007209A4214D8F2
:1009D000013BFF3B01389A420FD80138802A0CD8DE
:1009E0000138402A09D80138202A06D80138102AAF
:1009F00003D80630904280414042704710B52A4CDF
:100A0000A378DB0718D40323A2781A42FCD1022270
:100A1000237813420AD02378934323700323A278C8
:100A20001A42FCD10223A2781A42FCD1012323707E
:100A30000233A2781A42FCD10123A2781A42FCD1D7
:100A40001A4B1B4A1A605A609A60DA601A61194B95
:100A500098471F20184B1A68530B910C92010340C2
:100A60000140520F834200D105231F2900D10239D2
:100A7000072A00D1023A9B010B431203134323853B
:100A80000323E2781A43E2700C22E1780A43E27011
:100A900004222270A278100018401A42FAD1074BA3
:100AA00063620123238110BD005000410801002032
:100AB000150400006D06000024608000A8000020DE
:100AC00003220E4B9978114214D199781142FCD12E
:100AD00002221978C8B2114205D102431A700322CA
:100AE00099781142FCD180210020054A1160054A05
:100AF0001A83704711204042FBE7C0460050004176
:100B000000E100E08D0200000121024A13898B43BD
:100B1000138170470050004180231843014B9872A5
:100B20007047C04600500041F7B50F2404402E4BDB
:100B300000910600C10947B22000019298470321A5
:100B4000009B05000B400093022C44D8837CFF2BB4
:100B500044D1009B002B10D1F943C9B2224B200095
:100B6000C9099847837CFF2B38D1F33B63431F4A65
:100B70009B58002B34D113202EE0002F14DA0C22C6
:100B800062431A4B9B185A68002A19D10C236343FD
:100B9000164CE418636800200099EB60019B01315A
:100BA0002B82E974AE74FEBD0C2363430F4A9B583D
:100BB000002B0BD00C2262430C4B9B181B8900E0CE
:100BC0005B89019A9A42D6DC002FDFDB0C235C4361
:100BD000064BE358DFE712204042E4E71420FBE72E
:100BE000002FE7DACBE7C0463D0400007823000081
:100BF000F7B50F2504000540022D1AD843B2C709E6
:100C000001933900144B28009847837C0600FF2B82
:100C10000FD00322114B390098470722F37C134071
:100C2000012B07D100220E4B08346401E254FF234C
:100C30007382F7BD63B2002B07DA7022094B6D0196
:100C4000ED186B7893436B70F1E7064B6401E41881
:100C5000637893436370EAE73D04000025050000D4
:100C600000500041FF500041F7B50F240440C10976
:100C7000474B45B220009847464B6101CE18727829
:100C80000700D2B2022C00D97DE0837C0193FF2BB8
:100C900000D178E0404B5C18C37C07211800084065
:100CA00001283BD177231100194000911A4200D04E
:100CB0006CE0663B73703D8A384B28009847E02310
:100CC000374ADB0500071840AB031340034363605A
:100CD000402180230F22AD04AD0C28436061B17127
:100CE0007371009B2C48A372A376019BAC03134045
:100CF000FA685B011A50C01842682A4D1540254316
:100D000045604268920B92034260224A00989B1809
:100D1000B0225A71A03A99719A72FEBD002D19DA6B
:100D2000702115000D400A4230D15B075B0E134362
:100D300073703F8A194B38009847E0230007DB05A2
:100D400018408023BF04BF0C384360617371A576DF
:100D50002800E2E715000D400A4217D15B075B0F40
:100D6000134373703F8A0D4B380098470C4ABB03FE
:100D70001340E0220007D205104003436360402384
:100D8000B371A572E4E712204042C6E71420FBE7E6
:100D90003D040000FF500041A8000020C5090000EC
:100DA00000C0FF0FFF3F00F0F8B507000F26C40991
:100DB00037400D0038002100294B98470200022FD0
:100DC0004AD8837C10203340A040012D10D1254DFE
:100DD0005901C0B2491948712021A14022485B0144
:100DE000C9B21B1899720823D17C0B43D37409E054
:100DF0005B01002D29D11D495D181B495B18D9796C
:100E0000084201D100201CE02021A140C0B258714D
:100E1000C8B258721E7A314204D00121A140C9B231
:100E2000187259710721D37C194001290AD1FF3565
:100E3000EC792F31200008400C42E3D128398B4354
:100E4000D374F8BD08218B43D0E7064A9B189B79E1
:100E50001840431E9841F4E712204042F1E7C04693
:100E60003D04000000510041FF500041005000418E
:100E7000F8B50F231840114B44011B190F001968D6
:100E80005D68AD04AD0C022812D8002F10D00C4BB9
:100E9000E4186378112B0ED11026227A00203242FA
:100EA00005D008223800074B984728002672F8BD65
:100EB00012204042FBE71320FBE7C046A8000020B9
:100EC000FF50004155230000F0B50F25077A87B089
:100ED0007BB23D40FF093900029306003A4B2800DF
:100EE00098473A49038A04001A008B4201D05A1EDF
:100EF00092B271680A400192022D62D88020326855
:100F0000800582420DD3324D8818A84209D80320AB
:100F100015000540024204D1029A002A0EDB9942D4
:100F200006D2E3680125002B08D11320404217E0C8
:100F3000019B002B16D0E368002B42D0E37C0220FB
:100F40001B070DD4234B05A89847E17C40230A00DA
:100F50001A400392204A194206D005A89047012062
:100F600007B0F0BD019DE9E70B43E37405A8904786
:100F70007F213368FA0123607368039F6360039BDA
:100F8000A360E37C0B40134369011D0020239D43B4
:100F90000D43E574737A002B02D0019F7B425F41C1
:100FA0001022E37C3F0193431F43029B002120005A
:100FB000E774002B03DA094B98470020D0E7084B71
:100FC000FAE71220B2E7C0463D040000FF0300002C
:100FD000FF7F0020C9220000D7220000A9060000E0
:100FE0000D080000002900D10549012802D1054B58
:100FF000596070470028FCD1024B1960F9E7C046E0
:101000001504000008010020002900D1074900282C
:1010100002D1074B99607047012802D1044BD96077
:10102000F9E70228F7D1024B1961F4E71504000033
:1010300008010020F7B56C4B1A8C91B20191002A7F
:1010400000D066E09A8B198B04200A401100014001
:10105000024204D09883654B1B689847F7BD8024F3
:101060001600A400264022421DD0614A9A839A822B
:10107000923AFF3A1A835F4B1A891207120F032A1A
:1010800005D01A8D1207120F032A07D10121002261
:1010900049015B1819891A814904490D0320534BF2
:1010A0005B689847DAE7802415002540224205D086
:1010B0009C834E4B310005205B68F2E770261400DC
:1010C000344032420AD04A4A9E839E821A834A4B57
:1010D0009847464B290002205B68E2E7082511008B
:1010E00029402A420CD0454A5470414A9D839E8231
:1010F0001A83434B98473D4B210001205B68D0E7A2
:10110000D20706D53A4A9A839A821E83374B5B6888
:10111000C7E700260F2701253A4CA37CFF2B38D0C8
:101120002A003B409A400199114232D036495A0177
:10113000521832495B015B181278997A0B00134000
:10114000114226D014217143284A521847211032E7
:10115000D27D1140012911D1DA0603D520002B4B95
:10116000984716E0402219001140134201D029008F
:1011700001E09B060DD52000254B09E051B2002966
:101180001CDA5906F3D4190708D529002000214B91
:10119000984701361434092EBFD15FE7990703D56C
:1011A000290020001C4BF3E707210A40012AF0D157
:1011B00000215A07EAD4DB06EBD5CFE7202019003F
:1011C0000140034201D00021D5E75807DED42B426D
:1011D00003D029002000114BDAE707210A40012A39
:1011E000D7D11A07E7D5D0E7005000410801002009
:1011F00001020000A800002019040000FF50004177
:101200006D0600001C010020075100415904000038
:10121000D504000089050000A90600000D080000A3
:10122000064B1A7AD2B21A725A7AD2B25A729A7A91
:10123000D2B29A72DA7AD2B2DA72704700040040FF
:101240000423074A10B551680B435360054B984778
:10125000054B9847054B9847FF20054B984710BD15
:1012600000400041211200000D1300003513000062
:10127000A91400000068002800D170478842F9D105
:101280000120FAE770B50C4B05000C000668984782
:10129000012358404F22094B0949C0B298472B6897
:1012A000002B02D12C60236070BD33003668002E05
:1012B000FBD11C602660F7E775120000C512000024
:1012C0009C230000002800D100BE7047064810B5DE
:1012D000064B40309847064B9847064B06489847C0
:1012E000064B984710BDC04690020020F121000037
:1012F000D103000069220000080000209D220000A8
:1013000010B5014B984710BDCD1200000E22084BBE
:101310009A8299690C3A0A431F219A611A7F0A40FE
:101320001A771E39DA6852080A42FBD07047C04665
:101330000008004002220121144B9A84DA68120945
:101340000A42FBD0124ADA62FC22D2019A62972248
:1013500052009A849A8C92080A4210D01022D968BE
:101360001142FCD08022998C0A430A499A844A7817
:10137000D209FCD102219A698A439A6170470121FE
:10138000DA6812090A42FBD0ECE7C04600080040C8
:1013900080BB0104000C0040F8B506000D001400ED
:1013A000002804D0081E02D01000431E9841F122EC
:1013B0001049114B98473700083738000F4B9847B2
:1013C0000028F8D000263800A95D0D4B984738005A
:1013D0000A4B98470028FAD00136B442F3D80125C9
:1013E000002C00D025003800064B98470028FAD082
:1013F0002800F8BDBA230000C5120000CB1C000075
:10140000BD1C0000D51C0000F7B5050014000191BB
:10141000002804D0081E02D01000431E98418622E6
:101420000C490D4B5200984700262F000837380012
:101430000A4B98470028F8D0094B38009847019B81
:1014400098550136B442F0D80120002C00D020007D
:10145000FEBDC046BA230000C5120000DF1C00001C
:10146000C31C000070B504000D00002802D0080065
:10147000431E98410749084B342298472000290011
:10148000064B08309847002803D1054B6360054B95
:10149000236070BDBA230000C5120000911C00003B
:1014A0000914000099130000C30708D580230A4AD5
:1014B0005B009360094B53605378DB09FCD18307D1
:1014C00008D50223044AFF339360054B53605378D9
:1014D000DB09FCD17047C046000C0040000701004A
:1014E0000105010010B5884201D3002010BD03782A
:1014F000012BFAD944789442F8D0C018F3E7884217
:1015000001D3002070470378012BFAD94278042ACE
:10151000F7D0052AF6D0C018F1E7000070B50D4BE2
:10152000150002220C00984700280FD170BD0378E7
:10153000012B0DD94378022B0AD14379AB42F5D068
:10154000C278837812029B189BB2C018A042EED3D7
:101550000020EBE7E514000070B50C001600002534
:10156000A04201D3002070BD03222100054B984703
:101570000028F8D00378012BF4D9B542F3D0C01875
:101580000135EDE7E514000002000F21002030B521
:10159000094B11405C7894420CD01D78002D01D18C
:1015A0008C4207D00130C4B2203340B2042CF1D1B8
:1015B0000120404230BDC04610030020002070478B
:1015C00070B5084B04000D009847074B40011B18ED
:1015D0009A780020032A03D1290020009B699847AC
:1015E00070BDC0468915000010030020F0B5374BD0
:1015F00087B00F00009001929847354D4401002FAD
:1016000041D12E19F770295D002933D12200B47819
:101610000C327078F369AA18032C27D10C270131FA
:10162000F757984703007078002B0BD0294B738035
:10163000002F02DB863BFF3B18430121264B9847D6
:1016400007B0F0BD04220393B2700493002F0ADBAD
:101650008023184302AB1873012302AA537303A813
:101660001E4B9847ECE70F231840F3E798470223F7
:10167000B370E5E70123B3702C19E178E369019AAF
:1016800000989847DCE72B19012F0CD10222DA7061
:10169000295D002904D19A7000980F4B9847EBE719
:1016A00005229A70E8E7022F08D10422DA702A5D39
:1016B000002A01D19F70C3E70122F2E7032F03D173
:1016C000A022D2005A80D7E7054AFBE7891500001F
:1016D0001003002005020000A90D0000C90E000043
:1016E00006060000F7B5184B0400984747013B0079
:1016F000164D0C335B19190001932000144B9847C9
:101700008026C0B226430096124E082806D001213A
:101710002000B04701210098B047F7BDED1901271F
:1017200000212000B04700210098B0472000019917
:101730006B69AF7098470028EFD10523390020006E
:10174000AB70B0473900E6E78915000010030020B0
:10175000710E0000A90D000070B5114B98470028CC
:101760001DDB104C8022002120000F4B98472300E6
:10177000FF2104240D4A013CE4B259705A619A6178
:10178000DA612033002CF6D1094D20000949A84721
:1017900001200949A84702200849A847200070BD38
:1017A000FD0900001003002067230000BD150000A4
:1017B00009100000E5160000C1150000ED1500003D
:1017C00010B5014B984710BDE50F000010B5014B57
:1017D000984710BDC10A000010B5014B984710BDD5
:1017E000090B000010B5014B984710BD190B000004
:1017F000F8B5104C06000D001700A047002813DABA
:10180000FF20A047041E12DB3A00290030000A4BDB
:101810009847002807DB03210020084B64011A19B0
:101820000D405670E554F8BD14204042FBE71520EA
:10183000FBE7C04689150000290B000010030020BB
:10184000002110B502000800014B984710BDC046AA
:10185000F117000070B5074B05009847041E07DB21
:101860002800054B9847FF2304486401041963705E
:1018700070BDC04689150000F10B00001003002068
:1018800070B50C4B0400984700280FDB0A4D40014F
:10189000425D2D1851424A4101322000074BAA7087
:1018A0009847002801DA0023AB7070BD1220404237
:1018B000FBE7C0468915000010030020690C0000FA
:1018C000F0B5037A04008BB018000193324B9847AF
:1018D000637A061E656802935BDB304B06A8984767
:1018E00073010093009A2E4B9E18B37804AAD71D5B
:1018F0003B703A78D3B203932A4B012A1DD10232AE
:10190000B27006A89847264B009AD35C002B1FD0D4
:101910000298019B421E9041D909C0B22368227AE5
:1019200007930895002931D080231A4304AB1A7518
:1019300058751D4B07A8984708E006A898473B78BC
:101940000120DAB2062B01D8184B98560BB0F0BD27
:10195000F27CB37C12029B189BB2002B05D10422AF
:1019600003981D000100B270D8E79D4200D91D0008
:101970000B4900208C46009A01006244127B7F2AAA
:10198000CCD99D429B4101315842C7E70F231A40F1
:10199000CCE712204042D9E789150000C922000097
:1019A00010030020D7220000C90E0000D62300003B
:1019B000F8B505000E1E1AD1124B9847041E1DDB08
:1019C00002212800104FB84700280FD0310028000E
:1019D000B84700280ADB0D480D4B640124186380CA
:1019E000320003212800E36998473000F8BD064B18
:1019F000012900D0022128009847F7E71220404231
:101A0000F4E7C04689150000A90D0000100300206E
:101A10000103000070B50F4B14000D009847002C17
:101A200000D10D4C002809DB012D08D0022D0BD070
:101A3000002D03D1094B40011818446170BD074BBC
:101A4000400118188461F9E7044B40011818C4617B
:101A5000F4E7C04689150000BD1500001003002002
:101A600010B5014B9847FEE7E91C000030B5012492
:101A70000C4BC5B2C0180378CAB2A3430A4923432A
:101A800003706B085B180F201978254205D00140C0
:101A900012011143C9B2197030BD81430A431A7053
:101AA000FAE7C046404400413044004110B51620DA
:101AB000034C0449A04717200349A04710BDC04666
:101AC0006D1A000002001600020017002023044ACD
:101AD000116A0B431362034B034A5A807047C04696
:101AE00000040040000C00401740000010B5054BFA
:101AF000984700220449054B05489847054B9847ED
:101B000010BDC046CD1A000000140042651400004C
:101B100090030020AD1A0000F8B5C025802380276F
:101B2000114C124AED05FF055B04AB60A762A2628F
:101B3000220004266B61583213781820B3431370C7
:101B40000B490C4B984780230B4A9B04AB60A76260
:101B5000A2626B61593423781920B343237007497B
:101B6000044B9847F8BDC04600440041000100C046
:101B7000060018006D1A0000000200C006001900DF
:101B80002022064BD9690A43DA61402259690A4387
:101B90005A61034B034A5A807047C0460004004014
:101BA000000C00400640000010B5034B9847034B63
:101BB0009847034B984710BD811B00005917000040
:101BC000191B000010B5034B9847034B9847034B74
:101BD000984710BD41120000ED1A0000A91B00003B
:101BE000C3691942FCD17047022210B50368032172
:101BF00093430360014B984710BDC046E11B0000B2
:101C00001B4B70B5C3189B0ADBB20400032B04D036
:101C10000020184A1849194B9847E369184DDB070B
:101C200011D4022603212000A8472368334205D09F
:101C30002000144B984731002000A84705230321BA
:101C400020002360A84720000121A8470E4B200058
:101C500023600321A847C0239B0220006360072163
:101C6000A8470020094BA381A0733034207070BDB9
:101C700000F8FFBD3A020000E4230000C512000096
:101C8000E11B0000E91B0000040010402BF6FFFFE1
:101C900070B50500431E98410C00B4220449054B61
:101CA000C0B298472C602000034B984770BDC046D7
:101CB000E4230000C5120000011C00000368198520
:101CC00070470368188DC0B270470368187E0123FF
:101CD000184070470368187E8007C00F704703687C
:101CE000187E4007C00F704710B5024B9847024B53
:101CF000984710BDC51B000001130000064B10B52E
:101D00001C69002C00D110BD200063680022012155
:101D100098472468F5E7C0469C03002070B505008D
:101D20000E00064BDC68002C00D170BD6368002BF0
:101D300002D03100280098472468F4E79C03002073
:101D4000F8B505000E0017000B4B9C68002C01D164
:101D50002000F8BD6368002B01D12468F6E73A0043
:101D6000310028009847002804D00A30F5D001201F
:101D70004042EEE70120ECE79C030020054B10B544
:101D80005C68002C00D110BD6368002B00D0984720
:101D90002468F6E79C03002010B51400002903D046
:101DA000012923D0002010BD1378002BFAD15378DD
:101DB000052B0FD0092BF5D1E17892780E4B090253
:101DC0001143D9764A1E91410331997601200B4B7C
:101DD0009847E7E70A4B90789847E178A27809029C
:101DE00011434B1E9941044B0231EEE70A00054BAB
:101DF000210000209847D5E79C0300201D1D00000E
:101E0000E5170000411D000070B5002402260C4BB0
:101E100098470C4D20006E830B4B6C7798470B4B0B
:101E2000287F98470A4D210020000A4AA847310020
:101E30002000094AA8472000084B984770BDC046BB
:101E4000FD1C00009C0300205518000041180000F4
:101E5000151A00009D1E0000991D00008118000049
:101E600010B5002802D0012803D010BD024B9847BE
:101E7000FBE7024B9847F8E71D1D0000091E000014
:101E80001FB502926A461073537301A8024B019169
:101E9000984705B000BDC046C1180000F7B5B74B64
:101EA000002204000D009847030000205A1C00D1B6
:101EB000C1E00130834200D1BDE02B781F22190020
:101EC000914304D0802900D1B6E00020B3E06878C7
:101ED00001380A28F9D800F005FA46F856F80BF848
:101EE000F8F806F86000AA78002A0BD1A44B9847AE
:101EF0000022012311002000A24CA0474342584178
:101F0000C0B298E0A04D2B6803CBA04B98470028A7
:101F100000D190E0C37881781B02C91889B24118BA
:101F200004229B4B01919847FF220090009B002BBD
:101F3000DED09E78964202D02F69002F0AD10098F9
:101F4000042203780199C0180090914B9847320001
:101F50000090EBE76A46002138007B68984700282C
:101F6000EDD03F68E9E7022BAFD1EE79AB793602CD
:101F70001E43AAD131002879864B984701233200AD
:101F80003100200054E0022B9FD1EB79AE791B0287
:101F90001E439AD101212879EEE7EC78AB78240230
:101FA0001C432B796D79784E2D021D433368F27EE8
:101FB00003CB764B9847002887D004220090C37843
:101FC00081781B02C91889B24118714F0191B84735
:101FD000002800D179E78378AB4210D1C378A342BF
:101FE0000DD137690090002F00D16EE701216A46BC
:101FF00038007B689847011E08D03F68F3E70098D7
:10200000042203780199C0180090E0E76A4638007E
:102010007B689847002800D057E7002C04D00122A5
:10202000AA40737F1343737700231A001900180026
:10203000544CA0470120FEBD68780A2800D944E727
:1020400000F05AF9620043FF43FF43FF43FF43FFA1
:102050000B0043FF5A0043FF8300E978AB78090285
:102060000B43090ACAB2022917D0032A34D0002030
:10207000012AE0D1AB79ED792D021D43424B1B685B
:1020800003CB434B9847011E00D11EE72A1C122D9B
:1020900000D91222002392B22DE7AA79ED790133FB
:1020A0002D021543384A1068167F03C8DAB2374B41
:1020B0009847011E00D108E7C37882781B02D21826
:1020C00092B20023954205D9013E35406B425D41F5
:1020D000EBB215002A000EE7AA79ED792D0215431F
:1020E000294A1068167F03C8DAB22B4B9847011EA5
:1020F00000D1EAE60278E4E72349CB7E4A6913700F
:102100004969002301223CE71F211E2218001940C3
:10211000104013420ED0022900D0D6E61D4B28797C
:10212000984703000020834200DA84E7013003402F
:10213000009300E00090144D02226946174B686935
:1021400098470023022269691BE70F4E6B792979B2
:10215000727F1B020B431A410124100020402242CF
:102160001ED03469002C00D1AFE62A0002212000E5
:102170006368984700281BDA2468F3E7411D0000D4
:10218000FD1C0000811E00009C0300201D150000A6
:10219000E5140000B1190000591500005523000096
:1021A00073692200187071690300054DA84741E763
:1021B00073690122187000237169180038E7C0465E
:1021C000811E000010B5012808D0022809D000287F
:1021D00003D105480430054B984710BD024808302C
:1021E000F9E701480C30F6E79C0300208512000057
:1021F00070B50400431E98410C4A0D4B0D49C0B206
:1022000098470D4B984700280EDB0C4D20220C4BB5
:1022100000212800984700200A496C610A4CA04719
:1022200001200A49A047002070BDC04655030000A8
:10223000C5120000FF230000591700009C03002076
:10224000672300007D1D0000C1170000611E000013
:1022500010B501000248034B1030984710BDC0462E
:102260009C0300208512000010B50A4B9C7E002CB8
:102270000BD100280CD002681860D2791A7701229D
:102280009A76054B9847200010BD04204042FBE79A
:102290000920FBE79C030020CD17000010B5014B7F
:1022A000984710BDD9170000014B58697047C046C8
:1022B0009C030020034B987E1023184200D0180086
:1022C0007047C0469C030020EFF31083036072B692
:1022D000BFF35F8F7047BFF35F8F036883F310888E
:1022E0007047000002B47146490849000956490088
:1022F0008E4402BC7047C04603B471464908400092
:102300004900095E49008E4403BC704770B5002641
:102310000C4D0D4C641BA410A64209D1002600F000
:102320007BF80A4D0A4C641BA410A64205D170BD6F
:10233000B300EB5898470136EEE7B300EB589847E7
:102340000136F2E7242400002424000024240000A5
:1023500028240000002310B59A4200D110BDCC5CA7
:10236000C4540133F8E703008218934200D1704748
:1023700019700133F9E7000050020020000000004E
:10238000400000001002002000000000400000009B
:10239000D001002000000000400000002E2E2F6819
:1023A000616C2F7574696C732F7372632F75746908
:1023B0006C735F6C6973742E63002E2E2F68616CD2
:1023C0002F7372632F68616C5F75736172745F73D2
:1023D000796E632E6300ED0101010102F0ED000151
:1023E000010102F02E2E2F68706C2F736572636FDF
:1023F0006D2F68706C5F736572636F6D2E63002E56
:102400002E2F7573622F6465766963652F7573620D
:1024100064632E6300000000F8B5C046F8BC08BC39
:102420009E467047DD000000F8B5C046F8BC08BC09
:082430009E467047B500000054
:1024380000000000D5010000100000206500002009
:102448001201100202000040EB0304240001010203
:10245800000109024300020100A032090400000142
:1024680002020000052400011005240101000424D3
:10247800020205240600010705820340000A090438
:102488000100020A000000070501024000000705DC
:08249800810240000000000079
:00000001FF

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,277 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
ifdef SystemRoot
SHELL = cmd.exe
MK_DIR = mkdir
else
ifeq ($(shell uname), Linux)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), CYGWIN)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW32)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW64)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), DARWIN)
MK_DIR = mkdir -p
endif
endif
# List the subdirectories for creating object files
SUB_DIRS += \
\
hpl/usb \
usb/class/cdc/device \
hpl/systick \
hpl/dmac \
hal/src \
samd21a/gcc/gcc \
samd21a/gcc \
hpl/pm \
hpl/sysctrl \
hal/utils/src \
hpl/sercom \
examples \
hpl/gclk \
usb \
hpl/core \
usb/device
# List the object files
OBJS += \
hal/src/hal_io.o \
hpl/systick/hpl_systick.o \
samd21a/gcc/gcc/startup_samd21.o \
usb/class/cdc/device/cdcdf_acm.o \
hal/utils/src/utils_syscalls.o \
hpl/usb/hpl_usb.o \
hal/src/hal_delay.o \
hpl/pm/hpl_pm.o \
hpl/core/hpl_init.o \
hal/utils/src/utils_list.o \
hpl/core/hpl_core_m0plus_base.o \
hal/utils/src/utils_assert.o \
usb_start.o \
hpl/sysctrl/hpl_sysctrl.o \
hal/src/hal_usart_sync.o \
hpl/gclk/hpl_gclk.o \
usb/usb_protocol.o \
hal/src/hal_init.o \
hal/src/hal_usb_device.o \
main.o \
samd21a/gcc/system_samd21.o \
examples/driver_examples.o \
driver_init.o \
hpl/sercom/hpl_sercom.o \
hal/src/hal_gpio.o \
hal/utils/src/utils_event.o \
hal/src/hal_sleep.o \
hpl/dmac/hpl_dmac.o \
atmel_start.o \
usb/device/usbdc.o \
hal/src/hal_atomic.o
OBJS_AS_ARGS += \
"hal/src/hal_io.o" \
"hpl/systick/hpl_systick.o" \
"samd21a/gcc/gcc/startup_samd21.o" \
"usb/class/cdc/device/cdcdf_acm.o" \
"hal/utils/src/utils_syscalls.o" \
"hpl/usb/hpl_usb.o" \
"hal/src/hal_delay.o" \
"hpl/pm/hpl_pm.o" \
"hpl/core/hpl_init.o" \
"hal/utils/src/utils_list.o" \
"hpl/core/hpl_core_m0plus_base.o" \
"hal/utils/src/utils_assert.o" \
"usb_start.o" \
"hpl/sysctrl/hpl_sysctrl.o" \
"hal/src/hal_usart_sync.o" \
"hpl/gclk/hpl_gclk.o" \
"usb/usb_protocol.o" \
"hal/src/hal_init.o" \
"hal/src/hal_usb_device.o" \
"main.o" \
"samd21a/gcc/system_samd21.o" \
"examples/driver_examples.o" \
"driver_init.o" \
"hpl/sercom/hpl_sercom.o" \
"hal/src/hal_gpio.o" \
"hal/utils/src/utils_event.o" \
"hal/src/hal_sleep.o" \
"hpl/dmac/hpl_dmac.o" \
"atmel_start.o" \
"usb/device/usbdc.o" \
"hal/src/hal_atomic.o"
# List the directories containing header files
DIR_INCLUDES += \
-I"../" \
-I"../config" \
-I"../examples" \
-I"../hal/include" \
-I"../hal/utils/include" \
-I"../hpl/core" \
-I"../hpl/dmac" \
-I"../hpl/gclk" \
-I"../hpl/pm" \
-I"../hpl/port" \
-I"../hpl/sercom" \
-I"../hpl/sysctrl" \
-I"../hpl/systick" \
-I"../hpl/usb" \
-I"../hri" \
-I"../" \
-I"../config" \
-I"../usb" \
-I"../usb/class/cdc" \
-I"../usb/class/cdc/device" \
-I"../usb/device" \
-I"../" \
-I"../CMSIS/Core/Include" \
-I"../samd21a/include"
# List the dependency files
DEPS := $(OBJS:%.o=%.d)
DEPS_AS_ARGS += \
"samd21a/gcc/gcc/startup_samd21.d" \
"hal/utils/src/utils_event.d" \
"hal/src/hal_io.d" \
"hpl/systick/hpl_systick.d" \
"hal/utils/src/utils_syscalls.d" \
"usb/class/cdc/device/cdcdf_acm.d" \
"hpl/usb/hpl_usb.d" \
"hpl/core/hpl_core_m0plus_base.d" \
"hal/utils/src/utils_list.d" \
"usb_start.d" \
"hal/utils/src/utils_assert.d" \
"hal/src/hal_delay.d" \
"hpl/core/hpl_init.d" \
"hpl/sysctrl/hpl_sysctrl.d" \
"usb/usb_protocol.d" \
"hpl/gclk/hpl_gclk.d" \
"hal/src/hal_usb_device.d" \
"hpl/dmac/hpl_dmac.d" \
"hal/src/hal_init.d" \
"hal/src/hal_usart_sync.d" \
"driver_init.d" \
"samd21a/gcc/system_samd21.d" \
"main.d" \
"examples/driver_examples.d" \
"hal/src/hal_sleep.d" \
"hpl/sercom/hpl_sercom.d" \
"hal/src/hal_gpio.d" \
"hal/src/hal_atomic.d" \
"usb/device/usbdc.d" \
"hpl/pm/hpl_pm.d" \
"atmel_start.d"
OUTPUT_FILE_NAME :=ARC-FW
QUOTE := "
OUTPUT_FILE_PATH +=$(OUTPUT_FILE_NAME).elf
OUTPUT_FILE_PATH_AS_ARGS +=$(OUTPUT_FILE_NAME).elf
vpath %.c ../
vpath %.s ../
vpath %.S ../
# All Target
all: $(SUB_DIRS) $(OUTPUT_FILE_PATH)
# Linker target
$(OUTPUT_FILE_PATH): $(OBJS)
@echo Building target: $@
@echo Invoking: ARM/GNU Linker
$(QUOTE)arm-none-eabi-gcc$(QUOTE) -o $(OUTPUT_FILE_NAME).elf $(OBJS_AS_ARGS) -Wl,--start-group -lm -Wl,--end-group -mthumb \
-Wl,-Map="$(OUTPUT_FILE_NAME).map" --specs=nano.specs -Wl,--gc-sections -mcpu=cortex-m0plus \
\
-T"../samd21a/gcc/gcc/samd21e18a_flash.ld" \
-L"../samd21a/gcc/gcc"
@echo Finished building target: $@
"arm-none-eabi-objcopy" -O binary "$(OUTPUT_FILE_NAME).elf" "$(OUTPUT_FILE_NAME).bin"
"arm-none-eabi-objcopy" -O ihex -R .eeprom -R .fuse -R .lock -R .signature \
"$(OUTPUT_FILE_NAME).elf" "$(OUTPUT_FILE_NAME).hex"
"arm-none-eabi-objcopy" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma \
.eeprom=0 --no-change-warnings -O binary "$(OUTPUT_FILE_NAME).elf" \
"$(OUTPUT_FILE_NAME).eep" || exit 0
"arm-none-eabi-objdump" -h -S "$(OUTPUT_FILE_NAME).elf" > "$(OUTPUT_FILE_NAME).lss"
"arm-none-eabi-size" "$(OUTPUT_FILE_NAME).elf"
# Compiler targets
%.o: %.c
@echo Building file: $<
@echo ARM/GNU C Compiler
$(QUOTE)arm-none-eabi-gcc$(QUOTE) -x c -mthumb -DDEBUG -Os -ffunction-sections -mlong-calls -g3 -Wall -c -std=gnu99 \
-D__SAMD21E18A__ -mcpu=cortex-m0plus \
$(DIR_INCLUDES) \
-MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
%.o: %.s
@echo Building file: $<
@echo ARM/GNU Assembler
$(QUOTE)arm-none-eabi-as$(QUOTE) -x c -mthumb -DDEBUG -Os -ffunction-sections -mlong-calls -g3 -Wall -c -std=gnu99 \
-D__SAMD21E18A__ -mcpu=cortex-m0plus \
$(DIR_INCLUDES) \
-MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
%.o: %.S
@echo Building file: $<
@echo ARM/GNU Preprocessing Assembler
$(QUOTE)arm-none-eabi-gcc$(QUOTE) -x c -mthumb -DDEBUG -Os -ffunction-sections -mlong-calls -g3 -Wall -c -std=gnu99 \
-D__SAMD21E18A__ -mcpu=cortex-m0plus \
$(DIR_INCLUDES) \
-MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
# Detect changes in the dependent files and recompile the respective object files.
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(DEPS)),)
-include $(DEPS)
endif
endif
$(SUB_DIRS):
$(MK_DIR) "$@"
clean:
rm -f $(OBJS_AS_ARGS)
rm -f $(OUTPUT_FILE_PATH)
rm -f $(DEPS_AS_ARGS)
rm -f $(OUTPUT_FILE_NAME).a $(OUTPUT_FILE_NAME).hex $(OUTPUT_FILE_NAME).bin \
$(OUTPUT_FILE_NAME).lss $(OUTPUT_FILE_NAME).eep $(OUTPUT_FILE_NAME).map \
$(OUTPUT_FILE_NAME).srec
clean:
rm -f $(OBJS_AS_ARGS)
rm -f $(OUTPUT_FILE_PATH)
rm -f $(DEPS_AS_ARGS)
rm -f $(OUTPUT_FILE_NAME).a $(OUTPUT_FILE_NAME).hex $(OUTPUT_FILE_NAME).bin \
$(OUTPUT_FILE_NAME).lss $(OUTPUT_FILE_NAME).eep $(OUTPUT_FILE_NAME).map \
$(OUTPUT_FILE_NAME).srec
debug: $(OUTPUT_FILE_NAME).elf
@$(QUOTE)arm-none-eabi-gdb$(QUOTE) $(OUTPUT_FILE_NAME).elf -x scripts/debug.gdb
push: $(OUTPUT_FILE_NAME).elf
@echo $(QUOTE)$(QUOTE)
@echo $(QUOTE)Uploading $(OUTPUT_FILE_NAME).elf...$(QUOTE)
@$(QUOTE)arm-none-eabi-gdb$(QUOTE) $(OUTPUT_FILE_NAME).elf -x scripts/push.gdb >/dev/null
@echo $(QUOTE)$(QUOTE)$(OUTPUT_FILE_NAME).elf$(QUOTE) uploaded!$(QUOTE)
@$(QUOTE)arm-none-eabi-size$(QUOTE) $(QUOTE)$(OUTPUT_FILE_NAME).elf$(QUOTE)

@ -0,0 +1,236 @@
atmel_start.d atmel_start.o: ../atmel_start.c ../atmel_start.h \
../driver_init.h ../atmel_start_pins.h ../hal/include/hal_gpio.h \
../hal/include/hpl_gpio.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hpl/port/hpl_gpio_base.h \
../hal/utils/include/utils_assert.h ../hal/include/hal_delay.h \
../hal/include/hpl_irq.h ../hal/include/hpl_reset.h \
../hal/include/hpl_sleep.h ../hal/include/hal_init.h \
../hal/include/hpl_init.h ../hal/include/hal_io.h \
../hal/include/hal_sleep.h ../hal/include/hal_usart_sync.h \
../hal/include/hal_io.h ../hal/include/hpl_usart_sync.h \
../hal/include/hpl_usart.h ../hal/include/hal_usb_device.h \
../hal/include/hpl_usb_device.h ../hal/include/hpl_usb.h \
../hal/utils/include/utils.h ../config/hpl_usb_config.h ../usb_start.h \
../usb/class/cdc/device/cdcdf_acm.h ../usb/device/usbdc.h \
../usb/usb_includes.h /usr/arm-none-eabi/include/string.h \
/usr/arm-none-eabi/include/_ansi.h /usr/arm-none-eabi/include/newlib.h \
/usr/arm-none-eabi/include/sys/config.h \
/usr/arm-none-eabi/include/machine/ieeefp.h \
/usr/arm-none-eabi/include/sys/reent.h \
/usr/arm-none-eabi/include/_ansi.h \
/usr/arm-none-eabi/include/sys/_types.h \
/usr/arm-none-eabi/include/machine/_types.h \
/usr/arm-none-eabi/include/sys/lock.h \
/usr/arm-none-eabi/include/sys/cdefs.h \
/usr/arm-none-eabi/include/sys/_locale.h \
/usr/arm-none-eabi/include/strings.h \
/usr/arm-none-eabi/include/sys/string.h \
../hal/utils/include/utils_list.h ../usb/usb_protocol.h \
../usb/usb_includes.h ../config/usbd_config.h \
../usb/class/cdc/usb_protocol_cdc.h \
../usb/class/cdc/device/cdcdf_acm_desc.h
../atmel_start.h:
../driver_init.h:
../atmel_start_pins.h:
../hal/include/hal_gpio.h:
../hal/include/hpl_gpio.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hpl/port/hpl_gpio_base.h:
../hal/utils/include/utils_assert.h:
../hal/include/hal_delay.h:
../hal/include/hpl_irq.h:
../hal/include/hpl_reset.h:
../hal/include/hpl_sleep.h:
../hal/include/hal_init.h:
../hal/include/hpl_init.h:
../hal/include/hal_io.h:
../hal/include/hal_sleep.h:
../hal/include/hal_usart_sync.h:
../hal/include/hal_io.h:
../hal/include/hpl_usart_sync.h:
../hal/include/hpl_usart.h:
../hal/include/hal_usb_device.h:
../hal/include/hpl_usb_device.h:
../hal/include/hpl_usb.h:
../hal/utils/include/utils.h:
../config/hpl_usb_config.h:
../usb_start.h:
../usb/class/cdc/device/cdcdf_acm.h:
../usb/device/usbdc.h:
../usb/usb_includes.h:
/usr/arm-none-eabi/include/string.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/newlib.h:
/usr/arm-none-eabi/include/sys/config.h:
/usr/arm-none-eabi/include/machine/ieeefp.h:
/usr/arm-none-eabi/include/sys/reent.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/sys/_types.h:
/usr/arm-none-eabi/include/machine/_types.h:
/usr/arm-none-eabi/include/sys/lock.h:
/usr/arm-none-eabi/include/sys/cdefs.h:
/usr/arm-none-eabi/include/sys/_locale.h:
/usr/arm-none-eabi/include/strings.h:
/usr/arm-none-eabi/include/sys/string.h:
../hal/utils/include/utils_list.h:
../usb/usb_protocol.h:
../usb/usb_includes.h:
../config/usbd_config.h:
../usb/class/cdc/usb_protocol_cdc.h:
../usb/class/cdc/device/cdcdf_acm_desc.h:

Binary file not shown.

@ -0,0 +1,198 @@
driver_init.d driver_init.o: ../driver_init.c ../driver_init.h \
../atmel_start_pins.h ../hal/include/hal_gpio.h \
../hal/include/hpl_gpio.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hpl/port/hpl_gpio_base.h \
../hal/utils/include/utils_assert.h ../hal/include/hal_delay.h \
../hal/include/hpl_irq.h ../hal/include/hpl_reset.h \
../hal/include/hpl_sleep.h ../hal/include/hal_init.h \
../hal/include/hpl_init.h ../hal/include/hal_io.h \
../hal/include/hal_sleep.h ../hal/include/hal_usart_sync.h \
../hal/include/hal_io.h ../hal/include/hpl_usart_sync.h \
../hal/include/hpl_usart.h ../hal/include/hal_usb_device.h \
../hal/include/hpl_usb_device.h ../hal/include/hpl_usb.h \
../hal/utils/include/utils.h ../config/hpl_usb_config.h \
../config/peripheral_clk_config.h ../hpl/gclk/hpl_gclk_base.h \
../hpl/pm/hpl_pm_base.h
../driver_init.h:
../atmel_start_pins.h:
../hal/include/hal_gpio.h:
../hal/include/hpl_gpio.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hpl/port/hpl_gpio_base.h:
../hal/utils/include/utils_assert.h:
../hal/include/hal_delay.h:
../hal/include/hpl_irq.h:
../hal/include/hpl_reset.h:
../hal/include/hpl_sleep.h:
../hal/include/hal_init.h:
../hal/include/hpl_init.h:
../hal/include/hal_io.h:
../hal/include/hal_sleep.h:
../hal/include/hal_usart_sync.h:
../hal/include/hal_io.h:
../hal/include/hpl_usart_sync.h:
../hal/include/hpl_usart.h:
../hal/include/hal_usb_device.h:
../hal/include/hpl_usb_device.h:
../hal/include/hpl_usb.h:
../hal/utils/include/utils.h:
../config/hpl_usb_config.h:
../config/peripheral_clk_config.h:
../hpl/gclk/hpl_gclk_base.h:
../hpl/pm/hpl_pm_base.h:

Binary file not shown.

@ -0,0 +1,195 @@
examples/driver_examples.d examples/driver_examples.o: \
../examples/driver_examples.c ../examples/driver_examples.h \
../driver_init.h ../atmel_start_pins.h ../hal/include/hal_gpio.h \
../hal/include/hpl_gpio.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hpl/port/hpl_gpio_base.h \
../hal/utils/include/utils_assert.h ../hal/include/hal_delay.h \
../hal/include/hpl_irq.h ../hal/include/hpl_reset.h \
../hal/include/hpl_sleep.h ../hal/include/hal_init.h \
../hal/include/hpl_init.h ../hal/include/hal_io.h \
../hal/include/hal_sleep.h ../hal/include/hal_usart_sync.h \
../hal/include/hal_io.h ../hal/include/hpl_usart_sync.h \
../hal/include/hpl_usart.h ../hal/include/hal_usb_device.h \
../hal/include/hpl_usb_device.h ../hal/include/hpl_usb.h \
../hal/utils/include/utils.h ../config/hpl_usb_config.h
../examples/driver_examples.h:
../driver_init.h:
../atmel_start_pins.h:
../hal/include/hal_gpio.h:
../hal/include/hpl_gpio.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hpl/port/hpl_gpio_base.h:
../hal/utils/include/utils_assert.h:
../hal/include/hal_delay.h:
../hal/include/hpl_irq.h:
../hal/include/hpl_reset.h:
../hal/include/hpl_sleep.h:
../hal/include/hal_init.h:
../hal/include/hpl_init.h:
../hal/include/hal_io.h:
../hal/include/hal_sleep.h:
../hal/include/hal_usart_sync.h:
../hal/include/hal_io.h:
../hal/include/hpl_usart_sync.h:
../hal/include/hpl_usart.h:
../hal/include/hal_usb_device.h:
../hal/include/hpl_usb_device.h:
../hal/include/hpl_usb.h:
../hal/utils/include/utils.h:
../config/hpl_usb_config.h:

File diff suppressed because it is too large Load Diff

@ -0,0 +1,159 @@
hal/src/hal_atomic.d hal/src/hal_atomic.o: ../hal/src/hal_atomic.c \
../hal/include/hal_atomic.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hri/hri_adc_d21.h ../hri/hri_dac_d21.h ../hri/hri_dmac_d21.h \
../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h ../hri/hri_evsys_d21.h \
../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h ../hri/hri_i2s_d21.h \
../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h ../hri/hri_nvmctrl_d21.h \
../hri/hri_pac_d21.h ../hri/hri_pm_d21.h ../hri/hri_port_d21.h \
../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h ../hri/hri_sysctrl_d21.h \
../hri/hri_systemcontrol_d21.h ../hri/hri_systick_d21.h \
../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h ../hri/hri_usb_d21.h \
../hri/hri_wdt_d21.h ../hal/utils/include/err_codes.h
../hal/include/hal_atomic.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:

@ -0,0 +1,167 @@
hal/src/hal_delay.d hal/src/hal_delay.o: ../hal/src/hal_delay.c \
../hal/include/hpl_irq.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/include/hpl_reset.h \
../hal/include/hpl_sleep.h ../hal/include/hal_delay.h \
../hal/include/hpl_delay.h
../hal/include/hpl_irq.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/include/hpl_reset.h:
../hal/include/hpl_sleep.h:
../hal/include/hal_delay.h:
../hal/include/hpl_delay.h:

@ -0,0 +1,166 @@
hal/src/hal_gpio.d hal/src/hal_gpio.o: ../hal/src/hal_gpio.c \
../hal/include/hal_gpio.h ../hal/include/hpl_gpio.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hpl/port/hpl_gpio_base.h \
../hal/utils/include/utils_assert.h
../hal/include/hal_gpio.h:
../hal/include/hpl_gpio.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hpl/port/hpl_gpio_base.h:
../hal/utils/include/utils_assert.h:

@ -0,0 +1,163 @@
hal/src/hal_init.d hal/src/hal_init.o: ../hal/src/hal_init.c \
../hal/include/hal_init.h ../hal/include/hpl_init.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h
../hal/include/hal_init.h:
../hal/include/hpl_init.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:

@ -0,0 +1,162 @@
hal/src/hal_io.d hal/src/hal_io.o: ../hal/src/hal_io.c \
../hal/include/hal_io.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/utils/include/utils_assert.h
../hal/include/hal_io.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/utils/include/utils_assert.h:

@ -0,0 +1,163 @@
hal/src/hal_sleep.d hal/src/hal_sleep.o: ../hal/src/hal_sleep.c \
../hal/include/hal_sleep.h ../hal/include/hpl_sleep.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h
../hal/include/hal_sleep.h:
../hal/include/hpl_sleep.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:

@ -0,0 +1,169 @@
hal/src/hal_usart_sync.d hal/src/hal_usart_sync.o: \
../hal/src/hal_usart_sync.c ../hal/include/hal_usart_sync.h \
../hal/include/hal_io.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/include/hpl_usart_sync.h \
../hal/include/hpl_usart.h ../hal/utils/include/utils_assert.h \
../hal/utils/include/utils.h
../hal/include/hal_usart_sync.h:
../hal/include/hal_io.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/include/hpl_usart_sync.h:
../hal/include/hpl_usart.h:
../hal/utils/include/utils_assert.h:
../hal/utils/include/utils.h:

@ -0,0 +1,194 @@
hal/src/hal_usb_device.d hal/src/hal_usb_device.o: \
../hal/src/hal_usb_device.c ../hal/include/hal_usb_device.h \
../hal/include/hpl_usb_device.h ../hal/include/hpl_usb.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/utils/include/utils.h \
../config/hpl_usb_config.h /usr/arm-none-eabi/include/string.h \
/usr/arm-none-eabi/include/_ansi.h /usr/arm-none-eabi/include/newlib.h \
/usr/arm-none-eabi/include/sys/config.h \
/usr/arm-none-eabi/include/machine/ieeefp.h \
/usr/arm-none-eabi/include/sys/reent.h \
/usr/arm-none-eabi/include/_ansi.h \
/usr/arm-none-eabi/include/sys/_types.h \
/usr/arm-none-eabi/include/machine/_types.h \
/usr/arm-none-eabi/include/sys/lock.h \
/usr/arm-none-eabi/include/sys/cdefs.h \
/usr/arm-none-eabi/include/sys/_locale.h \
/usr/arm-none-eabi/include/strings.h \
/usr/arm-none-eabi/include/sys/string.h
../hal/include/hal_usb_device.h:
../hal/include/hpl_usb_device.h:
../hal/include/hpl_usb.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/utils/include/utils.h:
../config/hpl_usb_config.h:
/usr/arm-none-eabi/include/string.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/newlib.h:
/usr/arm-none-eabi/include/sys/config.h:
/usr/arm-none-eabi/include/machine/ieeefp.h:
/usr/arm-none-eabi/include/sys/reent.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/sys/_types.h:
/usr/arm-none-eabi/include/machine/_types.h:
/usr/arm-none-eabi/include/sys/lock.h:
/usr/arm-none-eabi/include/sys/cdefs.h:
/usr/arm-none-eabi/include/sys/_locale.h:
/usr/arm-none-eabi/include/strings.h:
/usr/arm-none-eabi/include/sys/string.h:

@ -0,0 +1,162 @@
hal/utils/src/utils_assert.d hal/utils/src/utils_assert.o: \
../hal/utils/src/utils_assert.c ../hal/utils/include/utils_assert.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h
../hal/utils/include/utils_assert.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:

@ -0,0 +1,194 @@
hal/utils/src/utils_event.d hal/utils/src/utils_event.o: \
../hal/utils/src/utils_event.c ../hal/utils/include/utils_event.h \
../hal/utils/include/utils.h ../hal/utils/include/utils_list.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/utils/include/events.h \
../hal/utils/include/utils_assert.h /usr/arm-none-eabi/include/string.h \
/usr/arm-none-eabi/include/_ansi.h /usr/arm-none-eabi/include/newlib.h \
/usr/arm-none-eabi/include/sys/config.h \
/usr/arm-none-eabi/include/machine/ieeefp.h \
/usr/arm-none-eabi/include/sys/reent.h \
/usr/arm-none-eabi/include/_ansi.h \
/usr/arm-none-eabi/include/sys/_types.h \
/usr/arm-none-eabi/include/machine/_types.h \
/usr/arm-none-eabi/include/sys/lock.h \
/usr/arm-none-eabi/include/sys/cdefs.h \
/usr/arm-none-eabi/include/sys/_locale.h \
/usr/arm-none-eabi/include/strings.h \
/usr/arm-none-eabi/include/sys/string.h
../hal/utils/include/utils_event.h:
../hal/utils/include/utils.h:
../hal/utils/include/utils_list.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/utils/include/events.h:
../hal/utils/include/utils_assert.h:
/usr/arm-none-eabi/include/string.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/newlib.h:
/usr/arm-none-eabi/include/sys/config.h:
/usr/arm-none-eabi/include/machine/ieeefp.h:
/usr/arm-none-eabi/include/sys/reent.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/sys/_types.h:
/usr/arm-none-eabi/include/machine/_types.h:
/usr/arm-none-eabi/include/sys/lock.h:
/usr/arm-none-eabi/include/sys/cdefs.h:
/usr/arm-none-eabi/include/sys/_locale.h:
/usr/arm-none-eabi/include/strings.h:
/usr/arm-none-eabi/include/sys/string.h:

@ -0,0 +1,163 @@
hal/utils/src/utils_list.d hal/utils/src/utils_list.o: \
../hal/utils/src/utils_list.c ../hal/utils/include/utils_list.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/utils/include/utils_assert.h
../hal/utils/include/utils_list.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/utils/include/utils_assert.h:

@ -0,0 +1,65 @@
hal/utils/src/utils_syscalls.d hal/utils/src/utils_syscalls.o: \
../hal/utils/src/utils_syscalls.c /usr/arm-none-eabi/include/stdio.h \
/usr/arm-none-eabi/include/_ansi.h /usr/arm-none-eabi/include/newlib.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/config.h \
/usr/arm-none-eabi/include/machine/ieeefp.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/sys/cdefs.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdarg.h \
/usr/arm-none-eabi/include/sys/reent.h \
/usr/arm-none-eabi/include/_ansi.h \
/usr/arm-none-eabi/include/sys/_types.h \
/usr/arm-none-eabi/include/machine/_types.h \
/usr/arm-none-eabi/include/sys/lock.h \
/usr/arm-none-eabi/include/sys/types.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/arm-none-eabi/include/machine/endian.h \
/usr/arm-none-eabi/include/machine/_endian.h \
/usr/arm-none-eabi/include/sys/select.h \
/usr/arm-none-eabi/include/sys/_sigset.h \
/usr/arm-none-eabi/include/sys/_timeval.h \
/usr/arm-none-eabi/include/sys/timespec.h \
/usr/arm-none-eabi/include/sys/_timespec.h \
/usr/arm-none-eabi/include/sys/_pthreadtypes.h \
/usr/arm-none-eabi/include/sys/sched.h \
/usr/arm-none-eabi/include/machine/types.h \
/usr/arm-none-eabi/include/sys/stdio.h \
/usr/arm-none-eabi/include/sys/stat.h /usr/arm-none-eabi/include/time.h \
/usr/arm-none-eabi/include/machine/time.h \
/usr/arm-none-eabi/include/sys/_locale.h
/usr/arm-none-eabi/include/stdio.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/newlib.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/config.h:
/usr/arm-none-eabi/include/machine/ieeefp.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/sys/cdefs.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdarg.h:
/usr/arm-none-eabi/include/sys/reent.h:
/usr/arm-none-eabi/include/_ansi.h:
/usr/arm-none-eabi/include/sys/_types.h:
/usr/arm-none-eabi/include/machine/_types.h:
/usr/arm-none-eabi/include/sys/lock.h:
/usr/arm-none-eabi/include/sys/types.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/arm-none-eabi/include/machine/endian.h:
/usr/arm-none-eabi/include/machine/_endian.h:
/usr/arm-none-eabi/include/sys/select.h:
/usr/arm-none-eabi/include/sys/_sigset.h:
/usr/arm-none-eabi/include/sys/_timeval.h:
/usr/arm-none-eabi/include/sys/timespec.h:
/usr/arm-none-eabi/include/sys/_timespec.h:
/usr/arm-none-eabi/include/sys/_pthreadtypes.h:
/usr/arm-none-eabi/include/sys/sched.h:
/usr/arm-none-eabi/include/machine/types.h:
/usr/arm-none-eabi/include/sys/stdio.h:
/usr/arm-none-eabi/include/sys/stat.h:
/usr/arm-none-eabi/include/time.h:
/usr/arm-none-eabi/include/machine/time.h:
/usr/arm-none-eabi/include/sys/_locale.h:

@ -0,0 +1,174 @@
hpl/core/hpl_core_m0plus_base.d hpl/core/hpl_core_m0plus_base.o: \
../hpl/core/hpl_core_m0plus_base.c ../hal/include/hpl_core.h \
../hpl/core/hpl_core_port.h ../config/peripheral_clk_config.h \
../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hal/include/hpl_irq.h \
../hal/include/hpl_reset.h ../hal/include/hpl_sleep.h \
../hal/include/hpl_delay.h ../hal/utils/include/utils.h \
../hal/utils/include/utils_assert.h
../hal/include/hpl_core.h:
../hpl/core/hpl_core_port.h:
../config/peripheral_clk_config.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hal/include/hpl_irq.h:
../hal/include/hpl_reset.h:
../hal/include/hpl_sleep.h:
../hal/include/hpl_delay.h:
../hal/utils/include/utils.h:
../hal/utils/include/utils_assert.h:

@ -0,0 +1,176 @@
hpl/core/hpl_init.d hpl/core/hpl_init.o: ../hpl/core/hpl_init.c \
../hal/include/hpl_gpio.h ../hal/utils/include/compiler.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \
/usr/arm-none-eabi/include/stdint.h \
/usr/arm-none-eabi/include/machine/_default_types.h \
/usr/arm-none-eabi/include/sys/features.h \
/usr/arm-none-eabi/include/_newlib_version.h \
/usr/arm-none-eabi/include/sys/_intsup.h \
/usr/arm-none-eabi/include/sys/_stdint.h \
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h \
../hal/utils/include/parts.h ../samd21a/include/samd21.h \
../samd21a/include/samd21e18a.h ../CMSIS/Core/Include/core_cm0plus.h \
../CMSIS/Core/Include/cmsis_version.h \
../CMSIS/Core/Include/cmsis_compiler.h ../CMSIS/Core/Include/cmsis_gcc.h \
../samd21a/include/system_samd21.h ../samd21a/include/component/ac.h \
../samd21a/include/component/adc.h ../samd21a/include/component/dac.h \
../samd21a/include/component/dmac.h ../samd21a/include/component/dsu.h \
../samd21a/include/component/eic.h ../samd21a/include/component/evsys.h \
../samd21a/include/component/gclk.h \
../samd21a/include/component/hmatrixb.h \
../samd21a/include/component/i2s.h ../samd21a/include/component/mtb.h \
../samd21a/include/component/nvmctrl.h \
../samd21a/include/component/pac.h ../samd21a/include/component/pm.h \
../samd21a/include/component/port.h ../samd21a/include/component/rtc.h \
../samd21a/include/component/sercom.h \
../samd21a/include/component/sysctrl.h ../samd21a/include/component/tc.h \
../samd21a/include/component/tcc.h ../samd21a/include/component/usb.h \
../samd21a/include/component/wdt.h ../samd21a/include/instance/ac.h \
../samd21a/include/instance/adc.h ../samd21a/include/instance/dac.h \
../samd21a/include/instance/dmac.h ../samd21a/include/instance/dsu.h \
../samd21a/include/instance/eic.h ../samd21a/include/instance/evsys.h \
../samd21a/include/instance/gclk.h \
../samd21a/include/instance/sbmatrix.h ../samd21a/include/instance/i2s.h \
../samd21a/include/instance/mtb.h ../samd21a/include/instance/nvmctrl.h \
../samd21a/include/instance/pac0.h ../samd21a/include/instance/pac1.h \
../samd21a/include/instance/pac2.h ../samd21a/include/instance/pm.h \
../samd21a/include/instance/port.h ../samd21a/include/instance/ptc.h \
../samd21a/include/instance/rtc.h ../samd21a/include/instance/sercom0.h \
../samd21a/include/instance/sercom1.h \
../samd21a/include/instance/sercom2.h \
../samd21a/include/instance/sercom3.h \
../samd21a/include/instance/sysctrl.h ../samd21a/include/instance/tc3.h \
../samd21a/include/instance/tc4.h ../samd21a/include/instance/tc5.h \
../samd21a/include/instance/tcc0.h ../samd21a/include/instance/tcc1.h \
../samd21a/include/instance/tcc2.h ../samd21a/include/instance/usb.h \
../samd21a/include/instance/wdt.h ../samd21a/include/pio/samd21e18a.h \
../hri/hri_d21.h ../samd21a/include/sam.h ../hri/hri_ac_d21.h \
../hal/include/hal_atomic.h ../hri/hri_adc_d21.h ../hri/hri_dac_d21.h \
../hri/hri_dmac_d21.h ../hri/hri_dsu_d21.h ../hri/hri_eic_d21.h \
../hri/hri_evsys_d21.h ../hri/hri_gclk_d21.h ../hri/hri_hmatrixb_d21.h \
../hri/hri_i2s_d21.h ../hri/hri_mtb_d21.h ../hri/hri_nvic_d21.h \
../hri/hri_nvmctrl_d21.h ../hri/hri_pac_d21.h ../hri/hri_pm_d21.h \
../hri/hri_port_d21.h ../hri/hri_rtc_d21.h ../hri/hri_sercom_d21.h \
../hri/hri_sysctrl_d21.h ../hri/hri_systemcontrol_d21.h \
../hri/hri_systick_d21.h ../hri/hri_tc_d21.h ../hri/hri_tcc_d21.h \
../hri/hri_usb_d21.h ../hri/hri_wdt_d21.h \
../hal/utils/include/err_codes.h ../hpl/port/hpl_gpio_base.h \
../hal/utils/include/utils_assert.h ../hal/include/hpl_init.h \
../hpl/gclk/hpl_gclk_base.h ../config/hpl_pm_config.h \
../config/peripheral_clk_config.h ../hpl/pm/hpl_pm_base.h \
../hal/include/hpl_dma.h ../hal/include/hpl_irq.h \
../config/hpl_dmac_config.h
../hal/include/hpl_gpio.h:
../hal/utils/include/compiler.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stddef.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h:
/usr/arm-none-eabi/include/stdint.h:
/usr/arm-none-eabi/include/machine/_default_types.h:
/usr/arm-none-eabi/include/sys/features.h:
/usr/arm-none-eabi/include/_newlib_version.h:
/usr/arm-none-eabi/include/sys/_intsup.h:
/usr/arm-none-eabi/include/sys/_stdint.h:
/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdbool.h:
../hal/utils/include/parts.h:
../samd21a/include/samd21.h:
../samd21a/include/samd21e18a.h:
../CMSIS/Core/Include/core_cm0plus.h:
../CMSIS/Core/Include/cmsis_version.h:
../CMSIS/Core/Include/cmsis_compiler.h:
../CMSIS/Core/Include/cmsis_gcc.h:
../samd21a/include/system_samd21.h:
../samd21a/include/component/ac.h:
../samd21a/include/component/adc.h:
../samd21a/include/component/dac.h:
../samd21a/include/component/dmac.h:
../samd21a/include/component/dsu.h:
../samd21a/include/component/eic.h:
../samd21a/include/component/evsys.h:
../samd21a/include/component/gclk.h:
../samd21a/include/component/hmatrixb.h:
../samd21a/include/component/i2s.h:
../samd21a/include/component/mtb.h:
../samd21a/include/component/nvmctrl.h:
../samd21a/include/component/pac.h:
../samd21a/include/component/pm.h:
../samd21a/include/component/port.h:
../samd21a/include/component/rtc.h:
../samd21a/include/component/sercom.h:
../samd21a/include/component/sysctrl.h:
../samd21a/include/component/tc.h:
../samd21a/include/component/tcc.h:
../samd21a/include/component/usb.h:
../samd21a/include/component/wdt.h:
../samd21a/include/instance/ac.h:
../samd21a/include/instance/adc.h:
../samd21a/include/instance/dac.h:
../samd21a/include/instance/dmac.h:
../samd21a/include/instance/dsu.h:
../samd21a/include/instance/eic.h:
../samd21a/include/instance/evsys.h:
../samd21a/include/instance/gclk.h:
../samd21a/include/instance/sbmatrix.h:
../samd21a/include/instance/i2s.h:
../samd21a/include/instance/mtb.h:
../samd21a/include/instance/nvmctrl.h:
../samd21a/include/instance/pac0.h:
../samd21a/include/instance/pac1.h:
../samd21a/include/instance/pac2.h:
../samd21a/include/instance/pm.h:
../samd21a/include/instance/port.h:
../samd21a/include/instance/ptc.h:
../samd21a/include/instance/rtc.h:
../samd21a/include/instance/sercom0.h:
../samd21a/include/instance/sercom1.h:
../samd21a/include/instance/sercom2.h:
../samd21a/include/instance/sercom3.h:
../samd21a/include/instance/sysctrl.h:
../samd21a/include/instance/tc3.h:
../samd21a/include/instance/tc4.h:
../samd21a/include/instance/tc5.h:
../samd21a/include/instance/tcc0.h:
../samd21a/include/instance/tcc1.h:
../samd21a/include/instance/tcc2.h:
../samd21a/include/instance/usb.h:
../samd21a/include/instance/wdt.h:
../samd21a/include/pio/samd21e18a.h:
../hri/hri_d21.h:
../samd21a/include/sam.h:
../hri/hri_ac_d21.h:
../hal/include/hal_atomic.h:
../hri/hri_adc_d21.h:
../hri/hri_dac_d21.h:
../hri/hri_dmac_d21.h:
../hri/hri_dsu_d21.h:
../hri/hri_eic_d21.h:
../hri/hri_evsys_d21.h:
../hri/hri_gclk_d21.h:
../hri/hri_hmatrixb_d21.h:
../hri/hri_i2s_d21.h:
../hri/hri_mtb_d21.h:
../hri/hri_nvic_d21.h:
../hri/hri_nvmctrl_d21.h:
../hri/hri_pac_d21.h:
../hri/hri_pm_d21.h:
../hri/hri_port_d21.h:
../hri/hri_rtc_d21.h:
../hri/hri_sercom_d21.h:
../hri/hri_sysctrl_d21.h:
../hri/hri_systemcontrol_d21.h:
../hri/hri_systick_d21.h:
../hri/hri_tc_d21.h:
../hri/hri_tcc_d21.h:
../hri/hri_usb_d21.h:
../hri/hri_wdt_d21.h:
../hal/utils/include/err_codes.h:
../hpl/port/hpl_gpio_base.h:
../hal/utils/include/utils_assert.h:
../hal/include/hpl_init.h:
../hpl/gclk/hpl_gclk_base.h:
../config/hpl_pm_config.h:
../config/peripheral_clk_config.h:
../hpl/pm/hpl_pm_base.h:
../hal/include/hpl_dma.h:
../hal/include/hpl_irq.h:
../config/hpl_dmac_config.h:

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save