2017-01-04 19:43:06 +01:00
|
|
|
#pragma once
|
2017-01-03 04:16:43 +01: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 20:46:12 +01:00
|
|
|
extern DummyReg NotUsed;
|
2017-01-03 04:16:43 +01:00
|
|
|
extern DummyReg PCICR;
|
|
|
|
extern DummyReg PCIE1;
|
2017-01-04 19:43:06 +01:00
|
|
|
|