2017-01-04 13:43:06 -05:00
|
|
|
#pragma once
|
2017-01-02 22:16:43 -05:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct DummyReg {
|
|
|
|
operator uint8_t() {return 0;}
|
|
|
|
uint8_t operator=(uint8_t x) {return x;}
|
|
|
|
uint8_t operator&=(uint8_t x) {return *this = *this & x;}
|
|
|
|
uint8_t operator|=(uint8_t x) {return *this = *this | x;}
|
|
|
|
};
|
|
|
|
|
2017-01-17 14:46:12 -05:00
|
|
|
extern DummyReg NotUsed;
|
2017-01-02 22:16:43 -05:00
|
|
|
extern DummyReg PCICR;
|
|
|
|
extern DummyReg PCIE1;
|
2017-01-04 13:43:06 -05:00
|
|
|
|