Mouse code for the MacroRat
mbed-dev/targets/TARGET_Atmel/TARGET_SAM_CortexM4/utils/header_files/io.h@46:b156ef445742, 2017-06-03 (annotated)
- Committer:
- sahilmgandhi
- Date:
- Sat Jun 03 00:22:44 2017 +0000
- Revision:
- 46:b156ef445742
- Parent:
- 18:6a4db94011d3
Final code for internal battlebot competition.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sahilmgandhi | 18:6a4db94011d3 | 1 | /** |
sahilmgandhi | 18:6a4db94011d3 | 2 | * \file |
sahilmgandhi | 18:6a4db94011d3 | 3 | * |
sahilmgandhi | 18:6a4db94011d3 | 4 | * \brief Arch file for SAM. |
sahilmgandhi | 18:6a4db94011d3 | 5 | * |
sahilmgandhi | 18:6a4db94011d3 | 6 | * This file defines common SAM series. |
sahilmgandhi | 18:6a4db94011d3 | 7 | * |
sahilmgandhi | 18:6a4db94011d3 | 8 | * Copyright (c) 2011-2015 Atmel Corporation. All rights reserved. |
sahilmgandhi | 18:6a4db94011d3 | 9 | * |
sahilmgandhi | 18:6a4db94011d3 | 10 | * \asf_license_start |
sahilmgandhi | 18:6a4db94011d3 | 11 | * |
sahilmgandhi | 18:6a4db94011d3 | 12 | * \page License |
sahilmgandhi | 18:6a4db94011d3 | 13 | * |
sahilmgandhi | 18:6a4db94011d3 | 14 | * Redistribution and use in source and binary forms, with or without |
sahilmgandhi | 18:6a4db94011d3 | 15 | * modification, are permitted provided that the following conditions are met: |
sahilmgandhi | 18:6a4db94011d3 | 16 | * |
sahilmgandhi | 18:6a4db94011d3 | 17 | * 1. Redistributions of source code must retain the above copyright notice, |
sahilmgandhi | 18:6a4db94011d3 | 18 | * this list of conditions and the following disclaimer. |
sahilmgandhi | 18:6a4db94011d3 | 19 | * |
sahilmgandhi | 18:6a4db94011d3 | 20 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
sahilmgandhi | 18:6a4db94011d3 | 21 | * this list of conditions and the following disclaimer in the documentation |
sahilmgandhi | 18:6a4db94011d3 | 22 | * and/or other materials provided with the distribution. |
sahilmgandhi | 18:6a4db94011d3 | 23 | * |
sahilmgandhi | 18:6a4db94011d3 | 24 | * 3. The name of Atmel may not be used to endorse or promote products derived |
sahilmgandhi | 18:6a4db94011d3 | 25 | * from this software without specific prior written permission. |
sahilmgandhi | 18:6a4db94011d3 | 26 | * |
sahilmgandhi | 18:6a4db94011d3 | 27 | * 4. This software may only be redistributed and used in connection with an |
sahilmgandhi | 18:6a4db94011d3 | 28 | * Atmel microcontroller product. |
sahilmgandhi | 18:6a4db94011d3 | 29 | * |
sahilmgandhi | 18:6a4db94011d3 | 30 | * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED |
sahilmgandhi | 18:6a4db94011d3 | 31 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
sahilmgandhi | 18:6a4db94011d3 | 32 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE |
sahilmgandhi | 18:6a4db94011d3 | 33 | * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR |
sahilmgandhi | 18:6a4db94011d3 | 34 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
sahilmgandhi | 18:6a4db94011d3 | 35 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
sahilmgandhi | 18:6a4db94011d3 | 36 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
sahilmgandhi | 18:6a4db94011d3 | 37 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
sahilmgandhi | 18:6a4db94011d3 | 38 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
sahilmgandhi | 18:6a4db94011d3 | 39 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
sahilmgandhi | 18:6a4db94011d3 | 40 | * POSSIBILITY OF SUCH DAMAGE. |
sahilmgandhi | 18:6a4db94011d3 | 41 | * |
sahilmgandhi | 18:6a4db94011d3 | 42 | * \asf_license_stop |
sahilmgandhi | 18:6a4db94011d3 | 43 | * |
sahilmgandhi | 18:6a4db94011d3 | 44 | */ |
sahilmgandhi | 18:6a4db94011d3 | 45 | /* |
sahilmgandhi | 18:6a4db94011d3 | 46 | * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> |
sahilmgandhi | 18:6a4db94011d3 | 47 | */ |
sahilmgandhi | 18:6a4db94011d3 | 48 | |
sahilmgandhi | 18:6a4db94011d3 | 49 | #ifndef _SAM_IO_ |
sahilmgandhi | 18:6a4db94011d3 | 50 | #define _SAM_IO_ |
sahilmgandhi | 18:6a4db94011d3 | 51 | |
sahilmgandhi | 18:6a4db94011d3 | 52 | /* SAM3 family */ |
sahilmgandhi | 18:6a4db94011d3 | 53 | |
sahilmgandhi | 18:6a4db94011d3 | 54 | /* SAM3S series */ |
sahilmgandhi | 18:6a4db94011d3 | 55 | #if (SAM3S) |
sahilmgandhi | 18:6a4db94011d3 | 56 | # if (SAM3S8 || SAM3SD8) |
sahilmgandhi | 18:6a4db94011d3 | 57 | # include "sam3s8.h" |
sahilmgandhi | 18:6a4db94011d3 | 58 | # else |
sahilmgandhi | 18:6a4db94011d3 | 59 | # include "sam3s.h" |
sahilmgandhi | 18:6a4db94011d3 | 60 | # endif |
sahilmgandhi | 18:6a4db94011d3 | 61 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 62 | |
sahilmgandhi | 18:6a4db94011d3 | 63 | /* SAM3U series */ |
sahilmgandhi | 18:6a4db94011d3 | 64 | #if (SAM3U) |
sahilmgandhi | 18:6a4db94011d3 | 65 | # include "sam3u.h" |
sahilmgandhi | 18:6a4db94011d3 | 66 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 67 | |
sahilmgandhi | 18:6a4db94011d3 | 68 | /* SAM3N series */ |
sahilmgandhi | 18:6a4db94011d3 | 69 | #if (SAM3N) |
sahilmgandhi | 18:6a4db94011d3 | 70 | # include "sam3n.h" |
sahilmgandhi | 18:6a4db94011d3 | 71 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 72 | |
sahilmgandhi | 18:6a4db94011d3 | 73 | /* SAM3XA series */ |
sahilmgandhi | 18:6a4db94011d3 | 74 | #if (SAM3XA) |
sahilmgandhi | 18:6a4db94011d3 | 75 | # include "sam3xa.h" |
sahilmgandhi | 18:6a4db94011d3 | 76 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 77 | |
sahilmgandhi | 18:6a4db94011d3 | 78 | /* SAM4S series */ |
sahilmgandhi | 18:6a4db94011d3 | 79 | #if (SAM4S) |
sahilmgandhi | 18:6a4db94011d3 | 80 | # include "sam4s.h" |
sahilmgandhi | 18:6a4db94011d3 | 81 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 82 | |
sahilmgandhi | 18:6a4db94011d3 | 83 | /* SAM4L series */ |
sahilmgandhi | 18:6a4db94011d3 | 84 | #if (SAM4L) |
sahilmgandhi | 18:6a4db94011d3 | 85 | # include "sam4l.h" |
sahilmgandhi | 18:6a4db94011d3 | 86 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 87 | |
sahilmgandhi | 18:6a4db94011d3 | 88 | /* SAM4E series */ |
sahilmgandhi | 18:6a4db94011d3 | 89 | #if (SAM4E) |
sahilmgandhi | 18:6a4db94011d3 | 90 | # include "sam4e.h" |
sahilmgandhi | 18:6a4db94011d3 | 91 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 92 | |
sahilmgandhi | 18:6a4db94011d3 | 93 | /* SAM4N series */ |
sahilmgandhi | 18:6a4db94011d3 | 94 | #if (SAM4N) |
sahilmgandhi | 18:6a4db94011d3 | 95 | # include "sam4n.h" |
sahilmgandhi | 18:6a4db94011d3 | 96 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 97 | |
sahilmgandhi | 18:6a4db94011d3 | 98 | /* SAM4C series */ |
sahilmgandhi | 18:6a4db94011d3 | 99 | #if (SAM4C) |
sahilmgandhi | 18:6a4db94011d3 | 100 | # include "sam4c.h" |
sahilmgandhi | 18:6a4db94011d3 | 101 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 102 | |
sahilmgandhi | 18:6a4db94011d3 | 103 | /* SAM4CM series */ |
sahilmgandhi | 18:6a4db94011d3 | 104 | #if (SAM4CM) |
sahilmgandhi | 18:6a4db94011d3 | 105 | # if (SAM4CMP32 || SAM4CMS32) |
sahilmgandhi | 18:6a4db94011d3 | 106 | # include "sam4cm32.h" |
sahilmgandhi | 18:6a4db94011d3 | 107 | # else |
sahilmgandhi | 18:6a4db94011d3 | 108 | # include "sam4cm.h" |
sahilmgandhi | 18:6a4db94011d3 | 109 | # endif |
sahilmgandhi | 18:6a4db94011d3 | 110 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 111 | |
sahilmgandhi | 18:6a4db94011d3 | 112 | /* SAM4CP series */ |
sahilmgandhi | 18:6a4db94011d3 | 113 | #if (SAM4CP) |
sahilmgandhi | 18:6a4db94011d3 | 114 | # include "sam4cp.h" |
sahilmgandhi | 18:6a4db94011d3 | 115 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 116 | |
sahilmgandhi | 18:6a4db94011d3 | 117 | /* SAMG51 series */ |
sahilmgandhi | 18:6a4db94011d3 | 118 | #if (SAMG51) |
sahilmgandhi | 18:6a4db94011d3 | 119 | # include "samg51.h" |
sahilmgandhi | 18:6a4db94011d3 | 120 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 121 | |
sahilmgandhi | 18:6a4db94011d3 | 122 | /* SAMG53 series */ |
sahilmgandhi | 18:6a4db94011d3 | 123 | #if (SAMG53) |
sahilmgandhi | 18:6a4db94011d3 | 124 | # include "samg53.h" |
sahilmgandhi | 18:6a4db94011d3 | 125 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 126 | |
sahilmgandhi | 18:6a4db94011d3 | 127 | /* SAMG54 series */ |
sahilmgandhi | 18:6a4db94011d3 | 128 | #if (SAMG54) |
sahilmgandhi | 18:6a4db94011d3 | 129 | # include "samg54.h" |
sahilmgandhi | 18:6a4db94011d3 | 130 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 131 | |
sahilmgandhi | 18:6a4db94011d3 | 132 | /* SAMG55 series */ |
sahilmgandhi | 18:6a4db94011d3 | 133 | #if (SAMG55) |
sahilmgandhi | 18:6a4db94011d3 | 134 | # include "samg55.h" |
sahilmgandhi | 18:6a4db94011d3 | 135 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 136 | |
sahilmgandhi | 18:6a4db94011d3 | 137 | /* SAMV71 series */ |
sahilmgandhi | 18:6a4db94011d3 | 138 | #if (SAMV71) |
sahilmgandhi | 18:6a4db94011d3 | 139 | # include "samv71.h" |
sahilmgandhi | 18:6a4db94011d3 | 140 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 141 | |
sahilmgandhi | 18:6a4db94011d3 | 142 | /* SAMV70 series */ |
sahilmgandhi | 18:6a4db94011d3 | 143 | #if (SAMV70) |
sahilmgandhi | 18:6a4db94011d3 | 144 | # include "samv70.h" |
sahilmgandhi | 18:6a4db94011d3 | 145 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 146 | |
sahilmgandhi | 18:6a4db94011d3 | 147 | /* SAME70 series */ |
sahilmgandhi | 18:6a4db94011d3 | 148 | #if (SAME70) |
sahilmgandhi | 18:6a4db94011d3 | 149 | # include "same70.h" |
sahilmgandhi | 18:6a4db94011d3 | 150 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 151 | |
sahilmgandhi | 18:6a4db94011d3 | 152 | /* SAMS70 series */ |
sahilmgandhi | 18:6a4db94011d3 | 153 | #if (SAMS70) |
sahilmgandhi | 18:6a4db94011d3 | 154 | # include "sams70.h" |
sahilmgandhi | 18:6a4db94011d3 | 155 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 156 | |
sahilmgandhi | 18:6a4db94011d3 | 157 | #endif /* _SAM_IO_ */ |