Split HAL Digital Implementation files (#59)

Split to match the new headers. Uses a namespace 'hal' for internal functions and globals.
SPIAccumulator merged back into SPI header, as it was not a good split. Analog
accumulator will move back to analog input when the analog split is done.
This commit is contained in:
Thad House
2016-05-26 12:56:39 -07:00
committed by Peter Johnson
parent 305ab08f1c
commit da6b8c7ae1
15 changed files with 2179 additions and 2051 deletions

View File

@@ -9,8 +9,9 @@
#include "ChipObject.h"
extern void remapDigitalSource(bool analogTrigger, uint32_t& pin,
uint8_t& module);
#include "DigitalInternal.h"
using namespace hal;
struct Interrupt // FIXME: why is this internal?
{