aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATtiny4313.h
blob: 748f6ffc24db959937c5ef72bb0cd74ff3258e45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* This is specific configuration for ATtiny4313.
 * This configuration also applies on ATtiny2313A.
 */
#include <avr/io.h>

// SPI USI
#define DDR_USI     DDRB
#define DD_DI       DDB5
#define DD_DO       DDB6
#define DD_USCK     DDB7
#define PORT_USI    PORTB
#define PORT_DI     PORTB5
#define PORT_DO     PORTB6
#define PORT_USCK   PORTB7

// SPI USART