diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-05 13:05:33 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-05 13:05:33 +0530 |
| commit | a40d8f331ba5b7ea239b35714eaa1cff504a086b (patch) | |
| tree | fb7e59823959b7ca71f4b4c0a211571b56b56ac2 /test/stubbed/avr/io.h | |
| parent | cc9d915435a61d71f11cffa264cf941de58fe444 (diff) | |
| download | daft-watch-a40d8f331ba5b7ea239b35714eaa1cff504a086b.tar.gz daft-watch-a40d8f331ba5b7ea239b35714eaa1cff504a086b.zip | |
Updates stub
Diffstat (limited to 'test/stubbed/avr/io.h')
| -rw-r--r-- | test/stubbed/avr/io.h | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/test/stubbed/avr/io.h b/test/stubbed/avr/io.h index cfbdef3..8c1ee92 100644 --- a/test/stubbed/avr/io.h +++ b/test/stubbed/avr/io.h @@ -10,6 +10,7 @@ static int PORTB = 0; static int PINA = 0; static int PINB = 0; +#define PA0 0 #define PA1 1 #define PA2 2 #define PA3 3 @@ -22,7 +23,44 @@ static int PINB = 0; #define PB2 2 #define PB3 3 #define PB4 4 -#define PB5 5 -#define PB6 6 -#define PB7 7 + +static int PRR = 0; +static int TCCR0B = 0; +static int TCCR0A = 0; +static int TIMSK0 = 0; +static int TIFR0 = 0; +static int OCR0A = 0; +static int OCR0B = 0; +static int TCNT0 = 0; +static int TCCR1B = 0; +static int TCCR1A = 0; +static int TIMSK1 = 0; +static int TIFR1 = 0; +static int OCR1AH = 0; +static int OCR1BH = 0; +static int OCR1AL = 0; +static int OCR1BL = 0; +static int TCNT1 = 0; +static int TCNT1H = 0; +static int TCNT1L = 0; + +#define CS00 1 +#define CS01 1 +#define CS02 2 +#define CS10 1 +#define CS11 1 +#define CS12 2 +#define WGM00 0 +#define WGM01 1 +#define WGM02 2 +#define WGM10 0 +#define WGM11 1 +#define WGM12 2 +#define WGM13 3 +#define TOIE0 0 +#define TOIE1 0 +#define TOV0 0 +#define TOV1 0 +#define OCF1A 0 +#define OCF1B 0 #endif |
