drivers/ecos_lpc2138_sja1000/lpc2138_pinout.h
author dejoigny
Wed, 17 May 2006 20:40:17 +0200
changeset 12 1d3b9ad366c8
parent 3 d9cf34cd6823
child 18 2fc8aa46980b
permissions -rw-r--r--
CANOPEN_BIG_ENDIAN :
fonctionne pour SDO et PDO.
SDO segment?s test?s en upload et download. Semble ok.
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
/*
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
This file is part of CanFestival, a library implementing CanOpen Stack.
3
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     3
  ____    _    _   _
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     4
 / ___|  / \  | \ | | ___  _ __   ___ _ __
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     5
| |     / _ \ |  \| |/ _ \| '_ \ / _ \ '_ \
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     6
| |___ / ___ \| |\  | (_) | |_) |  __/ | | |
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     7
 \____/_/   \_\_| \_|\___/| .__/ \___|_| |_|
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     8
                          |_|
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
     9
          ____                      _
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    10
         / ___|__ _ _ __   __ _  __| | __ _
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    11
        | |   / _` | '_ \ / _` |/ _` |/ _` |
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    12
        | |__| (_| | | | | (_| | (_| | (_| |
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    13
         \____\__,_|_| |_|\__,_|\__,_|\__,_|
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
3
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    15
                   canfestival@canopencanada.ca
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    16
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    17
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    18
See COPYING file for copyrights details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
This library is free software; you can redistribute it and/or
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
modify it under the terms of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
License as published by the Free Software Foundation; either
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
version 2.1 of the License, or (at your option) any later version.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
This library is distributed in the hope that it will be useful,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
but WITHOUT ANY WARRANTY; without even the implied warranty of
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    27
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    28
Lesser General Public License for more details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    29
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    30
You should have received a copy of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    31
License along with this library; if not, write to the Free Software
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    32
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    33
*/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
/**
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    36
 * Définitions du brochage LPC2138 par défaut.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    38
#if !defined(_LPC2138_PINOUT_H_)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    39
#define _LPC2138_PINOUT_H_
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    40
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    41
#define LPC2138_uart0_tx                0 /* Pin 0 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    42
#define LPC2138_uart0_tx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    43
#define LPC2138_uart0_tx_SIZE           1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    44
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    45
#define LPC2138_uart0_rx                1 /* Pin 1 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
#define LPC2138_uart0_rx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    47
#define LPC2138_uart0_rx_SIZE           1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    48
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    49
#define LPC2138_cs_sja1000              4 /* Pin 4 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    50
#define LPC2138_cs_sja1000_PORT        P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
#define LPC2138_cs_sja1000_SIZE         1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    52
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    53
#define LPC2138_cs_s1d13706             5 /* Pin 5 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    54
#define LPC2138_cs_s1d13706_PORT       P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
#define LPC2138_cs_s1d13706_SIZE        1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    56
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    57
#define LPC2138_wait                    7 /* Pin 7 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    58
#define LPC2138_wait_PORT              P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    59
#define LPC2138_wait_SIZE               1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    60
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    61
#define LPC2138_uart1_tx                8 /* Pin 8 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
#define LPC2138_uart1_tx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
#define LPC2138_uart1_tx_SIZE           1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    64
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    65
#define LPC2138_uart1_rx                9 /* Pin 9 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
#define LPC2138_uart1_rx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
#define LPC2138_uart1_rx_SIZE           1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    68
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    69
#define LPC2138_bhe                    10 /* Pin 10 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    70
#define LPC2138_bhe_PORT               P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    71
#define LPC2138_bhe_SIZE                1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    72
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    73
#define LPC2138_a17_mr                 12 /* Pin 12 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    74
#define LPC2138_a17_mr_PORT            P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    75
#define LPC2138_a17_mr_SIZE             1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    76
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    77
#define LPC2138_a16                    13 /* Pin 13 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    78
#define LPC2138_a16_PORT               P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    79
#define LPC2138_a16_SIZE                1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    80
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    81
#define LPC2138_interrupt_sja1000      14 /* Pin 14 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    82
#define LPC2138_interrupt_sja1000_PORT P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    83
#define LPC2138_interrupt_sja1000_SIZE  1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    84
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    85
#define LPC2138_data                   16 /* Pins 16-23 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    86
#define LPC2138_data_PORT              P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    87
#define LPC2138_data_SIZE               8
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    88
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    89
#define LPC2138_dac0                   25 /* Pin 25 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    90
#define LPC2138_dac0_PORT              P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    91
#define LPC2138_dac0_SIZE               1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    92
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    93
#define LPC2138_ale                    26 /* Pin 26 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    94
#define LPC2138_ale_PORT               P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    95
#define LPC2138_ale_SIZE                1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    96
3
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    97
#define LPC2138_redled                 27 /* Pin 27 */
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    98
#define LPC2138_redled_PORT            P0
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
    99
#define LPC2138_redled_SIZE             1
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
   100
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
   101
#define LPC2138_greenled               28 /* Pin 28 */
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
   102
#define LPC2138_greenled_PORT          P0
d9cf34cd6823 ADDED LED to TESTMASTERSLAVE. It looks nice!
oremeq
parents: 0
diff changeset
   103
#define LPC2138_greenled_SIZE           1
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   104
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   105
#define LPC2138_rd                     29 /* Pin 29 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   106
#define LPC2138_rd_PORT                P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   107
#define LPC2138_rd_SIZE                 1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   108
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   109
#define LPC2138_wr                     30 /* Pin 30 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   110
#define LPC2138_wr_PORT                P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   111
#define LPC2138_wr_SIZE                 1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   112
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   113
#define LPC2138_a0_a15                 16 /* Pins 16-31 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   114
#define LPC2138_a0_a15_PORT            P1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   115
#define LPC2138_a0_a15_SIZE            16
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   116
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   117
#define LPC2138_addresses_SIZE         18
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   118
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   119
#endif