mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
[sam] updated libsam license
This commit is contained in:
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2011 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef USB_DEVICE_H_INCLUDED
|
#ifndef USB_DEVICE_H_INCLUDED
|
||||||
#define USB_DEVICE_H_INCLUDED
|
#define USB_DEVICE_H_INCLUDED
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2011 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef USB_HOST_H_INCLUDED
|
#ifndef USB_HOST_H_INCLUDED
|
||||||
#define USB_HOST_H_INCLUDED
|
#define USB_HOST_H_INCLUDED
|
||||||
|
@ -1,42 +1,30 @@
|
|||||||
/**
|
/* ----------------------------------------------------------------------------
|
||||||
* \file
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* \brief Analog-to-Digital Converter (ADC/ADC12B) driver for SAM.
|
* All rights reserved.
|
||||||
*
|
|
||||||
* Copyright (c) 2011 Atmel Corporation. All rights reserved.
|
|
||||||
*
|
|
||||||
* \asf_license_start
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* 1. Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the following disclaimer.
|
* this list of conditions and the disclaimer below.
|
||||||
*
|
*
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
* this list of conditions and the following disclaimer in the documentation
|
* this software without specific prior written permission.
|
||||||
* and/or other materials provided with the distribution.
|
|
||||||
*
|
*
|
||||||
* 3. The name of Atmel may not be used to endorse or promote products derived
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
* from this software without specific prior written permission.
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
*
|
|
||||||
* 4. This software may only be redistributed and used in connection with an
|
|
||||||
* Atmel microcontroller product.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
||||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* ----------------------------------------------------------------------------
|
||||||
*
|
|
||||||
* \asf_license_stop
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ADC_H_INCLUDED
|
#ifndef ADC_H_INCLUDED
|
||||||
|
@ -1,42 +1,30 @@
|
|||||||
/**
|
/* ----------------------------------------------------------------------------
|
||||||
* \file
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* \brief Global interrupt management for SAM3 and SAM4 (NVIC based)
|
* All rights reserved.
|
||||||
*
|
|
||||||
* Copyright (c) 2012 Atmel Corporation. All rights reserved.
|
|
||||||
*
|
|
||||||
* \asf_license_start
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* 1. Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the following disclaimer.
|
* this list of conditions and the disclaimer below.
|
||||||
*
|
*
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
* this list of conditions and the following disclaimer in the documentation
|
* this software without specific prior written permission.
|
||||||
* and/or other materials provided with the distribution.
|
|
||||||
*
|
*
|
||||||
* 3. The name of Atmel may not be used to endorse or promote products derived
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
* from this software without specific prior written permission.
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
*
|
|
||||||
* 4. This software may only be redistributed and used in connection with an
|
|
||||||
* Atmel microcontroller product.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
||||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* ----------------------------------------------------------------------------
|
||||||
*
|
|
||||||
* \asf_license_stop
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UTILS_INTERRUPT_INTERRUPT_H
|
#ifndef UTILS_INTERRUPT_INTERRUPT_H
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
@ -26,7 +26,6 @@
|
|||||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PMC_H_INCLUDED
|
#ifndef PMC_H_INCLUDED
|
||||||
#define PMC_H_INCLUDED
|
#define PMC_H_INCLUDED
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef UDPHS_H_INCLUDED
|
#ifndef UDPHS_H_INCLUDED
|
||||||
#define UDPHS_H_INCLUDED
|
#define UDPHS_H_INCLUDED
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef UDPHS_H_INCLUDED
|
#ifndef UDPHS_H_INCLUDED
|
||||||
#define UDPHS_H_INCLUDED
|
#define UDPHS_H_INCLUDED
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef UOTGHS_DEVICE_H_INCLUDED
|
#ifndef UOTGHS_DEVICE_H_INCLUDED
|
||||||
#define UOTGHS_DEVICE_H_INCLUDED
|
#define UOTGHS_DEVICE_H_INCLUDED
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef UOTGHS_HOST_H_INCLUDED
|
#ifndef UOTGHS_HOST_H_INCLUDED
|
||||||
#define UOTGHS_HOST_H_INCLUDED
|
#define UOTGHS_HOST_H_INCLUDED
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,42 +1,30 @@
|
|||||||
/**
|
/* ----------------------------------------------------------------------------
|
||||||
* \file
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* \brief Analog-to-Digital Converter (ADC/ADC12B) driver for SAM.
|
* All rights reserved.
|
||||||
*
|
|
||||||
* Copyright (c) 2011 - 2012 Atmel Corporation. All rights reserved.
|
|
||||||
*
|
|
||||||
* \asf_license_start
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* 1. Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the following disclaimer.
|
* this list of conditions and the disclaimer below.
|
||||||
*
|
*
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
* this list of conditions and the following disclaimer in the documentation
|
* this software without specific prior written permission.
|
||||||
* and/or other materials provided with the distribution.
|
|
||||||
*
|
*
|
||||||
* 3. The name of Atmel may not be used to endorse or promote products derived
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
* from this software without specific prior written permission.
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
*
|
|
||||||
* 4. This software may only be redistributed and used in connection with an
|
|
||||||
* Atmel microcontroller product.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
||||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* ----------------------------------------------------------------------------
|
||||||
*
|
|
||||||
* \asf_license_stop
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../chip.h"
|
#include "../chip.h"
|
||||||
|
@ -1,42 +1,30 @@
|
|||||||
/**
|
/* ----------------------------------------------------------------------------
|
||||||
* \file
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* \brief Analog-to-Digital Converter (ADC/ADC12B) driver for SAM.
|
* All rights reserved.
|
||||||
*
|
|
||||||
* Copyright (c) 2011 - 2012 Atmel Corporation. All rights reserved.
|
|
||||||
*
|
|
||||||
* \asf_license_start
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* 1. Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the following disclaimer.
|
* this list of conditions and the disclaimer below.
|
||||||
*
|
*
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
* this list of conditions and the following disclaimer in the documentation
|
* this software without specific prior written permission.
|
||||||
* and/or other materials provided with the distribution.
|
|
||||||
*
|
*
|
||||||
* 3. The name of Atmel may not be used to endorse or promote products derived
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
* from this software without specific prior written permission.
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
*
|
|
||||||
* 4. This software may only be redistributed and used in connection with an
|
|
||||||
* Atmel microcontroller product.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
||||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* ----------------------------------------------------------------------------
|
||||||
*
|
|
||||||
* \asf_license_stop
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../chip.h"
|
#include "../chip.h"
|
||||||
|
@ -1,42 +1,30 @@
|
|||||||
/**
|
/* ----------------------------------------------------------------------------
|
||||||
* \file
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* \brief Global interrupt management for SAM3 and SAM4 (NVIC based)
|
* All rights reserved.
|
||||||
*
|
|
||||||
* Copyright (c) 2012 Atmel Corporation. All rights reserved.
|
|
||||||
*
|
|
||||||
* \asf_license_start
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* 1. Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the following disclaimer.
|
* this list of conditions and the disclaimer below.
|
||||||
*
|
*
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
* this list of conditions and the following disclaimer in the documentation
|
* this software without specific prior written permission.
|
||||||
* and/or other materials provided with the distribution.
|
|
||||||
*
|
*
|
||||||
* 3. The name of Atmel may not be used to endorse or promote products derived
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
* from this software without specific prior written permission.
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
*
|
|
||||||
* 4. This software may only be redistributed and used in connection with an
|
|
||||||
* Atmel microcontroller product.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
||||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* ----------------------------------------------------------------------------
|
||||||
*
|
|
||||||
* \asf_license_stop
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "interrupt_sam_nvic.h"
|
#include "interrupt_sam_nvic.h"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2012, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
@ -27,7 +27,6 @@
|
|||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
#if (SAM3N_SERIES)
|
#if (SAM3N_SERIES)
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,20 +1,31 @@
|
|||||||
/*
|
/* ----------------------------------------------------------------------------
|
||||||
Copyright (c) 2012 Arduino. All right reserved.
|
* SAM Software Package License
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
This library is free software; you can redistribute it and/or
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
modify it under the terms of the GNU Lesser General Public
|
*
|
||||||
License as published by the Free Software Foundation; either
|
* All rights reserved.
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
This library is distributed in the hope that it will be useful,
|
* modification, are permitted provided that the following condition is met:
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
See the GNU Lesser General Public License for more details.
|
* this list of conditions and the disclaimer below.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* Atmel's name may not be used to endorse or promote products derived from
|
||||||
License along with this library; if not, write to the Free Software
|
* this software without specific prior written permission.
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
*
|
||||||
*/
|
* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -253,9 +264,6 @@ uint32_t UHD_EP0_Alloc(uint32_t ul_add, uint32_t ul_ep_size)
|
|||||||
/**
|
/**
|
||||||
* \brief Allocate FIFO for the specified pipe.
|
* \brief Allocate FIFO for the specified pipe.
|
||||||
*
|
*
|
||||||
* \param ul_add Address of remote device for pipe 0.
|
|
||||||
* \param ul_ep_size Actual size of the FIFO in bytes.
|
|
||||||
*
|
|
||||||
* \retval 0 success.
|
* \retval 0 success.
|
||||||
* \retval 1 error.
|
* \retval 1 error.
|
||||||
*/
|
*/
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* SAM Software Package License
|
* SAM Software Package License
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* Copyright (c) 2011, Atmel Corporation
|
* Copyright (c) 2011-2012, Atmel Corporation
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following condition is met:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* - Redistributions of source code must retain the above copyright notice,
|
||||||
* this list of conditions and the disclaimer below.
|
* this list of conditions and the disclaimer below.
|
||||||
|
Reference in New Issue
Block a user