aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATtiny85.h
blob: 19db90ddf6a328ec0e96a5b7708f6b131d7d5a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* This is specific configuration for ATtiny85.
 * This configuration also applies on ATtiny45 and ATtiny25.
 */
#include <avr/io.h>

// SPI USI
#define MCUSUPPORT_USI
#define DDR_USI     DDRB
#define DD_DI       DDB0
#define DD_DO       DDB1
#define DD_USCK     DDB2
#define PORT_USI    PORTB
#define PORT_DI     PORTB0
#define PORT_DO     PORTB1
#define PORT_USCK   PORTB2