etisserant@0: /* etisserant@0: This file is part of CanFestival, a library implementing CanOpen Stack. oremeq@3: ____ _ _ _ oremeq@3: / ___| / \ | \ | | ___ _ __ ___ _ __ oremeq@3: | | / _ \ | \| |/ _ \| '_ \ / _ \ '_ \ oremeq@3: | |___ / ___ \| |\ | (_) | |_) | __/ | | | oremeq@3: \____/_/ \_\_| \_|\___/| .__/ \___|_| |_| oremeq@3: |_| oremeq@3: ____ _ oremeq@3: / ___|__ _ _ __ __ _ __| | __ _ oremeq@3: | | / _` | '_ \ / _` |/ _` |/ _` | oremeq@3: | |__| (_| | | | | (_| | (_| | (_| | oremeq@3: \____\__,_|_| |_|\__,_|\__,_|\__,_| etisserant@0: oremeq@3: canfestival@canopencanada.ca oremeq@3: /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ etisserant@0: etisserant@0: See COPYING file for copyrights details. etisserant@0: etisserant@0: This library is free software; you can redistribute it and/or etisserant@0: modify it under the terms of the GNU Lesser General Public etisserant@0: License as published by the Free Software Foundation; either etisserant@0: version 2.1 of the License, or (at your option) any later version. etisserant@0: etisserant@0: This library is distributed in the hope that it will be useful, etisserant@0: but WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@0: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@0: Lesser General Public License for more details. etisserant@0: etisserant@0: You should have received a copy of the GNU Lesser General Public etisserant@0: License along with this library; if not, write to the Free Software etisserant@0: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA etisserant@0: */ etisserant@0: etisserant@0: /** etisserant@0: * Définitions du brochage LPC2138 par défaut. etisserant@0: */ etisserant@0: #if !defined(_LPC2138_PINOUT_H_) etisserant@0: #define _LPC2138_PINOUT_H_ etisserant@0: etisserant@0: #define LPC2138_uart0_tx 0 /* Pin 0 */ etisserant@0: #define LPC2138_uart0_tx_PORT P0 etisserant@0: #define LPC2138_uart0_tx_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_uart0_rx 1 /* Pin 1 */ etisserant@0: #define LPC2138_uart0_rx_PORT P0 etisserant@0: #define LPC2138_uart0_rx_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_cs_sja1000 4 /* Pin 4 */ etisserant@0: #define LPC2138_cs_sja1000_PORT P0 etisserant@0: #define LPC2138_cs_sja1000_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_cs_s1d13706 5 /* Pin 5 */ etisserant@0: #define LPC2138_cs_s1d13706_PORT P0 etisserant@0: #define LPC2138_cs_s1d13706_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_wait 7 /* Pin 7 */ etisserant@0: #define LPC2138_wait_PORT P0 etisserant@0: #define LPC2138_wait_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_uart1_tx 8 /* Pin 8 */ etisserant@0: #define LPC2138_uart1_tx_PORT P0 etisserant@0: #define LPC2138_uart1_tx_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_uart1_rx 9 /* Pin 9 */ etisserant@0: #define LPC2138_uart1_rx_PORT P0 etisserant@0: #define LPC2138_uart1_rx_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_bhe 10 /* Pin 10 */ etisserant@0: #define LPC2138_bhe_PORT P0 etisserant@0: #define LPC2138_bhe_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_a17_mr 12 /* Pin 12 */ etisserant@0: #define LPC2138_a17_mr_PORT P0 etisserant@0: #define LPC2138_a17_mr_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_a16 13 /* Pin 13 */ etisserant@0: #define LPC2138_a16_PORT P0 etisserant@0: #define LPC2138_a16_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_interrupt_sja1000 14 /* Pin 14 */ etisserant@0: #define LPC2138_interrupt_sja1000_PORT P0 etisserant@0: #define LPC2138_interrupt_sja1000_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_data 16 /* Pins 16-23 */ etisserant@0: #define LPC2138_data_PORT P0 etisserant@0: #define LPC2138_data_SIZE 8 etisserant@0: etisserant@0: #define LPC2138_dac0 25 /* Pin 25 */ etisserant@0: #define LPC2138_dac0_PORT P0 etisserant@0: #define LPC2138_dac0_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_ale 26 /* Pin 26 */ etisserant@0: #define LPC2138_ale_PORT P0 etisserant@0: #define LPC2138_ale_SIZE 1 etisserant@0: oremeq@3: #define LPC2138_redled 27 /* Pin 27 */ oremeq@3: #define LPC2138_redled_PORT P0 oremeq@3: #define LPC2138_redled_SIZE 1 oremeq@3: oremeq@3: #define LPC2138_greenled 28 /* Pin 28 */ oremeq@3: #define LPC2138_greenled_PORT P0 oremeq@3: #define LPC2138_greenled_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_rd 29 /* Pin 29 */ etisserant@0: #define LPC2138_rd_PORT P0 etisserant@0: #define LPC2138_rd_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_wr 30 /* Pin 30 */ etisserant@0: #define LPC2138_wr_PORT P0 etisserant@0: #define LPC2138_wr_SIZE 1 etisserant@0: etisserant@0: #define LPC2138_a0_a15 16 /* Pins 16-31 */ etisserant@0: #define LPC2138_a0_a15_PORT P1 etisserant@0: #define LPC2138_a0_a15_SIZE 16 etisserant@0: etisserant@0: #define LPC2138_addresses_SIZE 18 etisserant@0: etisserant@0: #endif