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

#define USI_DIR_REG     DDRB
#define USI_OUT_REG     PORTB
#define USI_IN_REG      PINB
#define USI_USCK_PIN    PORTB7
#define USI_DO_PIN      PORTB6
#define USI_DI_PIN      PORTB5