Changeset b98bb9e in rtems


Ignore:
Timestamp:
Dec 29, 2012, 1:34:18 PM (7 years ago)
Author:
Mathew Kallada <matkallada@…>
Branches:
4.11, master
Children:
1dbbc0c
Parents:
9abeca85
git-author:
Mathew Kallada <matkallada@…> (12/29/12 13:34:18)
git-committer:
Jennifer Averett <jennifer.averett@…> (12/29/12 13:34:18)
Message:

score: Doxygen Clean Up Task #6

Location:
cpukit/score/cpu
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/avr/avr/crc16.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2005 Joerg Wunsch
    2    All rights reserved.
     1/**
     2 * @file
     3 *
     4 * @brief Moved to <util/crc16.h>
     5 */
    36
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
     7/*
     8 *  Copyright (c) 2005 Joerg Wunsch
     9 *  All rights reserved.
     10 *
     11 *   Redistribution and use in source and binary forms, with or without
     12 *   modification, are permitted provided that the following conditions are met:
     13 *
     14 * * Redistributions of source code must retain the above copyright
     15 *   notice, this list of conditions and the following disclaimer.
     16 *
     17 * * Redistributions in binary form must reproduce the above copyright
     18 *   notice, this list of conditions and the following disclaimer in
     19 *   the documentation and/or other materials provided with the
     20 *   distribution.
     21 *
     22 * * Neither the name of the copyright holders nor the names of
     23 *   contributors may be used to endorse or promote products derived
     24 *   from this software without specific prior written permission.
     25 *
     26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     29 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     30 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     36 * POSSIBILITY OF SUCH DAMAGE.
     37 */
    3038
    3139
     
    3341#define _AVR_CRC16_H_
    3442
     43/**
     44 *  @defgroup Avr_crc16 crc16
     45 *
     46 *  @ingroup avr
     47 */
     48/**@{*/
     49
    3550#warning "This file has been moved to <util/crc16.h>."
    3651#include <util/crc16.h>
    3752
     53/**@}*/
    3854#endif /* _AVR_CRC16_H_ */
  • cpukit/score/cpu/avr/avr/io43u32x.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2003,2005 Keith Gudger
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/io43u32x.h - definitions for AT43USB32x */
     1/**
     2 * @file avr/io43u32x.h
     3 *
     4 * @brief Definitions for AT43USB32x
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2003,2005 Keith Gudger
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3340
    3441#ifndef _AVR_IO43U32X_H_
    3542#define _AVR_IO43U32X_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 *  @defgroup Avr_io43u32x AT43USB32x Definitions
     46 *
     47 *  @ingroup avr
     48 */
     49/**@{*/
    3850
    3951#ifndef _AVR_IO_H_
     
    4557#else
    4658#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif 
     59#endif
    4860
    4961/* I/O registers */
     
    7183
    7284/* Data Register, Port E */
    73 #define PORTE   _SFR_IO8(0x03) 
     85#define PORTE   _SFR_IO8(0x03)
    7486
    7587/* SPI Control Register */
     
    433445#define    FLASHEND 0x0FFFF
    434446
     447/**@}*/
    435448#endif /* _AVR_43USB32X_H_ */
  • cpukit/score/cpu/avr/avr/io4434.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2002, Marek Michalkiewicz
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/io4434.h - definitions for AT90S4434 */
     1/**
     2 * @file avr/io4434.h
     3 *
     4 * @brief Definitions for AT90S4434
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2002 Marek Michalkiewicz
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3340
    3441#ifndef _AVR_IO4434_H_
    3542#define _AVR_IO4434_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 *  @defgroup Avr_io4434 AT90S4434 Definitions
     46 *
     47 *  @ingroup avr
     48 */
     49/**@{*/
    3850
    3951#ifndef _AVR_IO_H_
     
    4557#else
    4658#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif 
     59#endif
    4860
    4961/* I/O registers */
     
    563575#define SIGNATURE_2 0x03
    564576
    565 
     577/**@}*/
    566578#endif /* _AVR_IO4434_H_ */
  • cpukit/score/cpu/avr/avr/ioat94k.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2002, Marek Michalkiewicz
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/ioat94k.h - definitions for AT94K series FPSLIC(tm) */
     1/**
     2 * @file avr/ioat94k.h
     3 *
     4 * @brief Definitions for AT94K Series FPSLIC(tm)
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2002 Marek Michalkiewicz
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3340
    3441#ifndef _AVR_IOAT94K_H_
    3542#define _AVR_IOAT94K_H_ 1
    36 
    37 /* This file should only be included from <avr/io.h>, never directly. */
    3843
    3944#ifndef _AVR_IO_H_
     
    4550#else
    4651#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif
     52#endif
     53
     54/**
     55 *  @defgroup Avr_ioat94k AT94K Series FPSLIC(tm) Definitions
     56 *
     57 *  @ingroup avr
     58 */
     59/**@{*/
    4860
    4961/* I/O registers */
     
    210222/* Interrupt vectors */
    211223
    212 #define SIG_FPGA_INTERRUPT0     _VECTOR(1)   /* FPGA_INT0  */       
     224#define SIG_FPGA_INTERRUPT0     _VECTOR(1)   /* FPGA_INT0  */
    213225#define SIG_INTERRUPT0          _VECTOR(2)   /* EXT_INT0   */
    214 #define SIG_FPGA_INTERRUPT1     _VECTOR(3)   /* FPGA_INT1  */       
     226#define SIG_FPGA_INTERRUPT1     _VECTOR(3)   /* FPGA_INT1  */
    215227#define SIG_INTERRUPT1          _VECTOR(4)   /* EXT_INT1   */
    216 #define SIG_FPGA_INTERRUPT2     _VECTOR(5)   /* FPGA_INT2  */       
     228#define SIG_FPGA_INTERRUPT2     _VECTOR(5)   /* FPGA_INT2  */
    217229#define SIG_INTERRUPT2          _VECTOR(6)   /* EXT_INT2   */
    218 #define SIG_FPGA_INTERRUPT3     _VECTOR(7)   /* FPGA_INT3  */       
     230#define SIG_FPGA_INTERRUPT3     _VECTOR(7)   /* FPGA_INT3  */
    219231#define SIG_INTERRUPT3          _VECTOR(8)   /* EXT_INT3   */
    220 #define SIG_OUTPUT_COMPARE2     _VECTOR(9)   /* TIM2_COMP  */       
    221 #define SIG_OVERFLOW2           _VECTOR(10)  /* TIM2_OVF   */       
    222 #define SIG_INPUT_CAPTURE1      _VECTOR(11)  /* TIM1_CAPT  */       
    223 #define SIG_OUTPUT_COMPARE1A    _VECTOR(12)  /* TIM1_COMPA */       
    224 #define SIG_OUTPUT_COMPARE1B    _VECTOR(13)  /* TIM1_COMPB */       
    225 #define SIG_OVERFLOW1           _VECTOR(14)  /* TIM1_OVF   */       
    226 #define SIG_OUTPUT_COMPARE0     _VECTOR(15)  /* TIM0_COMP  */       
    227 #define SIG_OVERFLOW0           _VECTOR(16)  /* TIM0_OVF   */       
    228 #define SIG_FPGA_INTERRUPT4     _VECTOR(17)  /* FPGA_INT4  */       
    229 #define SIG_FPGA_INTERRUPT5     _VECTOR(18)  /* FPGA_INT5  */       
    230 #define SIG_FPGA_INTERRUPT6     _VECTOR(19)  /* FPGA_INT6  */       
    231 #define SIG_FPGA_INTERRUPT7     _VECTOR(20)  /* FPGA_INT7  */       
     232#define SIG_OUTPUT_COMPARE2     _VECTOR(9)   /* TIM2_COMP  */
     233#define SIG_OVERFLOW2           _VECTOR(10)  /* TIM2_OVF   */
     234#define SIG_INPUT_CAPTURE1      _VECTOR(11)  /* TIM1_CAPT  */
     235#define SIG_OUTPUT_COMPARE1A    _VECTOR(12)  /* TIM1_COMPA */
     236#define SIG_OUTPUT_COMPARE1B    _VECTOR(13)  /* TIM1_COMPB */
     237#define SIG_OVERFLOW1           _VECTOR(14)  /* TIM1_OVF   */
     238#define SIG_OUTPUT_COMPARE0     _VECTOR(15)  /* TIM0_COMP  */
     239#define SIG_OVERFLOW0           _VECTOR(16)  /* TIM0_OVF   */
     240#define SIG_FPGA_INTERRUPT4     _VECTOR(17)  /* FPGA_INT4  */
     241#define SIG_FPGA_INTERRUPT5     _VECTOR(18)  /* FPGA_INT5  */
     242#define SIG_FPGA_INTERRUPT6     _VECTOR(19)  /* FPGA_INT6  */
     243#define SIG_FPGA_INTERRUPT7     _VECTOR(20)  /* FPGA_INT7  */
    232244#define SIG_UART0_RECV          _VECTOR(21)  /* UART0_RXC  */
    233245#define SIG_UART0_DATA          _VECTOR(22)  /* UART0_DRE  */
    234246#define SIG_UART0_TRANS         _VECTOR(23)  /* UART0_TXC  */
    235 #define SIG_FPGA_INTERRUPT8     _VECTOR(24)  /* FPGA_INT8  */       
    236 #define SIG_FPGA_INTERRUPT9     _VECTOR(25)  /* FPGA_INT9  */       
    237 #define SIG_FPGA_INTERRUPT10    _VECTOR(26)  /* FPGA_INT10 */       
    238 #define SIG_FPGA_INTERRUPT11    _VECTOR(27)  /* FPGA_INT11 */       
     247#define SIG_FPGA_INTERRUPT8     _VECTOR(24)  /* FPGA_INT8  */
     248#define SIG_FPGA_INTERRUPT9     _VECTOR(25)  /* FPGA_INT9  */
     249#define SIG_FPGA_INTERRUPT10    _VECTOR(26)  /* FPGA_INT10 */
     250#define SIG_FPGA_INTERRUPT11    _VECTOR(27)  /* FPGA_INT11 */
    239251#define SIG_UART1_RECV          _VECTOR(28)  /* UART1_RXC  */
    240252#define SIG_UART1_DATA          _VECTOR(29)  /* UART1_DRE  */
     
    554566#endif
    555567
     568/**@}*/
    556569#endif /* _AVR_IOAT94K_H_ */
  • cpukit/score/cpu/avr/avr/iom1281.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2005 Anatoly Sokolov
    2    All rights reserved.
     1/**
     2 * @file avr/iom1281.h
     3 *
     4 * @brief Definitions for ATmega1281
     5 */
    36
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
     7/*
     8 *  Copyright (c) 2005 Anatoly Sokolov
     9 *  All rights reserved.
     10 *
     11 *   Redistribution and use in source and binary forms, with or without
     12 *   modification, are permitted provided that the following conditions are met:
     13 *
     14 * * Redistributions of source code must retain the above copyright
     15 *   notice, this list of conditions and the following disclaimer.
     16 *
     17 * * Redistributions in binary form must reproduce the above copyright
     18 *   notice, this list of conditions and the following disclaimer in
     19 *   the documentation and/or other materials provided with the
     20 *   distribution.
     21 *
     22 * * Neither the name of the copyright holders nor the names of
     23 *   contributors may be used to endorse or promote products derived
     24 *   from this software without specific prior written permission.
     25 *
     26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     29 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     30 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     36 * POSSIBILITY OF SUCH DAMAGE.
     37 */
    638
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iom1281.h - definitions for ATmega1281 */
    3339
    3440#ifndef _AVR_IOM1281_H_
    3541#define _AVR_IOM1281_H_ 1
     42
     43/**
     44 *  @defgroup Avr_iom1281 ATmega1281 Definitions
     45 *
     46 *  @ingroup avr
     47 */
     48/**@{*/
    3649
    3750#include <avr/iomxx0_1.h>
     
    8295#define __LOCK_BITS_EXIST
    8396#define __BOOT_LOCK_BITS_0_EXIST
    84 #define __BOOT_LOCK_BITS_1_EXIST 
     97#define __BOOT_LOCK_BITS_1_EXIST
    8598
    8699
     
    90103#define SIGNATURE_2 0x04
    91104
    92 
     105/**@}*/
    93106#endif /* _AVR_IOM1281_H_ */
  • cpukit/score/cpu/avr/avr/iom16m1.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iom16m1.h - definitions for ATmega16M1 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iom16m1.h
     3 *
     4 * @brief Definitions for ATmega16M1
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATmega16M1_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iom16m1 ATmega16M1 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Registers and associated bit numbers. */
     
    15431554#define SIGNATURE_2 0x84
    15441555
    1545 
     1556/**@}*/
    15461557#endif /* _AVR_ATmega16M1_H_ */
    1547 
  • cpukit/score/cpu/avr/avr/iom16u2.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iom16u2.h - definitions for ATmega16U2 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iom16u2.h
     3 *
     4 * @brief Definitions for ATmega16U2
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATmega16U2_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iom16u2 ATmega16U2 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Registers and associated bit numbers. */
     
    974985#define SIGNATURE_2 0x89
    975986
     987/**@}*/
    976988
    977989/* Device Pin Definitions */
    978990#endif /* _AVR_ATmega16U2_H_ */
    979 
  • cpukit/score/cpu/avr/avr/iom323.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2002, Marek Michalkiewicz
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iom323.h - definitions for ATmega323 */
     1/**
     2 * @file avr/iom323.h
     3 *
     4 * @brief Definitions for ATmega323
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2002 Marek Michalkiewicz
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3340
    3441#ifndef _AVR_IOM323_H_
    3542#define _AVR_IOM323_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 *  @defgroup Avr_iom323 ATmega323 Definitions
     46 *
     47 *  @ingroup avr
     48 */
     49/**@{*/
    3850
    3951#ifndef _AVR_IO_H_
     
    4557#else
    4658#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif 
     59#endif
    4860
    4961/* I/O registers */
     
    676688#define __LOCK_BITS_EXIST
    677689#define __BOOT_LOCK_BITS_0_EXIST
    678 #define __BOOT_LOCK_BITS_1_EXIST 
     690#define __BOOT_LOCK_BITS_1_EXIST
    679691
    680692
     
    684696#define SIGNATURE_2 0x01
    685697
    686 
     698/**@}*/
    687699#endif /* _AVR_IOM323_H_ */
  • cpukit/score/cpu/avr/avr/iom88p.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2007 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE.
    30 */
    31 
    32 
    33 /* avr/iom88p.h - definitions for ATmega88P. */
    34 
    35 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iom88p.h
     3 *
     4 * @brief Definitions for ATmega88P
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2007 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3640
    3741#ifndef _AVR_IO_H_
     
    4347#else
    4448#  error "Attempt to include more than one <avr/ioXXX.h> file."
    45 #endif 
     49#endif
    4650
    4751
    4852#ifndef _AVR_IOM88P_H_
    4953#define _AVR_IOM88P_H_ 1
     54
     55/**
     56 *  @defgroup Avr_iom88p ATmega88P Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Registers and associated bit numbers */
     
    331342
    332343#define MCUCR _SFR_IO8(0x35)
    333 #define IVCE 0 
     344#define IVCE 0
    334345#define IVSEL 1
    335346#define PUD 4
     
    796807#define TIMER1_CAPT_vect  _VECTOR(10)  /* Timer/Counter1 Capture Event */
    797808#define TIMER1_COMPA_vect _VECTOR(11)  /* Timer/Counter1 Compare Match A */
    798 #define TIMER1_COMPB_vect _VECTOR(12)  /* Timer/Counter1 Compare Match B */ 
     809#define TIMER1_COMPB_vect _VECTOR(12)  /* Timer/Counter1 Compare Match B */
    799810#define TIMER1_OVF_vect   _VECTOR(13)  /* Timer/Counter1 Overflow */
    800811#define TIMER0_COMPA_vect _VECTOR(14)  /* TimerCounter0 Compare Match A */
     
    862873#define __LOCK_BITS_EXIST
    863874#define __BOOT_LOCK_BITS_0_EXIST
    864 #define __BOOT_LOCK_BITS_1_EXIST 
     875#define __BOOT_LOCK_BITS_1_EXIST
    865876
    866877
     
    870881#define SIGNATURE_2 0x0F
    871882
    872 
     883/**@}*/
    873884#endif  /* _AVR_IOM88P_H_ */
  • cpukit/score/cpu/avr/avr/iotn12.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2002,2005 Marek Michalkiewicz
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iotn12.h - definitions for ATtiny12 */
     1/**
     2 * @file avr/iotn12.h
     3 *
     4 * @brief Definitions for ATtiny12
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2002,2005 Marek Michalkiewicz
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3340
    3441#ifndef _AVR_IOTN12_H_
    3542#define _AVR_IOTN12_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 *  @defgroup Avr_iotn12 ATtiny12 Definitions
     46 *
     47 *  @ingroup avr
     48 */
     49/**@{*/
    3850
    3951#ifndef _AVR_IO_H_
     
    4557#else
    4658#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif 
     59#endif
    4860
    4961#ifndef __ASSEMBLER__
     
    261273#define SIGNATURE_2 0x05
    262274
    263 
     275/**@}*/
    264276#endif /* _AVR_IOTN12_H_ */
  • cpukit/score/cpu/avr/avr/iotn2313a.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iotn2313a.h - definitions for ATtiny2313A */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iotn2313a.h
     3 *
     4 * @brief Definitions for ATtiny2313A
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATtiny2313A_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_io4434 AT90S4434 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Registers and associated bit numbers. */
     
    765776#define SCL_BIT   7
    766777
     778/**@}*/
    767779#endif /* _AVR_ATtiny2313A_H_ */
    768 
  • cpukit/score/cpu/avr/avr/iotn861a.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iotn861a.h - definitions for ATtiny861A */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iotn861a.h
     3 *
     4 * @brief Definitions for ATtiny861A
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATtiny861A_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iotn861a ATtiny861A Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Registers and associated bit numbers. */
     
    972983#define PA0_BIT   ADC0
    973984
     985/**@}*/
    974986#endif /* _AVR_ATtiny861A_H_ */
    975 
  • cpukit/score/cpu/avr/avr/iotn87.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iotn87.h - definitions for ATtiny87 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iotn87.h
     3 *
     4 * @brief Definitions for ATtiny87
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATtiny87_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iotn87 ATtiny87 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Registers and associated bit numbers. */
     
    842853#define SIGNATURE_2 0x87
    843854
    844 
     855/**@}*/
    845856#endif /* _AVR_ATtiny87_H_ */
    846 
  • cpukit/score/cpu/avr/avr/iox192d3.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iox192d3.h - definitions for ATxmega192D3 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iox192d3.h
     3 *
     4 * @brief Definitions for ATxmega192D3
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATxmega192D3_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iox192d3 ATxmega192D3 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Ungrouped common registers */
     
    52955306// Generic Port Pins
    52965307
    5297 #define PIN0_bm 0x01 
     5308#define PIN0_bm 0x01
    52985309#define PIN0_bp 0
    52995310#define PIN1_bm 0x02
    53005311#define PIN1_bp 1
    5301 #define PIN2_bm 0x04 
     5312#define PIN2_bm 0x04
    53025313#define PIN2_bp 2
    5303 #define PIN3_bm 0x08 
     5314#define PIN3_bm 0x08
    53045315#define PIN3_bp 3
    5305 #define PIN4_bm 0x10 
     5316#define PIN4_bm 0x10
    53065317#define PIN4_bp 4
    5307 #define PIN5_bm 0x20 
     5318#define PIN5_bm 0x20
    53085319#define PIN5_bp 5
    5309 #define PIN6_bm 0x40 
     5320#define PIN6_bm 0x40
    53105321#define PIN6_bp 6
    5311 #define PIN7_bm 0x80 
     5322#define PIN7_bm 0x80
    53125323#define PIN7_bp 7
    53135324
     
    56415652#define SIGNATURE_2 0x49
    56425653
    5643 
     5654/**@}*/
    56445655#endif /* _AVR_ATxmega192D3_H_ */
    5645 
  • cpukit/score/cpu/avr/avr/iox64a3.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iox64a3.h - definitions for ATxmega64A3 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iox64a3.h
     3 *
     4 * @brief Definitions for ATxmega64A3
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATxmega64A3_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iox64a3 ATxmega64A3 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Ungrouped common registers */
     
    64386449// Generic Port Pins
    64396450
    6440 #define PIN0_bm 0x01 
     6451#define PIN0_bm 0x01
    64416452#define PIN0_bp 0
    64426453#define PIN1_bm 0x02
    64436454#define PIN1_bp 1
    6444 #define PIN2_bm 0x04 
     6455#define PIN2_bm 0x04
    64456456#define PIN2_bp 2
    6446 #define PIN3_bm 0x08 
     6457#define PIN3_bm 0x08
    64476458#define PIN3_bp 3
    6448 #define PIN4_bm 0x10 
     6459#define PIN4_bm 0x10
    64496460#define PIN4_bp 4
    6450 #define PIN5_bm 0x20 
     6461#define PIN5_bm 0x20
    64516462#define PIN5_bp 5
    6452 #define PIN6_bm 0x40 
     6463#define PIN6_bm 0x40
    64536464#define PIN6_bp 6
    6454 #define PIN7_bm 0x80 
     6465#define PIN7_bm 0x80
    64556466#define PIN7_bp 7
    64566467
     
    68856896#define SIGNATURE_2 0x42
    68866897
    6887 
     6898/**@}*/
    68886899#endif /* _AVR_ATxmega64A3_H_ */
    6889 
  • cpukit/score/cpu/avr/avr/iox64d3.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2009 Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/iox64d3.h - definitions for ATxmega64D3 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iox64d3.h
     3 *
     4 * @brief Definitions for ATxmega64D3
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2009 Atmel Corporation
     11 *  All rights reserved.
     12 *
     13 *   Redistribution and use in source and binary forms, with or without
     14 *   modification, are permitted provided that the following conditions are met:
     15 *
     16 * * Redistributions of source code must retain the above copyright
     17 *   notice, this list of conditions and the following disclaimer.
     18 *
     19 * * Redistributions in binary form must reproduce the above copyright
     20 *   notice, this list of conditions and the following disclaimer in
     21 *   the documentation and/or other materials provided with the
     22 *   distribution.
     23 *
     24 * * Neither the name of the copyright holders nor the names of
     25 *   contributors may be used to endorse or promote products derived
     26 *   from this software without specific prior written permission.
     27 *
     28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     38 * POSSIBILITY OF SUCH DAMAGE.
     39 */
    3540
    3641#ifndef _AVR_IO_H_
     
    4247#else
    4348#  error "Attempt to include more than one <avr/ioXXX.h> file."
    44 #endif 
     49#endif
    4550
    4651
     
    4853#define _AVR_ATxmega64D3_H_ 1
    4954
     55/**
     56 *  @defgroup Avr_iox64d3 ATxmega64D3 Definitions
     57 *
     58 *  @ingroup avr
     59 */
     60/**@{*/
    5061
    5162/* Ungrouped common registers */
     
    53095320// Generic Port Pins
    53105321
    5311 #define PIN0_bm 0x01 
     5322#define PIN0_bm 0x01
    53125323#define PIN0_bp 0
    53135324#define PIN1_bm 0x02
    53145325#define PIN1_bp 1
    5315 #define PIN2_bm 0x04 
     5326#define PIN2_bm 0x04
    53165327#define PIN2_bp 2
    5317 #define PIN3_bm 0x08 
     5328#define PIN3_bm 0x08
    53185329#define PIN3_bp 3
    5319 #define PIN4_bm 0x10 
     5330#define PIN4_bm 0x10
    53205331#define PIN4_bp 4
    5321 #define PIN5_bm 0x20 
     5332#define PIN5_bm 0x20
    53225333#define PIN5_bp 5
    5323 #define PIN6_bm 0x40 
     5334#define PIN6_bm 0x40
    53245335#define PIN6_bp 6
    5325 #define PIN7_bm 0x80 
     5336#define PIN7_bm 0x80
    53265337#define PIN7_bp 7
    53275338
     
    56555666#define SIGNATURE_2 0x4A
    56565667
    5657 
     5668/**@}*/
    56585669#endif /* _AVR_ATxmega64D3_H_ */
    5659 
  • cpukit/score/cpu/avr/avr/lock.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2007, Atmel Corporation
    2    All rights reserved.
    3 
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
    30 
    31 
    32 /* avr/lock.h - Lock Bits API */
     1/**
     2 * @file avr/lock.h
     3 *
     4 * @brief Lock Bits API
     5 *  \par Introduction
     6 *
     7 *  The Lockbit API allows a user to specify the lockbit settings for the
     8 *  specific AVR device they are compiling for. These lockbit settings will be
     9 *  placed in a special section in the ELF output file, after linking.
     10 *
     11 *  Programming tools can take advantage of the lockbit information embedded in
     12 *  the ELF file, by extracting this information and determining if the lockbits
     13 *  need to be programmed after programming the Flash and EEPROM memories.
     14 *  This also allows a single ELF file to contain all the
     15 *  information needed to program an AVR.
     16 *
     17 *  To use the Lockbit API, include the <avr/io.h> header file, which in turn
     18 *  automatically includes the individual I/O header file and the <avr/lock.h>
     19 *  file. These other two files provides everything necessary to set the AVR
     20 *  lockbits.
     21 *
     22 *  \par Lockbit API
     23 *
     24 *  Each I/O header file may define up to 3 macros that controls what kinds
     25 *  of lockbits are available to the user.
     26 *
     27 *  If __LOCK_BITS_EXIST is defined, then two lock bits are available to the
     28 *  user and 3 mode settings are defined for these two bits.
     29 *
     30 *  If __BOOT_LOCK_BITS_0_EXIST is defined, then the two BLB0 lock bits are
     31 *  available to the user and 4 mode settings are defined for these two bits.
     32 *
     33 *  If __BOOT_LOCK_BITS_1_EXIST is defined, then the two BLB1 lock bits are
     34 *  available to the user and 4 mode settings are defined for these two bits.
     35 *
     36 *  If __BOOT_LOCK_APPLICATION_TABLE_BITS_EXIST is defined then two lock bits
     37 *  are available to set the locking mode for the Application Table Section
     38 *  (which is used in the XMEGA family).
     39 *
     40 *  If __BOOT_LOCK_APPLICATION_BITS_EXIST is defined then two lock bits are
     41 *  available to set the locking mode for the Application Section (which is used
     42 *  in the XMEGA family).
     43 *
     44 *  If __BOOT_LOCK_BOOT_BITS_EXIST is defined then two lock bits are available
     45 *  to set the locking mode for the Boot Loader Section (which is used in the
     46 *  XMEGA family).
     47 *
     48 *  The AVR lockbit modes have inverted values, logical 1 for an unprogrammed
     49 *  (disabled) bit and logical 0 for a programmed (enabled) bit. The defined
     50 *  macros for each individual lock bit represent this in their definition by a
     51 *  bit-wise inversion of a mask. For example, the LB_MODE_3 macro is defined
     52 *  as:
     53 *  \code
     54 *  #define LB_MODE_3  (0xFC)
     55 *  \endcode
     56 *
     57 *  To combine the lockbit mode macros together to represent a whole byte,
     58 *  use the bitwise AND operator, like so:
     59 *  \code
     60 *  (LB_MODE_3 & BLB0_MODE_2)
     61 *  \endcode
     62 *
     63 *  <avr/lock.h> also defines a macro that provides a default lockbit value:
     64 *  LOCKBITS_DEFAULT which is defined to be 0xFF.
     65 *
     66 *  See the AVR device specific datasheet for more details about these
     67 *  lock bits and the available mode settings.
     68 *
     69 *  A convenience macro, LOCKMEM, is defined as a GCC attribute for a
     70 *  custom-named section of ".lock".
     71 *
     72 *  A convenience macro, LOCKBITS, is defined that declares a variable, __lock,
     73 *  of type unsigned char with the attribute defined by LOCKMEM. This variable
     74 *  allows the end user to easily set the lockbit data.
     75 *
     76 *  \note If a device-specific I/O header file has previously defined LOCKMEM,
     77 *  then LOCKMEM is not redefined. If a device-specific I/O header file has
     78 *  previously defined LOCKBITS, then LOCKBITS is not redefined. LOCKBITS is
     79 *  currently known to be defined in the I/O header files for the XMEGA devices.
     80 *
     81 *  \par API Usage Example
     82 *
     83 *  Putting all of this together is easy:
     84 *
     85 *  \code
     86 *  #include <avr/io.h>
     87 *
     88 *  LOCKBITS = (LB_MODE_1 & BLB0_MODE_3 & BLB1_MODE_4);
     89 *
     90 *  int main(void)
     91 *  {
     92 *      return 0;
     93 *  }
     94 *  \endcode
     95 *
     96 *  Or:
     97 *
     98 *  \code
     99 *  #include <avr/io.h>
     100 *
     101 *  unsigned char __lock __attribute__((section (".lock"))) =
     102 *      (LB_MODE_1 & BLB0_MODE_3 & BLB1_MODE_4);
     103 *
     104 *  int main(void)
     105 *  {
     106 *      return 0;
     107 *  }
     108 *  \endcode
     109 *
     110 *
     111 *
     112 *  However there are a number of caveats that you need to be aware of to
     113 *  use this API properly.
     114 *
     115 *  Be sure to include <avr/io.h> to get all of the definitions for the API.
     116 *  The LOCKBITS macro defines a global variable to store the lockbit data. This
     117 *  variable is assigned to its own linker section. Assign the desired lockbit
     118 *  values immediately in the variable initialization.
     119 *
     120 *  The .lock section in the ELF file will get its values from the initial
     121 *  variable assignment ONLY. This means that you can NOT assign values to
     122 *  this variable in functions and the new values will not be put into the
     123 *  ELF .lock section.
     124 *
     125 *  The global variable is declared in the LOCKBITS macro has two leading
     126 *  underscores, which means that it is reserved for the "implementation",
     127 *  meaning the library, so it will not conflict with a user-named variable.
     128 *
     129 *  You must initialize the lockbit variable to some meaningful value, even
     130 *  if it is the default value. This is because the lockbits default to a
     131 *  logical 1, meaning unprogrammed. Normal uninitialized data defaults to all
     132 *  locgial zeros. So it is vital that all lockbits are initialized, even with
     133 *  default data. If they are not, then the lockbits may not programmed to the
     134 *  desired settings and can possibly put your device into an unrecoverable
     135 *  state.
     136 *
     137 *  Be sure to have the -mmcu=<em>device</em> flag in your compile command line and
     138 *  your linker command line to have the correct device selected and to have
     139 *  the correct I/O header file included when you include <avr/io.h>.
     140 *
     141 *  You can print out the contents of the .lock section in the ELF file by
     142 *  using this command line:
     143 *  \code
     144 *  avr-objdump -s -j .lock <ELF file>
     145 *  \endcode
     146 */
     147
     148/*
     149 *  Copyright (c) 2007, Atmel Corporation
     150 *  All rights reserved.
     151 *
     152 *   Redistribution and use in source and binary forms, with or without
     153 *   modification, are permitted provided that the following conditions are met:
     154 *
     155 * * Redistributions of source code must retain the above copyright
     156 *   notice, this list of conditions and the following disclaimer.
     157 *
     158 * * Redistributions in binary form must reproduce the above copyright
     159 *   notice, this list of conditions and the following disclaimer in
     160 *   the documentation and/or other materials provided with the
     161 *   distribution.
     162 *
     163 * * Neither the name of the copyright holders nor the names of
     164 *   contributors may be used to endorse or promote products derived
     165 *   from this software without specific prior written permission.
     166 *
     167 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     168 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     169 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     170 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     171 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     172 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     173 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     174 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     175 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     176 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     177 * POSSIBILITY OF SUCH DAMAGE.
     178 */
    33179
    34180#ifndef _AVR_LOCK_H_
    35181#define _AVR_LOCK_H_  1
    36182
    37 
    38 /** \file */
    39 /** \defgroup avr_lock <avr/lock.h>: Lockbit Support
    40 
    41     \par Introduction
    42 
    43     The Lockbit API allows a user to specify the lockbit settings for the
    44     specific AVR device they are compiling for. These lockbit settings will be
    45     placed in a special section in the ELF output file, after linking.
    46 
    47     Programming tools can take advantage of the lockbit information embedded in
    48     the ELF file, by extracting this information and determining if the lockbits
    49     need to be programmed after programming the Flash and EEPROM memories.
    50     This also allows a single ELF file to contain all the
    51     information needed to program an AVR.
    52 
    53     To use the Lockbit API, include the <avr/io.h> header file, which in turn
    54     automatically includes the individual I/O header file and the <avr/lock.h>
    55     file. These other two files provides everything necessary to set the AVR
    56     lockbits.
    57    
    58     \par Lockbit API
    59    
    60     Each I/O header file may define up to 3 macros that controls what kinds
    61     of lockbits are available to the user.
    62    
    63     If __LOCK_BITS_EXIST is defined, then two lock bits are available to the
    64     user and 3 mode settings are defined for these two bits.
    65    
    66     If __BOOT_LOCK_BITS_0_EXIST is defined, then the two BLB0 lock bits are
    67     available to the user and 4 mode settings are defined for these two bits.
    68    
    69     If __BOOT_LOCK_BITS_1_EXIST is defined, then the two BLB1 lock bits are
    70     available to the user and 4 mode settings are defined for these two bits.
    71 
    72     If __BOOT_LOCK_APPLICATION_TABLE_BITS_EXIST is defined then two lock bits
    73     are available to set the locking mode for the Application Table Section
    74     (which is used in the XMEGA family).
    75    
    76     If __BOOT_LOCK_APPLICATION_BITS_EXIST is defined then two lock bits are
    77     available to set the locking mode for the Application Section (which is used
    78     in the XMEGA family).
    79    
    80     If __BOOT_LOCK_BOOT_BITS_EXIST is defined then two lock bits are available
    81     to set the locking mode for the Boot Loader Section (which is used in the
    82     XMEGA family).
    83 
    84     The AVR lockbit modes have inverted values, logical 1 for an unprogrammed
    85     (disabled) bit and logical 0 for a programmed (enabled) bit. The defined
    86     macros for each individual lock bit represent this in their definition by a
    87     bit-wise inversion of a mask. For example, the LB_MODE_3 macro is defined
    88     as:
    89     \code
    90     #define LB_MODE_3  (0xFC)
    91 `   \endcode
    92    
    93     To combine the lockbit mode macros together to represent a whole byte,
    94     use the bitwise AND operator, like so:
    95     \code
    96     (LB_MODE_3 & BLB0_MODE_2)
    97     \endcode
    98    
    99     <avr/lock.h> also defines a macro that provides a default lockbit value:
    100     LOCKBITS_DEFAULT which is defined to be 0xFF.
    101 
    102     See the AVR device specific datasheet for more details about these
    103     lock bits and the available mode settings.
    104    
    105     A convenience macro, LOCKMEM, is defined as a GCC attribute for a
    106     custom-named section of ".lock".
    107    
    108     A convenience macro, LOCKBITS, is defined that declares a variable, __lock,
    109     of type unsigned char with the attribute defined by LOCKMEM. This variable
    110     allows the end user to easily set the lockbit data.
    111 
    112     \note If a device-specific I/O header file has previously defined LOCKMEM,
    113     then LOCKMEM is not redefined. If a device-specific I/O header file has
    114     previously defined LOCKBITS, then LOCKBITS is not redefined. LOCKBITS is
    115     currently known to be defined in the I/O header files for the XMEGA devices.
    116 
    117     \par API Usage Example
    118    
    119     Putting all of this together is easy:
    120    
    121     \code
    122     #include <avr/io.h>
    123 
    124     LOCKBITS = (LB_MODE_1 & BLB0_MODE_3 & BLB1_MODE_4);
    125 
    126     int main(void)
    127     {
    128         return 0;
    129     }
    130     \endcode
    131    
    132     Or:
    133    
    134     \code
    135     #include <avr/io.h>
    136 
    137     unsigned char __lock __attribute__((section (".lock"))) =
    138         (LB_MODE_1 & BLB0_MODE_3 & BLB1_MODE_4);
    139 
    140     int main(void)
    141     {
    142         return 0;
    143     }
    144     \endcode
    145    
    146    
    147    
    148     However there are a number of caveats that you need to be aware of to
    149     use this API properly.
    150    
    151     Be sure to include <avr/io.h> to get all of the definitions for the API.
    152     The LOCKBITS macro defines a global variable to store the lockbit data. This
    153     variable is assigned to its own linker section. Assign the desired lockbit
    154     values immediately in the variable initialization.
    155    
    156     The .lock section in the ELF file will get its values from the initial
    157     variable assignment ONLY. This means that you can NOT assign values to
    158     this variable in functions and the new values will not be put into the
    159     ELF .lock section.
    160    
    161     The global variable is declared in the LOCKBITS macro has two leading
    162     underscores, which means that it is reserved for the "implementation",
    163     meaning the library, so it will not conflict with a user-named variable.
    164    
    165     You must initialize the lockbit variable to some meaningful value, even
    166     if it is the default value. This is because the lockbits default to a
    167     logical 1, meaning unprogrammed. Normal uninitialized data defaults to all
    168     locgial zeros. So it is vital that all lockbits are initialized, even with
    169     default data. If they are not, then the lockbits may not programmed to the
    170     desired settings and can possibly put your device into an unrecoverable
    171     state.
    172    
    173     Be sure to have the -mmcu=<em>device</em> flag in your compile command line and
    174     your linker command line to have the correct device selected and to have
    175     the correct I/O header file included when you include <avr/io.h>.
    176 
    177     You can print out the contents of the .lock section in the ELF file by
    178     using this command line:
    179     \code
    180     avr-objdump -s -j .lock <ELF file>
    181     \endcode
    182 
    183 */
    184 
     183/**
     184 *  @defgroup avr_lock Lockbit Support
     185 *
     186 *  @ingroup avr
     187 */
     188/**@{*/
    185189
    186190#ifndef __ASSEMBLER__
     
    236240#define LOCKBITS_DEFAULT (0xFF)
    237241
     242/**@}*/
    238243#endif /* _AVR_LOCK_H_ */
  • cpukit/score/cpu/avr/avr/signal.h

    r9abeca85 rb98bb9e  
    1 /* Copyright (c) 2002,2005,2006 Marek Michalkiewicz
    2    All rights reserved.
     1/**
     2 * @file
     3 *
     4 * @brief Use <avr/interrupt.h>
     5 */
    36
    4    Redistribution and use in source and binary forms, with or without
    5    modification, are permitted provided that the following conditions are met:
    6 
    7    * Redistributions of source code must retain the above copyright
    8      notice, this list of conditions and the following disclaimer.
    9 
    10    * Redistributions in binary form must reproduce the above copyright
    11      notice, this list of conditions and the following disclaimer in
    12      the documentation and/or other materials provided with the
    13      distribution.
    14 
    15    * Neither the name of the copyright holders nor the names of
    16      contributors may be used to endorse or promote products derived
    17      from this software without specific prior written permission.
    18 
    19   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    20   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    21   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    22   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    23   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    24   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    25   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    26   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    27   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    28   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    29   POSSIBILITY OF SUCH DAMAGE. */
     7/*
     8 *  Copyright (c) 2002, 2005, 2006 Marek Michalkiewicz
     9 *  All rights reserved.
     10 *
     11 *   Redistribution and use in source and binary forms, with or without
     12 *   modification, are permitted provided that the following conditions are met:
     13 *
     14 * * Redistributions of source code must retain the above copyright
     15 *   notice, this list of conditions and the following disclaimer.
     16 *
     17 * * Redistributions in binary form must reproduce the above copyright
     18 *   notice, this list of conditions and the following disclaimer in
     19 *   the documentation and/or other materials provided with the
     20 *   distribution.
     21 *
     22 * * Neither the name of the copyright holders nor the names of
     23 *   contributors may be used to endorse or promote products derived
     24 *   from this software without specific prior written permission.
     25 *
     26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     29 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     30 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     36 * POSSIBILITY OF SUCH DAMAGE.
     37 */
    3038
    3139
     
    3341#define _AVR_SIGNAL_H_
    3442
     43/**
     44 *  @defgroup Avr_signal Signal
     45 *
     46 *  @ingroup avr
     47 */
     48/**@{*/
     49
    3550#warning "This header file is obsolete.  Use <avr/interrupt.h>."
    3651#include <avr/interrupt.h>
    3752
     53/**@}*/
    3854#endif /* _AVR_SIGNAL_H_ */
  • cpukit/score/cpu/no_cpu/rtems/asm.h

    r9abeca85 rb98bb9e  
    11/**
    22 * @file rtems/asm.h
     3 *
     4 * @brief Addresses Incompatible Flavors Problems
    35 *
    46 *  This include file attempts to address the problems
     
    79 *  use of leading underscores on symbols and the requirement
    810 *  that register names be preceded by a %.
     11 *
     12 *  NOTE: The spacing in the use of these macros
     13 *        is critical to them working as advertised.
    914 */
    1015
    1116/*
    12  *  NOTE: The spacing in the use of these macros
    13  *        is critical to them working as advertised.
    14  *
    1517 *  COPYRIGHT:
    1618 *
     
    2628#ifndef _RTEMS_ASM_H
    2729#define _RTEMS_ASM_H
     30
     31/**
     32 *  @defgroup no_cpuAsm Address Incompatible Flavors Problems
     33 *
     34 *  @ingroup no_cpu
     35 */
     36/**@{*/
    2837
    2938/*
     
    121130#define EXTERN(sym) .globl SYM (sym)
    122131
     132/**@}*/
    123133#endif
Note: See TracChangeset for help on using the changeset viewer.