Skip to content

Commit fb6f739

Browse files
committed
add actual library code instead of zip file
1 parent 466e328 commit fb6f739

File tree

234 files changed

+55603
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+55603
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

libraries/Adafruit_ASFcore/Adafruit_ASFcore.h

Whitespace-only changes.

libraries/Adafruit_ASFcore/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ASF (Atmel Software Framework) for Arduino Zero / Adafruit Feather M0 (SAMD21)
2+
3+
Copy of ASF (Atmel Software Framework) excerpts for the SAMD21 processor used in the Arduino Zero / Adafruit Feather M0 boards.
4+
You typically won't use this library directly, instead other libraries will depend on this library and use the code
5+
within it to simplify their implementation.
6+
7+
All code is taken directly from Atmel's ASF: http://www.atmel.com/tools/avrsoftwareframework.aspx?tab=overview
8+
9+
The code is copyright Atmel and released by them under the following license:
10+
11+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
12+
following conditions are met:
13+
14+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
15+
disclaimer.
16+
17+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
18+
disclaimer in the documentation and/or other materials provided with the distribution.
19+
20+
3. The name of Atmel may not be used to endorse or promote products derived from this software without specific
21+
prior written permission.
22+
23+
4. This software may only be redistributed and used in connection with an Atmel microcontroller product.
24+
25+
THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
26+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
27+
PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN
28+
NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
29+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
30+
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
33+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

libraries/Adafruit_ASFcore/clock.h

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* \file
3+
*
4+
* \brief SAM Clock Driver
5+
*
6+
* Copyright (C) 2012-2015 Atmel Corporation. All rights reserved.
7+
*
8+
* \asf_license_start
9+
*
10+
* \page License
11+
*
12+
* Redistribution and use in source and binary forms, with or without
13+
* modification, are permitted provided that the following conditions are met:
14+
*
15+
* 1. Redistributions of source code must retain the above copyright notice,
16+
* this list of conditions and the following disclaimer.
17+
*
18+
* 2. Redistributions in binary form must reproduce the above copyright notice,
19+
* this list of conditions and the following disclaimer in the documentation
20+
* and/or other materials provided with the distribution.
21+
*
22+
* 3. The name of Atmel may not be used to endorse or promote products derived
23+
* from this software without specific prior written permission.
24+
*
25+
* 4. This software may only be redistributed and used in connection with an
26+
* Atmel microcontroller product.
27+
*
28+
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
29+
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
30+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
31+
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
32+
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36+
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
37+
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38+
* POSSIBILITY OF SUCH DAMAGE.
39+
*
40+
* \asf_license_stop
41+
*
42+
*/
43+
/*
44+
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
45+
*/
46+
#ifndef SYSTEM_CLOCK_H_INCLUDED
47+
#define SYSTEM_CLOCK_H_INCLUDED
48+
49+
#include "compiler.h"
50+
#include "gclk.h"
51+
#include "clock_feature.h"
52+
53+
#endif /* SYSTEM_CLOCK_H_INCLUDED */

0 commit comments

Comments
 (0)