// vim:set ts=4 sw=4 ai:
/*
 * Copyright 2009 Erik Gilling
 * Copyright 2014 Michael Toren <mct@toren.net>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* Port B */
#define B_TP4		PB0
#define B_TP5		PB1
/* unused		PB2 */
#define B_MOSI		PB3
#define B_MISO		PB4
#define B_SCK		PB5
#define B_XTAL1		PB6
#define B_XTAL2		PB7

/* Port C */
#define C_RED		PC0
#define C_GREEN		PC1
#define C_BLUE		PC2
#define C_RED_OD	PC3
#define C_GREEN_OD	PC4
#define C_BLUE_OD	PC5
#define C_RESET		PC6

/* Port D */
#define D_RECV		PD0
#define D_TP7 		PD1
#define D_DATA_LED	PD2
#define D_GREEN_OD2	PD3
#define D_BLUE_OD2	PD4
#define D_TP1		PD5
#define D_TP2		PD6
#define D_TP3		PD7
