drivers/ecos_lpc2138_sja1000/lpc2138_pinout.h
author lbessard
Fri, 26 Jan 2007 08:54:02 +0100
changeset 72 68524f7c58b5
parent 18 2fc8aa46980b
permissions -rw-r--r--
Code for avoiding possible problem on Window while importing html module
Add possibility to load CanOpen DS-301 Help even if no index is selected
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.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
18
2fc8aa46980b First version of NVRAM implemented on the file system for can_virtual
oremeq
parents: 3
diff changeset
     4
 Author: Christian Fortin (canfestival@canopencanada.ca)
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
See COPYING file for copyrights details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
This library is free software; you can redistribute it and/or
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     9
modify it under the terms of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    10
License as published by the Free Software Foundation; either
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11
version 2.1 of the License, or (at your option) any later version.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
This library is distributed in the hope that it will be useful,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
but WITHOUT ANY WARRANTY; without even the implied warranty of
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    16
Lesser General Public License for more details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    17
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    18
You should have received a copy of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
License along with this library; if not, write to the Free Software
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
*/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
/**
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
 * Définitions du brochage LPC2138 par défaut.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
#if !defined(_LPC2138_PINOUT_H_)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    27
#define _LPC2138_PINOUT_H_
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    28
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    29
#define LPC2138_uart0_tx                0 /* Pin 0 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    30
#define LPC2138_uart0_tx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    31
#define LPC2138_uart0_tx_SIZE           1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    32
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    33
#define LPC2138_uart0_rx                1 /* Pin 1 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
#define LPC2138_uart0_rx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
#define LPC2138_uart0_rx_SIZE           1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    36
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
#define LPC2138_cs_sja1000              4 /* Pin 4 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    38
#define LPC2138_cs_sja1000_PORT        P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    39
#define LPC2138_cs_sja1000_SIZE         1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    40
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    41
#define LPC2138_cs_s1d13706             5 /* Pin 5 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    42
#define LPC2138_cs_s1d13706_PORT       P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    43
#define LPC2138_cs_s1d13706_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_wait                    7 /* Pin 7 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
#define LPC2138_wait_PORT              P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    47
#define LPC2138_wait_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_uart1_tx                8 /* Pin 8 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    50
#define LPC2138_uart1_tx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
#define LPC2138_uart1_tx_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_uart1_rx                9 /* Pin 9 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    54
#define LPC2138_uart1_rx_PORT          P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
#define LPC2138_uart1_rx_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_bhe                    10 /* Pin 10 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    58
#define LPC2138_bhe_PORT               P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    59
#define LPC2138_bhe_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_a17_mr                 12 /* Pin 12 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
#define LPC2138_a17_mr_PORT            P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
#define LPC2138_a17_mr_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_a16                    13 /* Pin 13 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
#define LPC2138_a16_PORT               P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
#define LPC2138_a16_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_interrupt_sja1000      14 /* Pin 14 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    70
#define LPC2138_interrupt_sja1000_PORT P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    71
#define LPC2138_interrupt_sja1000_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_data                   16 /* Pins 16-23 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    74
#define LPC2138_data_PORT              P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    75
#define LPC2138_data_SIZE               8
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    76
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    77
#define LPC2138_dac0                   25 /* Pin 25 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    78
#define LPC2138_dac0_PORT              P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    79
#define LPC2138_dac0_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_ale                    26 /* Pin 26 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    82
#define LPC2138_ale_PORT               P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    83
#define LPC2138_ale_SIZE                1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    84
18
2fc8aa46980b First version of NVRAM implemented on the file system for can_virtual
oremeq
parents: 3
diff changeset
    85
#define LPC2138_redgreenled             27 /* Pin 27 */
2fc8aa46980b First version of NVRAM implemented on the file system for can_virtual
oremeq
parents: 3
diff changeset
    86
#define LPC2138_redgreenled_PORT        P0
2fc8aa46980b First version of NVRAM implemented on the file system for can_virtual
oremeq
parents: 3
diff changeset
    87
#define LPC2138_redgreenled_SIZE        2
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    88
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    89
#define LPC2138_rd                     29 /* Pin 29 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    90
#define LPC2138_rd_PORT                P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    91
#define LPC2138_rd_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_wr                     30 /* Pin 30 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    94
#define LPC2138_wr_PORT                P0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    95
#define LPC2138_wr_SIZE                 1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    96
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    97
#define LPC2138_a0_a15                 16 /* Pins 16-31 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    98
#define LPC2138_a0_a15_PORT            P1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    99
#define LPC2138_a0_a15_SIZE            16
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   100
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   101
#define LPC2138_addresses_SIZE         18
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   102
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   103
#endif