diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-18 10:53:57 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-18 10:53:57 +0300 |
commit | c7766f85f070f8dfab8727d105c78bb42db77f49 (patch) | |
tree | 1dcde4d004e4bb0105e17581d53a1c64b566e524 /clockless.h | |
parent | 5b8c97da6f5629c5ee2b234744555e1eec4eeb8b (diff) |
Re-arranging code layout, pulling off platform specific headers into their own directories.
Diffstat (limited to 'clockless.h')
-rw-r--r-- | clockless.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/clockless.h b/clockless.h deleted file mode 100644 index 896cf046..00000000 --- a/clockless.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef __INC_CLOCKLESS_H -#define __INC_CLOCKLESS_H - -#include "controller.h" -#include "lib8tion.h" -#include "led_sysdefs.h" -#include "delay.h" - -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Base template for clockless controllers. These controllers have 3 control points in their cycle for each bit. The first point -// is where the line is raised hi. The second pointsnt is where the line is dropped low for a zero. The third point is where the -// line is dropped low for a one. T1, T2, and T3 correspond to the timings for those three in clock cycles. -// -////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -// Convinience macros to wrap around the toggling of hi vs. lo -#define SET_LO FLIP ? FastPin<DATA_PIN>::fastset(port, hi) : FastPin<DATA_PIN>::fastset(port, lo); -#define SET_HI FLIP ? FastPin<DATA_PIN>::fastset(port, lo) : FastPin<DATA_PIN>::fastset(port, hi); - -// #include "clockless_avr.h" -#include "clockless_trinket.h" -#include "clockless_arm_k20.h" -#include "clockless_arm_sam.h" -#include "clockless_block_arm_sam.h" -#include "clockless_block_arm_k20.h" - -#endif |