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