aboutsummaryrefslogtreecommitdiff
path: root/include/mcu/mcu.h
blob: 6038103edc8265fe434cae2edde4b3fca9d27d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#define __MCU_ATmega328p__ \
    ((defined __AVR_ATmega328P__ || defined __AVR_ATmega328__ || \
      defined __AVR_ATmega1688PA__ || defined __AVR_ATmega168A__ || \
      defined __AVR_ATmega88PA__ || defined __AVR_ATmega88A__ || \
      defined __AVR_ATmega48PA__ || defined AVR_ATmega48A__))

#define __MCU_ATmega32U4__ \
    ((defined __AVR_ATmega32U4__ || defined __AVR_ATmega16U4))

#define __MCU_ATmega8A__ \
    (defined __AVR_ATmega8A__)

#define __MCU_ATtiny4313__ \
    ((defined __AVR_ATtiny4313__ || defined __AVR_ATtiny2313A__))

#define __MCU_ATtiny85__ \
    ((defined __AVR_ATtiny85__ || defined __AVR_ATtiny45__ || \
      defined __AVR_ATtiny25__))