Changeset a65f4b19 in rtems


Ignore:
Timestamp:
Dec 29, 2012, 12:12:12 AM (7 years ago)
Author:
Mathew Kallada <matkallada@…>
Branches:
4.11, master
Children:
38fcda7f
Parents:
319cb20
git-author:
Mathew Kallada <matkallada@…> (12/29/12 00:12:12)
git-committer:
Jennifer Averett <jennifer.averett@…> (12/29/12 00:12:12)
Message:

score: Doxygen Clean Up Task #7

Location:
cpukit/score/cpu/avr/avr
Files:
20 edited

Legend:

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

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2005 Joerg Wunsch
    2    All rights reserved.
     1/**
     2 * @file
     3 *
     4 * @brief Moved to <util/delay.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_DELAY_H_
    3442
     43/**
     44 * @defgroup AvrDelay Delay
     45 *
     46 * @ingroup avr
     47 *
     48 * @{
     49 */
     50
    3551#warning "This file has been moved to <util/delay.h>."
    3652#include <util/delay.h>
    3753
     54/** @} */
    3855#endif /* _AVR_DELAY_H_ */
  • cpukit/score/cpu/avr/avr/io.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2002,2003,2005,2006,2007 Marek Michalkiewicz, Joerg Wunsch
    2    Copyright (c) 2007 Eric B. Weddington
    3    All rights reserved.
    4 
    5    Redistribution and use in source and binary forms, with or without
    6    modification, are permitted provided that the following conditions are met:
    7 
    8    * Redistributions of source code must retain the above copyright
    9      notice, this list of conditions and the following disclaimer.
    10 
    11    * Redistributions in binary form must reproduce the above copyright
    12      notice, this list of conditions and the following disclaimer in
    13      the documentation and/or other materials provided with the
    14      distribution.
    15 
    16    * Neither the name of the copyright holders nor the names of
    17      contributors may be used to endorse or promote products derived
    18      from this software without specific prior written permission.
    19 
    20   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    21   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    22   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    23   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    24   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    25   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    26   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    27   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    28   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    29   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    30   POSSIBILITY OF SUCH DAMAGE. */
    31 
    32 
    33 /** \file */
    34 /** \defgroup avr_io <avr/io.h>: AVR device-specific IO definitions
    35     \code #include <avr/io.h> \endcode
    36 
    37     This header file includes the apropriate IO definitions for the
    38     device that has been specified by the <tt>-mmcu=</tt> compiler
    39     command-line switch.  This is done by diverting to the appropriate
    40     file <tt>&lt;avr/io</tt><em>XXXX</em><tt>.h&gt;</tt> which should
    41     never be included directly.  Some register names common to all
    42     AVR devices are defined directly within <tt>&lt;avr/common.h&gt;</tt>,
    43     which is included in <tt>&lt;avr/io.h&gt;</tt>,
    44     but most of the details come from the respective include file.
    45 
    46     Note that this file always includes the following files:
    47     \code
    48     #include <avr/sfr_defs.h>
    49     #include <avr/portpins.h>
    50     #include <avr/common.h>
    51     #include <avr/version.h>
    52     \endcode
    53     See \ref avr_sfr for more details about that header file.
    54 
    55     Included are definitions of the IO register set and their
    56     respective bit values as specified in the Atmel documentation.
    57     Note that inconsistencies in naming conventions,
    58     so even identical functions sometimes get different names on
    59     different devices.
    60 
    61     Also included are the specific names useable for interrupt
    62     function definitions as documented
    63     \ref avr_signames "here".
    64 
    65     Finally, the following macros are defined:
    66 
    67     - \b RAMEND
    68     <br>
    69     The last on-chip RAM address.
    70     <br>
    71     - \b XRAMEND
    72     <br>
    73     The last possible RAM location that is addressable. This is equal to
    74     RAMEND for devices that do not allow for external RAM. For devices
    75     that allow external RAM, this will be larger than RAMEND.
    76     <br>
    77     - \b E2END
    78     <br>
    79     The last EEPROM address.
    80     <br>
    81     - \b FLASHEND
    82     <br>
    83     The last byte address in the Flash program space.
    84     <br>
    85     - \b SPM_PAGESIZE
    86     <br>
    87     For devices with bootloader support, the flash pagesize
    88     (in bytes) to be used for the \c SPM instruction.
    89     - \b E2PAGESIZE
    90     <br>
    91     The size of the EEPROM page.
    92    
    93 */
     1/**
     2 * @file
     3 *
     4 * @brief AVR device-specific IO Definitions
     5 *
     6 * This header file includes the apropriate IO definitions for the
     7 * device that has been specified by the <tt>-mmcu=</tt> compiler
     8 *  command-line switch.  This is done by diverting to the appropriate
     9 *  file <tt>&lt;avr/io</tt><em>XXXX</em><tt>.h&gt;</tt> which should
     10 *  never be included directly.  Some register names common to all
     11 *  AVR devices are defined directly within <tt>&lt;avr/common.h&gt;</tt>,
     12 *  which is included in <tt>&lt;avr/io.h&gt;</tt>,
     13 *  but most of the details come from the respective include file.
     14 *
     15 *  Note that this file always includes the following files:
     16 *  \code
     17 *  #include <avr/sfr_defs.h>
     18 *  #include <avr/portpins.h>
     19 *  #include <avr/common.h>
     20 *  #include <avr/version.h>
     21 *  \endcode
     22 *  See \ref avr_sfr for more details about that header file.
     23 *
     24 *  Included are definitions of the IO register set and their
     25 *  respective bit values as specified in the Atmel documentation.
     26 *  Note that inconsistencies in naming conventions,
     27 *  so even identical functions sometimes get different names on
     28 *  different devices.
     29 *
     30 *  Also included are the specific names useable for interrupt
     31 *  function definitions as documented
     32 *  \ref avr_signames "here".
     33 *
     34 *  Finally, the following macros are defined:
     35 *
     36 *  - \b RAMEND
     37 *  <br>
     38 *  The last on-chip RAM address.
     39 *  <br>
     40 *  - \b XRAMEND
     41 *  <br>
     42 *  The last possible RAM location that is addressable. This is equal to
     43 *  RAMEND for devices that do not allow for external RAM. For devices
     44 *  that allow external RAM, this will be larger than RAMEND.
     45 *  <br>
     46 *  - \b E2END
     47 *  <br>
     48 *  The last EEPROM address.
     49 *  <br>
     50 *  - \b FLASHEND
     51 *  <br>
     52 *  The last byte address in the Flash program space.
     53 *  <br>
     54 *  - \b SPM_PAGESIZE
     55 *  <br>
     56 *  For devices with bootloader support, the flash pagesize
     57 *  (in bytes) to be used for the \c SPM instruction.
     58 *  - \b E2PAGESIZE
     59 *  <br>
     60 *  The size of the EEPROM page.
     61 */
     62
     63/*
     64 *  Copyright (c) 2002,2003,2005,2006,2007 Marek Michalkiewicz, Joerg Wunsch
     65 *  Copyright (c) 2007 Eric B. Weddington
     66 *  All rights reserved.
     67 *
     68 *   Redistribution and use in source and binary forms, with or without
     69 *   modification, are permitted provided that the following conditions are met:
     70 *
     71 *   * Redistributions of source code must retain the above copyright
     72 *     notice, this list of conditions and the following disclaimer.
     73 *
     74 *   * Redistributions in binary form must reproduce the above copyright
     75 *     notice, this list of conditions and the following disclaimer in
     76 *     the documentation and/or other materials provided with the
     77 *    distribution.
     78 *
     79 *  * Neither the name of the copyright holders nor the names of
     80 *    contributors may be used to endorse or promote products derived
     81 *    from this software without specific prior written permission.
     82 *
     83 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     84 *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     85 *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     86 *  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     87 *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     88 *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     89 *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     90 *  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     91 *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     92 *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     93 *  POSSIBILITY OF SUCH DAMAGE.
     94 */
    9495
    9596#ifndef _AVR_IO_H_
    9697#define _AVR_IO_H_
     98
     99/**
     100 * @defgroup avr_io Input Output
     101 *
     102 * @ingroup avr
     103 *
     104 * @{
     105 */
    97106
    98107#include <avr/sfr_defs.h>
     
    417426#include <avr/lock.h>
    418427
     428/** @} */
    419429#endif /* _AVR_IO_H_ */
  • cpukit/score/cpu/avr/avr/io8535.h

    r319cb20 ra65f4b19  
    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/io8535.h - definitions for AT90S8535 */
     1/**
     2 * @file avr/io8535.h
     3 *
     4 * @brief Definitions for AT90S8535
     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_IO8535_H_
    3542#define _AVR_IO8535_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 AvrDef_io8535 AT90S8535 Definitions
     56 *
     57 * @ingroup avr
     58 *
     59 * @{
     60 */
    4861
    4962/* I/O registers */
     
    564577#define SIGNATURE_2 0x03
    565578
    566 
     579/** @} */
    567580#endif /* _AVR_IO8535_H_ */
  • cpukit/score/cpu/avr/avr/io90pwm2b.h

    r319cb20 ra65f4b19  
    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/io90pwm2b.h - definitions for AT90PWM2B */
    34 
    35 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/io90pwm2b.h
     3 *
     4 * @brief Definitions for AT90PWM2B
     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_IO90PWM2B_H_
    4953#define _AVR_IO90PWM2B_H_ 1
     54
     55/**
     56 * @defgroup Avr_io90pwm2b AT90PWM2B Definitions
     57 *
     58 * @ingroup avr
     59 *
     60 * @{
     61 */
    5062
    5163/* Registers and associated bit numbers */
     
    8092#define PORTB6 6
    8193#define PORTB7 7
    82      
     94
    8395#define PINC _SFR_IO8(0x06)
    8496#define PINC0 0
     
    818830#define STP1 1
    819831#define F1617 2
    820 #define FEM 3 
     832#define FEM 3
    821833
    822834#define MUBRR _SFR_MEM16(0xCC)
     
    13631375#define FUSE_DWEN      (unsigned char)~_BV(6)  /* debugWIRE Enable */
    13641376#define FUSE_RSTDISBL  (unsigned char)~_BV(7)  /* External Reset Disable */
    1365 #define HFUSE_DEFAULT (FUSE_SPIEN)   
     1377#define HFUSE_DEFAULT (FUSE_SPIEN)
    13661378
    13671379
     
    13801392#define __LOCK_BITS_EXIST
    13811393#define __BOOT_LOCK_BITS_0_EXIST
    1382 #define __BOOT_LOCK_BITS_1_EXIST 
     1394#define __BOOT_LOCK_BITS_1_EXIST
    13831395
    13841396
     
    13891401
    13901402
     1403/** @} */
    13911404#endif /* _AVR_IO90PWM2B_H_ */
  • cpukit/score/cpu/avr/avr/ioa6289.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2008 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/ioa6289.h - definitions for ATA6289 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/ioa6289.h
     3 *
     4 * @brief Definitions for ATA6289
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 * Copyright (c) 2008 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_ATA6289_H_ 1
    4954
     55/**
     56 * @defgroup Avr_ioa6289 ATA6289 Definitions
     57 *
     58 * @ingroup avr
     59 *
     60 * @{
     61 */
    5062
    5163/* Registers and associated bit numbers. */
     
    840852
    841853
     854/** @} */
    842855#endif /* _AVR_ATA6289_H_ */
    843 
  • cpukit/score/cpu/avr/avr/iocan32.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2004,2005, Anatoly Sokolov <aesok@pautinka.net>
    2    All rights reserved.
     1/**
     2 * @file iocan32.h
     3 *
     4 * @brief Definitions for CAN32
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
    38
    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 /* iocan32.h - definitions for CAN32 */
     9/*
     10 *  Copyright (c) 2004,2005, Anatoly Sokolov <aesok@pautinka.net>
     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_IOCAN32_H_
    3542#define _AVR_IOCAN32_H_ 1
     43
     44/**
     45 * @defgroup AvrDef_CAN32 CAN32 Defintions
     46 *
     47 * @ingroup avr
     48 *
     49 * @{
     50 */
    3651
    3752#include <avr/iocanxx.h>
     
    8297#define __LOCK_BITS_EXIST
    8398#define __BOOT_LOCK_BITS_0_EXIST
    84 #define __BOOT_LOCK_BITS_1_EXIST 
     99#define __BOOT_LOCK_BITS_1_EXIST
    85100
    86101
     
    91106
    92107
     108/** @} */
    93109#endif  /* _AVR_IOCAN32_H_ */
  • cpukit/score/cpu/avr/avr/iom103.h

    r319cb20 ra65f4b19  
    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/iom103.h - definitions for ATmega103 */
     1/**
     2 * @file avr/iom103.h
     3 *
     4 * @brief Definitions for ATmega103
     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_IOM103_H_
    3542#define _AVR_IOM103_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 AvrDef_iom103 ATmega103 Definitions
     56 *
     57 * @ingroup avr
     58 *
     59 * @{
     60 */
    4861
    4962/* I/O registers */
     
    671684#define SIGNATURE_2 0x01
    672685
    673 
     686/** @} */
    674687#endif /* _AVR_IOM103_H_ */
  • cpukit/score/cpu/avr/avr/iom169pa.h

    r319cb20 ra65f4b19  
    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/iom169pa.h - definitions for ATmega169PA */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iom169pa.h
     3 *
     4 * @brief Definitions for ATmega169PA
     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
    45 
     49#endif
     50
     51/**
     52 * @defgroup AvrDef_iom169pa ATmega169PA Defintions
     53 *
     54 * @ingroup avr
     55 *
     56 * @{
     57 */
    4658
    4759#ifndef _AVR_ATmega169PA_H_
     
    14681480#define ADC0_BIT   0
    14691481
     1482/** @} */
    14701483#endif /* _AVR_ATmega169PA_H_ */
    1471 
  • cpukit/score/cpu/avr/avr/iom3290.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2004 Eric B. Weddington
    2    Copyright (c) 2005, 2006, 2007 Anatoly Sokolov
    3    All rights reserved.
    4 
    5    Redistribution and use in source and binary forms, with or without
    6    modification, are permitted provided that the following conditions are met:
    7 
    8    * Redistributions of source code must retain the above copyright
    9      notice, this list of conditions and the following disclaimer.
    10 
    11    * Redistributions in binary form must reproduce the above copyright
    12      notice, this list of conditions and the following disclaimer in
    13      the documentation and/or other materials provided with the
    14      distribution.
    15 
    16    * Neither the name of the copyright holders nor the names of
    17      contributors may be used to endorse or promote products derived
    18      from this software without specific prior written permission.
    19 
    20   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    21   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    22   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    23   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    24   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    25   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    26   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    27   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    28   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    29   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    30   POSSIBILITY OF SUCH DAMAGE. */
    31 
    32 /* avr/iom3290.h - definitions for ATmega3290 and ATmega3290P.  */
     1/**
     2 * @file avr/iom3290.h
     3 *
     4 * @brief Definitions for ATmega3290 and ATmega3290P
     5 */
     6
     7/*
     8 *   Copyright (c) 2004 Eric B. Weddington
     9 *   Copyright (c) 2005, 2006, 2007 Anatoly Sokolov
     10 *   All rights reserved.
     11 *
     12 *   Redistribution and use in source and binary forms, with or without
     13 *   modification, are permitted provided that the following conditions are met:
     14 *
     15 *   * Redistributions of source code must retain the above copyright
     16 *     notice, this list of conditions and the following disclaimer.
     17 *
     18 *   * Redistributions in binary form must reproduce the above copyright
     19 *     notice, this list of conditions and the following disclaimer in
     20 *     the documentation and/or other materials provided with the
     21 *     distribution.
     22 *
     23 *   * Neither the name of the copyright holders nor the names of
     24 *     contributors may be used to endorse or promote products derived
     25 *     from this software without specific prior written permission.
     26 *
     27 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     28 *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     29 *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     30 *  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     31 *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     32 *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     33 *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     34 *  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     35 *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     36 *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     37 *  POSSIBILITY OF SUCH DAMAGE.
     38 */
    3339
    3440#ifndef _AVR_IOM3290_H_
     
    4551#else
    4652#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif
     53#endif
     54
     55/**
     56 * @defgroup AvrDef_iom3290 ATmega3290, ATmega3290P Defintions
     57 *
     58 * @ingroup avr
     59 *
     60 * @{
     61 */
    4862
    4963/* Registers and associated bit numbers */
     
    11441158#define __LOCK_BITS_EXIST
    11451159#define __BOOT_LOCK_BITS_0_EXIST
    1146 #define __BOOT_LOCK_BITS_1_EXIST 
     1160#define __BOOT_LOCK_BITS_1_EXIST
    11471161
    11481162
     
    11521166#define SIGNATURE_2 0x04
    11531167
    1154 
     1168/** @} */
    11551169#endif /* _AVR_IOM3290_H_ */
  • cpukit/score/cpu/avr/avr/iom32c1.h

    r319cb20 ra65f4b19  
    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/iom32c1.h - definitions for ATmega32C1 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iom32c1.h
     3 *
     4 * @brief Definitions for ATmega32C1
     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_ATmega32C1_H_ 1
    4954
     55/**
     56 * @defgroup Avr_iom32c1 ATmega32C1 Definitions
     57 *
     58 * @ingroup avr
     59 *
     60 * @{
     61 */
    5062
    5163/* Registers and associated bit numbers. */
     
    12931305
    12941306
     1307/** @} */
    12951308#endif /* _AVR_ATmega32C1_H_ */
    1296 
  • cpukit/score/cpu/avr/avr/iom32m1.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2008-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/iom32m1.h - definitions for ATmega32M1 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iom32m1.h
     3 *
     4 * @brief Definitions for ATmega32M1
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2008-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_ATmega32M1_H_ 1
    4954
     55/**
     56 * @defgroup AvrDef_iom32m1 ATmega32M1 Definitions
     57 *
     58 * @ingroup avr
     59 *
     60 * @{
     61 */
    5062
    5163/* Registers and associated bit numbers. */
     
    15671579
    15681580
     1581/** @} */
    15691582#endif /* _AVR_ATmega32M1_H_ */
    1570 
  • cpukit/score/cpu/avr/avr/iom640.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2005 Anatoly Sokolov
    2    All rights reserved.
     1/**
     2 * @file avr/iom640.h
     3 *
     4 * @brief Definitions for ATmega640
     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. */
    30 
    31 
    32 /* avr/iom640.h - definitions for ATmega640 */
     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 */
    3338
    3439#ifndef _AVR_IOM640_H_
    3540#define _AVR_IOM640_H_ 1
     41
     42/**
     43 * @defgroup Avr_iom640 ATmega640 Definitions
     44 *
     45 * @ingroup avr
     46 *
     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 0x08
    91104
    92 
     105/** @} */
    93106#endif /* _AVR_IOM640_H_ */
  • cpukit/score/cpu/avr/avr/iomxx4.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2005, 2006, 2007 Anatoly Sokolov
    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 /* avr/iomXX4.h - definitions for ATmega164P/324P/644P and ATmega644 */
    32 
     1/**
     2 * @file avr/iomXX4.h
     3 *
     4 * @brief Definitions for ATmega164P/324P/644P and ATmega644
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 *  Copyright (c) 2005, 2006, 2007 Anatoly Sokolov
     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_IOMXX4_H_
    3542#define _AVR_IOMXX4_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 * @defgroup AvrDef_iomXX4 ATmega164P/324P/644P , ATmega644 Defintions
     46 *
     47 * @ingroup avr
     48 *
     49 * @{
     50 */
    3851
    3952#ifndef _AVR_IO_H_
     
    866879
    867880
     881/** @} */
    868882#endif /* _AVR_IOMXX4_H_ */
  • cpukit/score/cpu/avr/avr/iotn15.h

    r319cb20 ra65f4b19  
    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/iotn15.h - definitions for ATtiny15 */
     1/**
     2 * @file avr/iotn15.h
     3 *
     4 * @brief Definitions for ATtiny15
     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_IOTN15_H_
    3542#define _AVR_IOTN15_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 * @defgroup AvrDef_iotn15 ATtiny15 Definitions
     46 *
     47 * @ingroup avr
     48 *
     49 * @{
     50 */
    3851
    3952#ifndef _AVR_IO_H_
     
    4558#else
    4659#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif 
     60#endif
    4861
    4962#ifndef __ASSEMBLER__
     
    329342#define SIGNATURE_2 0x06
    330343
    331 
     344/** @} */
    332345#endif /* _AVR_IOTN15_H_ */
  • cpukit/score/cpu/avr/avr/iotn85.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2005, Joerg Wunsch
    2    All rights reserved.
     1/**
     2 * @file avr/iotn85.h
     3 *
     4 * @brief Definitions for ATtiny85
     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. */
    30 
    31 
    32 /* avr/iotn85.h - definitions for ATtiny85 */
     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 */
    3338
    3439#ifndef _AVR_IOTN85_H_
    3540#define _AVR_IOTN85_H_ 1
     41
     42/**
     43 * @defgroup Avr_iotn85 ATtiny85 Definitions
     44 *
     45 * @ingroup avr
     46 *
     47 * @{
     48 */
    3649
    3750#include <avr/iotnx5.h>
     
    8598#define SIGNATURE_2 0x0B
    8699
    87 
     100/** @} */
    88101#endif /* _AVR_IOTN85_H_ */
  • cpukit/score/cpu/avr/avr/iotnx61.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2006, 2007 Anatoly Sokolov
    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/iotnx61.h - definitions for ATtiny261, ATtiny461 and ATtiny861 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iotnx61.h
     3 *
     4 * @brief Definitions for ATtiny261, ATtiny461 and ATtiny861
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 * Copyright (c) 2006, 2007 Anatoly Sokolov
     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#ifndef _AVR_IOTNx61_H_
    4752#define _AVR_IOTNx61_H_ 1
     53
     54/**
     55 * @defgroup AvrDef_iotnx61 ATtiny261, ATtiny461, ATtiny861 Definitions
     56 *
     57 * @ingroup avr
     58 *
     59 * @{
     60 */
    4861
    4962/* Registers and associated bit numbers */
     
    512525#define _VECTORS_SIZE 38
    513526
     527/** @} */
    514528#endif  /* _AVR_IOTNx61_H_ */
  • cpukit/score/cpu/avr/avr/iousbxx2.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2007 Anatoly Sokolov
    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 /* iousbxx2.h - definitions for AT90USB82 and AT90USB162.  */
     1/**
     2 * @file iousbxx2.h
     3 *
     4 * @brief Definitions for AT90USB82 and AT90USB162
     5 *
     6 * This file should only be included from <avr/io.h>, never directly.
     7 */
     8
     9/*
     10 * Copyright (c) 2007 Anatoly Sokolov
     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_IOUSBXX2_H_
    3542#define _AVR_IOUSBXX2_H_ 1
    3643
    37 /* This file should only be included from <avr/io.h>, never directly. */
     44/**
     45 * @defgroup AvrDef_iousbxx2 AT90USB82, AT90USB162 Definitions
     46 *
     47 * @ingroup avr
     48 *
     49 * @{
     50 */
    3851
    3952#ifndef _AVR_IO_H_
     
    4558#else
    4659#  error "Attempt to include more than one <avr/ioXXX.h> file."
    47 #endif 
     60#endif
    4861
    4962/* Registers and associated bit numbers */
     
    175188#define INT3    3
    176189#define INT2    2
    177 #define INT1    1 
     190#define INT1    1
    178191#define INT0    0
    179192
     
    763776#define _VECTORS_SIZE 116
    764777
     778/** @} */
    765779#endif  /* _AVR_IOUSBXX2_H_ */
  • cpukit/score/cpu/avr/avr/iox256d3.h

    r319cb20 ra65f4b19  
    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/iox256d3.h - definitions for ATxmega256D3 */
    33 
    34 /* This file should only be included from <avr/io.h>, never directly. */
     1/**
     2 * @file avr/iox256d3.h
     3 *
     4 * @brief Definitions for ATxmega256D3
     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_ATxmega256D3_H_ 1
    4954
     55/**
     56 * @defgroup AvrDef_iox256d3 ATxmega256D3 Definitions
     57 *
     58 * @ingroup avr
     59 *
     60 * @{
     61 */
    5062
    5163/* Ungrouped common registers */
     
    51045116// Generic Port Pins
    51055117
    5106 #define PIN0_bm 0x01 
     5118#define PIN0_bm 0x01
    51075119#define PIN0_bp 0
    51085120#define PIN1_bm 0x02
    51095121#define PIN1_bp 1
    5110 #define PIN2_bm 0x04 
     5122#define PIN2_bm 0x04
    51115123#define PIN2_bp 2
    5112 #define PIN3_bm 0x08 
     5124#define PIN3_bm 0x08
    51135125#define PIN3_bp 3
    5114 #define PIN4_bm 0x10 
     5126#define PIN4_bm 0x10
    51155127#define PIN4_bp 4
    5116 #define PIN5_bm 0x20 
     5128#define PIN5_bm 0x20
    51175129#define PIN5_bp 5
    5118 #define PIN6_bm 0x40 
     5130#define PIN6_bm 0x40
    51195131#define PIN6_bp 6
    5120 #define PIN7_bm 0x80 
     5132#define PIN7_bm 0x80
    51215133#define PIN7_bp 7
    51225134
     
    54525464
    54535465
     5466/** @} */
    54545467#endif /* _AVR_ATxmega256D3_H_ */
    54555468
  • cpukit/score/cpu/avr/avr/parity.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2005 Joerg Wunsch
    2    All rights reserved.
     1/**
     2 * @file
     3 *
     4 * @brief Koved to <util/parity.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_PARITY_H_
    3442
     43/**
     44 * @defgroup AvrParity Parity
     45 *
     46 * @ingroup avr
     47 *
     48 * @{
     49 */
     50
    3551#warning "This file has been moved to <util/parity.h>."
    3652#include <util/parity.h>
    3753
     54/** @} */
    3855#endif /* _AVR_PARITY_H_ */
  • cpukit/score/cpu/avr/avr/pgmspace.h

    r319cb20 ra65f4b19  
    1 /* Copyright (c) 2002 - 2007  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    * Redistributions in binary form must reproduce the above copyright
    10      notice, this list of conditions and the following disclaimer in
    11      the documentation and/or other materials provided with the
    12      distribution.
    13    * Neither the name of the copyright holders nor the names of
    14      contributors may be used to endorse or promote products derived
    15      from this software without specific prior written permission.
    16 
    17   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    18   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    19   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    20   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    21   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    22   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    23   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    24   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    25   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    26   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    27   POSSIBILITY OF SUCH DAMAGE. */
    28 
     1/**
     2 * @file pgmspace.h
     3 *
     4 * @brief Definitions for ATmega640
     5 *
     6 *  The functions in this module provide interfaces for a program to access
     7 *  data stored in program space (flash memory) of the device.  In order to
     8 *  use these functions, the target device must support either the \c LPM or
     9 *  \c ELPM instructions.
     10 *
     11 *  @note These functions are an attempt to provide some compatibility with
     12 *  header files that come with IAR C, to make porting applications between
     13 *  different compilers easier.  This is not 100% compatibility though (GCC
     14 *  does not have full support for multiple address spaces yet).
     15 *
     16 *  @note If you are working with strings which are completely based in ram,
     17 *   use the standard string functions described in \ref avr_string.
     18 *
     19 *  \note If possible, put your constant tables in the lower 64 KB and use
     20 *  pgm_read_byte_near() or pgm_read_word_near() instead of
     21 *  pgm_read_byte_far() or pgm_read_word_far() since it is more efficient that
     22 *  way, and you can still use the upper 64K for executable code.
     23 *  All functions that are suffixed with a \c _P \e require their
     24 *  arguments to be in the lower 64 KB of the flash ROM, as they do
     25 *  not use ELPM instructions.  This is normally not a big concern as
     26 *  the linker setup arranges any program space constants declared
     27 *  using the macros from this header file so they are placed right after
     28 *  the interrupt vectors, and in front of any executable code.  However,
     29 *  it can become a problem if there are too many of these constants, or
     30 *  for bootloaders on devices with more than 64 KB of ROM.
     31 *  <em>All these functions will not work in that situation.</em>
     32 *
     33 * Contributors:
     34 *   Created by Marek Michalkiewicz <marekm@linux.org.pl>
     35 *   Eric B. Weddington <eric@ecentral.com>
     36 *   Wolfgang Haidinger <wh@vmars.tuwien.ac.at> (pgm_read_dword())
     37 *   Ivanov Anton <anton@arc.com.ru> (pgm_read_float())
     38 */
    2939
    3040/*
    31    pgmspace.h
    32 
    33    Contributors:
    34      Created by Marek Michalkiewicz <marekm@linux.org.pl>
    35      Eric B. Weddington <eric@ecentral.com>
    36      Wolfgang Haidinger <wh@vmars.tuwien.ac.at> (pgm_read_dword())
    37      Ivanov Anton <anton@arc.com.ru> (pgm_read_float())
     41 * Copyright (c) 2002 - 2007  Marek Michalkiewicz
     42 * All rights reserved.
     43 *
     44 * Redistribution and use in source and binary forms, with or without
     45 * modification, are permitted provided that the following conditions are met:
     46 *
     47 *  * Redistributions of source code must retain the above copyright
     48 *     notice, this list of conditions and the following disclaimer.
     49 *
     50 *   * Redistributions in binary form must reproduce the above copyright
     51 *     notice, this list of conditions and the following disclaimer in
     52 *     the documentation and/or other materials provided with the
     53 *     distribution.
     54 *
     55 *   * Neither the name of the copyright holders nor the names of
     56 *     contributors may be used to endorse or promote products derived
     57 *     from this software without specific prior written permission.
     58 *
     59 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     60 *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     61 *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     62 *  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     63 *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     64 *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     65 *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     66 *  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     67 *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     68 *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     69 *  POSSIBILITY OF SUCH DAMAGE.
    3870 */
    39 
    40 /** \file */
    41 /** \defgroup avr_pgmspace <avr/pgmspace.h>: Program Space Utilities
    42     \code
    43     #include <avr/io.h>
    44     #include <avr/pgmspace.h>
    45     \endcode
    46 
    47     The functions in this module provide interfaces for a program to access
    48     data stored in program space (flash memory) of the device.  In order to
    49     use these functions, the target device must support either the \c LPM or
    50     \c ELPM instructions.
    51 
    52     \note These functions are an attempt to provide some compatibility with
    53     header files that come with IAR C, to make porting applications between
    54     different compilers easier.  This is not 100% compatibility though (GCC
    55     does not have full support for multiple address spaces yet).
    56 
    57     \note If you are working with strings which are completely based in ram,
    58     use the standard string functions described in \ref avr_string.
    59 
    60     \note If possible, put your constant tables in the lower 64 KB and use
    61     pgm_read_byte_near() or pgm_read_word_near() instead of
    62     pgm_read_byte_far() or pgm_read_word_far() since it is more efficient that
    63     way, and you can still use the upper 64K for executable code.
    64     All functions that are suffixed with a \c _P \e require their
    65     arguments to be in the lower 64 KB of the flash ROM, as they do
    66     not use ELPM instructions.  This is normally not a big concern as
    67     the linker setup arranges any program space constants declared
    68     using the macros from this header file so they are placed right after
    69     the interrupt vectors, and in front of any executable code.  However,
    70     it can become a problem if there are too many of these constants, or
    71     for bootloaders on devices with more than 64 KB of ROM.
    72     <em>All these functions will not work in that situation.</em>
    73 */
    7471
    7572#ifndef __PGMSPACE_H_
    7673#define __PGMSPACE_H_ 1
     74
     75/**
     76 * @defgroup avr_pgmspace Program Space Utilities
     77 *
     78 * @ingroup avr
     79 *
     80 * @{
     81 */
    7782
    7883#define __need_size_t
     
    403408/** \ingroup avr_pgmspace
    404409    \def pgm_read_byte_near(address_short)
    405     Read a byte from the program space with a 16-bit (near) address. 
     410    Read a byte from the program space with a 16-bit (near) address.
    406411    \note The address is a byte address.
    407412    The address is in the program space. */
     
    411416/** \ingroup avr_pgmspace
    412417    \def pgm_read_word_near(address_short)
    413     Read a word from the program space with a 16-bit (near) address. 
    414     \note The address is a byte address. 
     418    Read a word from the program space with a 16-bit (near) address.
     419    \note The address is a byte address.
    415420    The address is in the program space. */
    416421
     
    419424/** \ingroup avr_pgmspace
    420425    \def pgm_read_dword_near(address_short)
    421     Read a double word from the program space with a 16-bit (near) address. 
    422     \note The address is a byte address. 
     426    Read a double word from the program space with a 16-bit (near) address.
     427    \note The address is a byte address.
    423428    The address is in the program space. */
    424429
     
    428433/** \ingroup avr_pgmspace
    429434    \def pgm_read_float_near(address_short)
    430     Read a float from the program space with a 16-bit (near) address. 
    431     \note The address is a byte address. 
     435    Read a float from the program space with a 16-bit (near) address.
     436    \note The address is a byte address.
    432437    The address is in the program space. */
    433438
     
    719724}))
    720725
    721 /* 
    722 Check for architectures that implement RAMPD (avrxmega3, avrxmega5, 
     726/*
     727Check for architectures that implement RAMPD (avrxmega3, avrxmega5,
    723728avrxmega7) as they need to save/restore RAMPZ for ELPM macros so it does
    724 not interfere with data accesses. 
     729not interfere with data accesses.
    725730*/
    726731#if defined (__AVR_HAVE_RAMPD__)
     
    754759/** \ingroup avr_pgmspace
    755760    \def pgm_read_byte_far(address_long)
    756     Read a byte from the program space with a 32-bit (far) address. 
    757 
    758     \note The address is a byte address. 
     761    Read a byte from the program space with a 32-bit (far) address.
     762
     763    \note The address is a byte address.
    759764    The address is in the program space. */
    760765
     
    763768/** \ingroup avr_pgmspace
    764769    \def pgm_read_word_far(address_long)
    765     Read a word from the program space with a 32-bit (far) address. 
     770    Read a word from the program space with a 32-bit (far) address.
    766771
    767772    \note The address is a byte address.
     
    772777/** \ingroup avr_pgmspace
    773778    \def pgm_read_dword_far(address_long)
    774     Read a double word from the program space with a 32-bit (far) address. 
     779    Read a double word from the program space with a 32-bit (far) address.
    775780
    776781    \note The address is a byte address.
     
    781786/** \ingroup avr_pgmspace
    782787    \def pgm_read_float_far(address_long)
    783     Read a float from the program space with a 32-bit (far) address. 
     788    Read a float from the program space with a 32-bit (far) address.
    784789
    785790    \note The address is a byte address.
     
    792797/** \ingroup avr_pgmspace
    793798    \def pgm_read_byte(address_short)
    794     Read a byte from the program space with a 16-bit (near) address. 
    795 
    796     \note The address is a byte address. 
     799    Read a byte from the program space with a 16-bit (near) address.
     800
     801    \note The address is a byte address.
    797802    The address is in the program space. */
    798803
     
    801806/** \ingroup avr_pgmspace
    802807    \def pgm_read_word(address_short)
    803     Read a word from the program space with a 16-bit (near) address. 
    804 
    805     \note The address is a byte address. 
     808    Read a word from the program space with a 16-bit (near) address.
     809
     810    \note The address is a byte address.
    806811    The address is in the program space. */
    807812
     
    810815/** \ingroup avr_pgmspace
    811816    \def pgm_read_dword(address_short)
    812     Read a double word from the program space with a 16-bit (near) address. 
    813 
    814     \note The address is a byte address. 
     817    Read a double word from the program space with a 16-bit (near) address.
     818
     819    \note The address is a byte address.
    815820    The address is in the program space. */
    816821
     
    819824/** \ingroup avr_pgmspace
    820825    \def pgm_read_float(address_short)
    821     Read a float from the program space with a 16-bit (near) address. 
    822 
    823     \note The address is a byte address. 
     826    Read a float from the program space with a 16-bit (near) address.
     827
     828    \note The address is a byte address.
    824829    The address is in the program space. */
    825830
     
    879884#endif
    880885
     886/** @} */
    881887#endif /* __PGMSPACE_H_ */
Note: See TracChangeset for help on using the changeset viewer.