|
|
@ -57,27 +57,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
/* Defines: */
|
|
|
|
/* Defines: */
|
|
|
|
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
|
|
|
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
|
|
|
// #define XPROG_VIA_HARDWARE_USART
|
|
|
|
#define XPROG_VIA_HARDWARE_USART
|
|
|
|
|
|
|
|
|
|
|
|
#define BITBANG_PDIDATA_PORT PORTD
|
|
|
|
|
|
|
|
#define BITBANG_PDIDATA_DDR DDRD
|
|
|
|
|
|
|
|
#define BITBANG_PDIDATA_PIN PIND
|
|
|
|
|
|
|
|
#define BITBANG_PDIDATA_MASK (1 << 3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BITBANG_PDICLOCK_PORT PORTD
|
|
|
|
|
|
|
|
#define BITBANG_PDICLOCK_DDR DDRD
|
|
|
|
|
|
|
|
#define BITBANG_PDICLOCK_PIN PIND
|
|
|
|
|
|
|
|
#define BITBANG_PDICLOCK_MASK (1 << 5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BITBANG_TPIDATA_PORT PORTB
|
|
|
|
|
|
|
|
#define BITBANG_TPIDATA_DDR DDRB
|
|
|
|
|
|
|
|
#define BITBANG_TPIDATA_PIN PINB
|
|
|
|
|
|
|
|
#define BITBANG_TPIDATA_MASK (1 << 3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BITBANG_TPICLOCK_PORT PORTB
|
|
|
|
|
|
|
|
#define BITBANG_TPICLOCK_DDR DDRB
|
|
|
|
|
|
|
|
#define BITBANG_TPICLOCK_PIN PINB
|
|
|
|
|
|
|
|
#define BITBANG_TPICLOCK_MASK (1 << 1)
|
|
|
|
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define BITBANG_PDIDATA_PORT PORTB
|
|
|
|
#define BITBANG_PDIDATA_PORT PORTB
|
|
|
|
#define BITBANG_PDIDATA_DDR DDRB
|
|
|
|
#define BITBANG_PDIDATA_DDR DDRB
|
|
|
|