aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATmega328P.h
blob: c26d55d893396a9c5dbf5fe0dbdcf8f219842cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* This is specific configuration for ATmega328P.
 * Also applies on ATmega48A, ATmega48PA, ATmega88A, ATmega88PA, ATmega168A and
 * ATmega168PA.
 */
#include <avr/io.h>

#define DDR_SPI DDRB
#define DD_SS   DDB2
#define DD_MOSI DDB3
#define DD_MISO DDB4
#define DD_SCLK  DDB5