blob: cfbdef30815d6951e1af9ba1a27ad827cd604416 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef STUB_AVR_IO
#define STUB_AVR_IO
#include <stdio.h>
static int DDRA = 0;
static int DDRB = 0;
static int PORTA = 0;
static int PORTB = 0;
static int PINA = 0;
static int PINB = 0;
#define PA1 1
#define PA2 2
#define PA3 3
#define PA4 4
#define PA5 5
#define PA6 6
#define PA7 7
#define PB1 1
#define PB2 2
#define PB3 3
#define PB4 4
#define PB5 5
#define PB6 6
#define PB7 7
#endif
|