drivers/ecos_lpc2138_sja1000/lpc2138_pinout.h
changeset 18 2fc8aa46980b
parent 3 d9cf34cd6823
equal deleted inserted replaced
17:c432930b62c2 18:2fc8aa46980b
     1 /*
     1 /*
     2 This file is part of CanFestival, a library implementing CanOpen Stack.
     2 This file is part of CanFestival, a library implementing CanOpen Stack.
     3   ____    _    _   _
       
     4  / ___|  / \  | \ | | ___  _ __   ___ _ __
       
     5 | |     / _ \ |  \| |/ _ \| '_ \ / _ \ '_ \
       
     6 | |___ / ___ \| |\  | (_) | |_) |  __/ | | |
       
     7  \____/_/   \_\_| \_|\___/| .__/ \___|_| |_|
       
     8                           |_|
       
     9           ____                      _
       
    10          / ___|__ _ _ __   __ _  __| | __ _
       
    11         | |   / _` | '_ \ / _` |/ _` |/ _` |
       
    12         | |__| (_| | | | | (_| | (_| | (_| |
       
    13          \____\__,_|_| |_|\__,_|\__,_|\__,_|
       
    14 
     3 
    15                    canfestival@canopencanada.ca
     4  Author: Christian Fortin (canfestival@canopencanada.ca)
    16 /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
       
    17 
     5 
    18 See COPYING file for copyrights details.
     6 See COPYING file for copyrights details.
    19 
     7 
    20 This library is free software; you can redistribute it and/or
     8 This library is free software; you can redistribute it and/or
    21 modify it under the terms of the GNU Lesser General Public
     9 modify it under the terms of the GNU Lesser General Public
    92 
    80 
    93 #define LPC2138_ale                    26 /* Pin 26 */
    81 #define LPC2138_ale                    26 /* Pin 26 */
    94 #define LPC2138_ale_PORT               P0
    82 #define LPC2138_ale_PORT               P0
    95 #define LPC2138_ale_SIZE                1
    83 #define LPC2138_ale_SIZE                1
    96 
    84 
    97 #define LPC2138_redled                 27 /* Pin 27 */
    85 #define LPC2138_redgreenled             27 /* Pin 27 */
    98 #define LPC2138_redled_PORT            P0
    86 #define LPC2138_redgreenled_PORT        P0
    99 #define LPC2138_redled_SIZE             1
    87 #define LPC2138_redgreenled_SIZE        2
   100 
       
   101 #define LPC2138_greenled               28 /* Pin 28 */
       
   102 #define LPC2138_greenled_PORT          P0
       
   103 #define LPC2138_greenled_SIZE           1
       
   104 
    88 
   105 #define LPC2138_rd                     29 /* Pin 29 */
    89 #define LPC2138_rd                     29 /* Pin 29 */
   106 #define LPC2138_rd_PORT                P0
    90 #define LPC2138_rd_PORT                P0
   107 #define LPC2138_rd_SIZE                 1
    91 #define LPC2138_rd_SIZE                 1
   108 
    92