grbl-LPC-CoreXY/grbl-lpc/avr/io.h
2017-01-17 14:46:12 -05:00

15 lines
332 B
C

#pragma once
#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;}
};
extern DummyReg NotUsed;
extern DummyReg PCICR;
extern DummyReg PCIE1;