Skip to content
Permalink
Browse files

ext: hal: atmel: import SAM E70 HAL revision B

This is an import of Atmel SAM E70 HAL version 2.3.98, for the revision
B of the chip. The files have been passed through dos2unix to minimize
the differences with the revision A  which seems to also have been
imported that way.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  • Loading branch information...
aurel32 authored and nashif committed Feb 4, 2019
1 parent dffd779 commit f3bdc057b1dd368882e0455608e4a0f1b5303bcf
Showing with 73,036 additions and 0 deletions.
  1. +36 −0 ext/hal/atmel/asf/sam/include/same70b/README
  2. +64 −0 ext/hal/atmel/asf/sam/include/same70b/component-version.h
  3. +370 −0 ext/hal/atmel/asf/sam/include/same70b/component/acc.h
  4. +547 −0 ext/hal/atmel/asf/sam/include/same70b/component/aes.h
  5. +1,650 −0 ext/hal/atmel/asf/sam/include/same70b/component/afec.h
  6. +242 −0 ext/hal/atmel/asf/sam/include/same70b/component/chipid.h
  7. +683 −0 ext/hal/atmel/asf/sam/include/same70b/component/dacc.h
  8. +276 −0 ext/hal/atmel/asf/sam/include/same70b/component/efc.h
  9. +4,903 −0 ext/hal/atmel/asf/sam/include/same70b/component/gmac.h
  10. +85 −0 ext/hal/atmel/asf/sam/include/same70b/component/gpbr.h
  11. +1,129 −0 ext/hal/atmel/asf/sam/include/same70b/component/hsmci.h
  12. +512 −0 ext/hal/atmel/asf/sam/include/same70b/component/i2sc.h
  13. +481 −0 ext/hal/atmel/asf/sam/include/same70b/component/icm.h
  14. +1,005 −0 ext/hal/atmel/asf/sam/include/same70b/component/isi.h
  15. +565 −0 ext/hal/atmel/asf/sam/include/same70b/component/matrix.h
  16. +3,152 −0 ext/hal/atmel/asf/sam/include/same70b/component/mcan.h
  17. +7,287 −0 ext/hal/atmel/asf/sam/include/same70b/component/pio.h
  18. +3,060 −0 ext/hal/atmel/asf/sam/include/same70b/component/pmc.h
  19. +2,741 −0 ext/hal/atmel/asf/sam/include/same70b/component/pwm.h
  20. +701 −0 ext/hal/atmel/asf/sam/include/same70b/component/qspi.h
  21. +181 −0 ext/hal/atmel/asf/sam/include/same70b/component/rstc.h
  22. +161 −0 ext/hal/atmel/asf/sam/include/same70b/component/rswdt.h
  23. +684 −0 ext/hal/atmel/asf/sam/include/same70b/component/rtc.h
  24. +176 −0 ext/hal/atmel/asf/sam/include/same70b/component/rtt.h
  25. +472 −0 ext/hal/atmel/asf/sam/include/same70b/component/sdramc.h
  26. +398 −0 ext/hal/atmel/asf/sam/include/same70b/component/smc.h
  27. +534 −0 ext/hal/atmel/asf/sam/include/same70b/component/spi.h
  28. +873 −0 ext/hal/atmel/asf/sam/include/same70b/component/ssc.h
  29. +809 −0 ext/hal/atmel/asf/sam/include/same70b/component/supc.h
  30. +920 −0 ext/hal/atmel/asf/sam/include/same70b/component/tc.h
  31. +205 −0 ext/hal/atmel/asf/sam/include/same70b/component/trng.h
  32. +895 −0 ext/hal/atmel/asf/sam/include/same70b/component/twihs.h
  33. +512 −0 ext/hal/atmel/asf/sam/include/same70b/component/uart.h
  34. +1,387 −0 ext/hal/atmel/asf/sam/include/same70b/component/usart.h
  35. +3,449 −0 ext/hal/atmel/asf/sam/include/same70b/component/usbhs.h
  36. +130 −0 ext/hal/atmel/asf/sam/include/same70b/component/utmi.h
  37. +165 −0 ext/hal/atmel/asf/sam/include/same70b/component/wdt.h
  38. +2,453 −0 ext/hal/atmel/asf/sam/include/same70b/component/xdmac.h
  39. +63 −0 ext/hal/atmel/asf/sam/include/same70b/instance/acc.h
  40. +143 −0 ext/hal/atmel/asf/sam/include/same70b/instance/aes.h
  41. +104 −0 ext/hal/atmel/asf/sam/include/same70b/instance/afec0.h
  42. +104 −0 ext/hal/atmel/asf/sam/include/same70b/instance/afec1.h
  43. +44 −0 ext/hal/atmel/asf/sam/include/same70b/instance/chipid.h
  44. +78 −0 ext/hal/atmel/asf/sam/include/same70b/instance/dacc.h
  45. +57 −0 ext/hal/atmel/asf/sam/include/same70b/instance/efc.h
  46. +487 −0 ext/hal/atmel/asf/sam/include/same70b/instance/gmac.h
  47. +58 −0 ext/hal/atmel/asf/sam/include/same70b/instance/gpbr.h
  48. +607 −0 ext/hal/atmel/asf/sam/include/same70b/instance/hsmci.h
  49. +65 −0 ext/hal/atmel/asf/sam/include/same70b/instance/i2sc0.h
  50. +65 −0 ext/hal/atmel/asf/sam/include/same70b/instance/i2sc1.h
  51. +83 −0 ext/hal/atmel/asf/sam/include/same70b/instance/icm.h
  52. +95 −0 ext/hal/atmel/asf/sam/include/same70b/instance/isi.h
  53. +140 −0 ext/hal/atmel/asf/sam/include/same70b/instance/matrix.h
  54. +139 −0 ext/hal/atmel/asf/sam/include/same70b/instance/mcan0.h
  55. +139 −0 ext/hal/atmel/asf/sam/include/same70b/instance/mcan1.h
  56. +158 −0 ext/hal/atmel/asf/sam/include/same70b/instance/pioa.h
  57. +157 −0 ext/hal/atmel/asf/sam/include/same70b/instance/piob.h
  58. +157 −0 ext/hal/atmel/asf/sam/include/same70b/instance/pioc.h
  59. +157 −0 ext/hal/atmel/asf/sam/include/same70b/instance/piod.h
  60. +157 −0 ext/hal/atmel/asf/sam/include/same70b/instance/pioe.h
  61. +134 −0 ext/hal/atmel/asf/sam/include/same70b/instance/pmc.h
  62. +264 −0 ext/hal/atmel/asf/sam/include/same70b/instance/pwm0.h
  63. +264 −0 ext/hal/atmel/asf/sam/include/same70b/instance/pwm1.h
  64. +79 −0 ext/hal/atmel/asf/sam/include/same70b/instance/qspi.h
  65. +50 −0 ext/hal/atmel/asf/sam/include/same70b/instance/rstc.h
  66. +50 −0 ext/hal/atmel/asf/sam/include/same70b/instance/rswdt.h
  67. +70 −0 ext/hal/atmel/asf/sam/include/same70b/instance/rtc.h
  68. +52 −0 ext/hal/atmel/asf/sam/include/same70b/instance/rtt.h
  69. +71 −0 ext/hal/atmel/asf/sam/include/same70b/instance/sdramc.h
  70. +87 −0 ext/hal/atmel/asf/sam/include/same70b/instance/smc.h
  71. +77 −0 ext/hal/atmel/asf/sam/include/same70b/instance/spi0.h
  72. +77 −0 ext/hal/atmel/asf/sam/include/same70b/instance/spi1.h
  73. +83 −0 ext/hal/atmel/asf/sam/include/same70b/instance/ssc.h
  74. +56 −0 ext/hal/atmel/asf/sam/include/same70b/instance/supc.h
  75. +141 −0 ext/hal/atmel/asf/sam/include/same70b/instance/tc0.h
  76. +141 −0 ext/hal/atmel/asf/sam/include/same70b/instance/tc1.h
  77. +141 −0 ext/hal/atmel/asf/sam/include/same70b/instance/tc2.h
  78. +141 −0 ext/hal/atmel/asf/sam/include/same70b/instance/tc3.h
  79. +57 −0 ext/hal/atmel/asf/sam/include/same70b/instance/trng.h
  80. +79 −0 ext/hal/atmel/asf/sam/include/same70b/instance/twihs0.h
  81. +79 −0 ext/hal/atmel/asf/sam/include/same70b/instance/twihs1.h
  82. +79 −0 ext/hal/atmel/asf/sam/include/same70b/instance/twihs2.h
  83. +69 −0 ext/hal/atmel/asf/sam/include/same70b/instance/uart0.h
  84. +69 −0 ext/hal/atmel/asf/sam/include/same70b/instance/uart1.h
  85. +69 −0 ext/hal/atmel/asf/sam/include/same70b/instance/uart2.h
  86. +69 −0 ext/hal/atmel/asf/sam/include/same70b/instance/uart3.h
  87. +69 −0 ext/hal/atmel/asf/sam/include/same70b/instance/uart4.h
  88. +109 −0 ext/hal/atmel/asf/sam/include/same70b/instance/usart0.h
  89. +109 −0 ext/hal/atmel/asf/sam/include/same70b/instance/usart1.h
  90. +109 −0 ext/hal/atmel/asf/sam/include/same70b/instance/usart2.h
  91. +559 −0 ext/hal/atmel/asf/sam/include/same70b/instance/usbhs.h
  92. +44 −0 ext/hal/atmel/asf/sam/include/same70b/instance/utmi.h
  93. +50 −0 ext/hal/atmel/asf/sam/include/same70b/instance/wdt.h
  94. +751 −0 ext/hal/atmel/asf/sam/include/same70b/instance/xdmac.h
  95. +1,015 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70j19b.h
  96. +1,015 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70j20b.h
  97. +1,015 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70j21b.h
  98. +1,175 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70n19b.h
  99. +1,175 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70n20b.h
  100. +1,175 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70n21b.h
  101. +2,359 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70q19b.h
  102. +2,359 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70q20b.h
  103. +2,359 −0 ext/hal/atmel/asf/sam/include/same70b/pio/same70q21b.h
  104. +811 −0 ext/hal/atmel/asf/sam/include/same70b/same70j19b.h
  105. +811 −0 ext/hal/atmel/asf/sam/include/same70b/same70j20b.h
  106. +809 −0 ext/hal/atmel/asf/sam/include/same70b/same70j21b.h
  107. +873 −0 ext/hal/atmel/asf/sam/include/same70b/same70n19b.h
  108. +873 −0 ext/hal/atmel/asf/sam/include/same70b/same70n20b.h
  109. +873 −0 ext/hal/atmel/asf/sam/include/same70b/same70n21b.h
  110. +947 −0 ext/hal/atmel/asf/sam/include/same70b/same70q19b.h
  111. +947 −0 ext/hal/atmel/asf/sam/include/same70b/same70q20b.h
  112. +947 −0 ext/hal/atmel/asf/sam/include/same70b/same70q21b.h
@@ -0,0 +1,36 @@
Atmel SAM E70B
##############

Origin:
Microchip Packs Repository
http://packs.download.atmel.com/

Atmel SAME70 Series Device Support (2.3.98)
http://packs.download.atmel.com/Atmel.SAME70_DFP.2.3.98.atpack

Status:
version 2.3.98

Purpose:
Official package for SAM E70B.

Description:
Atmel Software Framework (ASF) provides a set of low-level
header files that give access to different hardware
peripherals of Atmel's ICs.

URL:
http://packs.download.atmel.com/
http://packs.download.atmel.com/Atmel.SAME70_DFP.2.3.98.atpack

commit:
n/a

Maintained-by:
External

License:
Apache-2.0

License Link:
https://www.apache.org/licenses/LICENSE-2.0
@@ -0,0 +1,64 @@
/**
* \file
*
* \brief Component version header file
*
* Copyright (c) 2018 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
*
* \license_start
*
* \page License
*
* 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.
*
* \license_stop
*
*/

#ifndef _COMPONENT_VERSION_H_INCLUDED
#define _COMPONENT_VERSION_H_INCLUDED

#define COMPONENT_VERSION_MAJOR 2
#define COMPONENT_VERSION_MINOR 3

//
// The COMPONENT_VERSION define is composed of the major and the minor version number.
//
// The last four digits of the COMPONENT_VERSION is the minor version with leading zeros.
// The rest of the COMPONENT_VERSION is the major version.
//
#define COMPONENT_VERSION 20003

//
// The build number does not refer to the component, but to the build number
// of the device pack that provides the component.
//
#define BUILD_NUMBER 98

//
// The COMPONENT_VERSION_STRING is a string (enclosed in ") that can be used for logging or embedding.
//
#define COMPONENT_VERSION_STRING "2.3"

//
// The COMPONENT_DATE_STRING contains a timestamp of when the pack was generated.
//
// The COMPONENT_DATE_STRING is written out using the following strftime pattern.
//
// "%Y-%m-%d %H:%M:%S"
//
//
#define COMPONENT_DATE_STRING "2018-01-30 13:59:17"

#endif/* #ifndef _COMPONENT_VERSION_H_INCLUDED */

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,85 @@
/**
* \file
*
* \brief Component description for GPBR
*
* Copyright (c) 2018 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
*
* \license_start
*
* \page License
*
* 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.
*
* \license_stop
*
*/

/* file generated from device description version 2017-09-13T14:00:00Z */
#ifndef _SAME70_GPBR_COMPONENT_H_
#define _SAME70_GPBR_COMPONENT_H_
#define _SAME70_GPBR_COMPONENT_ /**< \deprecated Backward compatibility for ASF */

/** \addtogroup SAME_SAME70 General Purpose Backup Registers
* @{
*/
/* ========================================================================== */
/** SOFTWARE API DEFINITION FOR GPBR */
/* ========================================================================== */
#ifndef COMPONENT_TYPEDEF_STYLE
#define COMPONENT_TYPEDEF_STYLE 'R' /**< Defines default style of typedefs for the component header files ('R' = RFO, 'N' = NTO)*/
#endif

#define GPBR_6378 /**< (GPBR) Module ID */
#define REV_GPBR J /**< (GPBR) Module revision */

/* -------- GPBR_SYS_GPBR : (GPBR Offset: 0x00) (R/W 32) General Purpose Backup Register 0 -------- */
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
typedef union {
struct {
uint32_t GPBR_VALUE:32; /**< bit: 0..31 Value of GPBR x */
} bit; /**< Structure used for bit access */
uint32_t reg; /**< Type used for register access */
} GPBR_SYS_GPBR_Type;
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */

#define GPBR_SYS_GPBR_OFFSET (0x00) /**< (GPBR_SYS_GPBR) General Purpose Backup Register 0 Offset */

#define GPBR_SYS_GPBR_GPBR_VALUE_Pos 0 /**< (GPBR_SYS_GPBR) Value of GPBR x Position */
#define GPBR_SYS_GPBR_GPBR_VALUE_Msk (_U_(0xFFFFFFFF) << GPBR_SYS_GPBR_GPBR_VALUE_Pos) /**< (GPBR_SYS_GPBR) Value of GPBR x Mask */
#define GPBR_SYS_GPBR_GPBR_VALUE(value) (GPBR_SYS_GPBR_GPBR_VALUE_Msk & ((value) << GPBR_SYS_GPBR_GPBR_VALUE_Pos))
#define GPBR_SYS_GPBR_MASK _U_(0xFFFFFFFF) /**< \deprecated (GPBR_SYS_GPBR) Register MASK (Use GPBR_SYS_GPBR_Msk instead) */
#define GPBR_SYS_GPBR_Msk _U_(0xFFFFFFFF) /**< (GPBR_SYS_GPBR) Register Mask */


#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
#if COMPONENT_TYPEDEF_STYLE == 'R'
/** \brief GPBR hardware registers */
typedef struct {
__IO uint32_t SYS_GPBR[8]; /**< (GPBR Offset: 0x00) General Purpose Backup Register 0 */
} Gpbr;

#elif COMPONENT_TYPEDEF_STYLE == 'N'
/** \brief GPBR hardware registers */
typedef struct {
__IO GPBR_SYS_GPBR_Type SYS_GPBR[8]; /**< Offset: 0x00 (R/W 32) General Purpose Backup Register 0 */
} Gpbr;

#else /* COMPONENT_TYPEDEF_STYLE */
#error Unknown component typedef style
#endif /* COMPONENT_TYPEDEF_STYLE */

#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
/** @} end of General Purpose Backup Registers */

#endif /* _SAME70_GPBR_COMPONENT_H_ */

0 comments on commit f3bdc05

Please sign in to comment.
You can’t perform that action at this time.