1 /* 2 * $Id$ 3 * 4 * Pod signal names 5 * Copyright (C) 2008 K. Waschk 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 20 * 02111-1307, USA. 21 * 22 */ 23 24 #ifndef URJ_POD_H 25 #define URJ_POD_H 26 27 typedef enum URJ_POD_SIGSEL 28 { 29 URJ_POD_CS_NONE = 0, /* no/invalid signal */ 30 URJ_POD_CS_TDI = (1 << 0), /* out: JTAG/SPI data in */ 31 URJ_POD_CS_TCK = (1 << 1), /* out: JTAG/SPI clock */ 32 URJ_POD_CS_TMS = (1 << 2), /* out: JTAG test mode select/SPI slave select */ 33 URJ_POD_CS_TRST = (1 << 3), /* out: JTAG TAP reset */ 34 URJ_POD_CS_RESET = (1 << 4), /* out: system reset */ 35 URJ_POD_CS_SCK = (1 << 5), /* out: I2C clock (not yet used) */ 36 URJ_POD_CS_SDA = (1 << 6), /* inout: I2C data (not yet used) */ 37 URJ_POD_CS_SS = (1 << 7), /* out: SPI slave select (not yet used) */ 38 } 39 urj_pod_sigsel_t; 40 41 #endif /* URJ_POD_H */ 42