Merged Marcin's AVC-LAN driver

This commit is contained in:
Allen Hill
2015-07-23 09:43:26 -07:00
parent a4750f80b6
commit 214cc168fd
9 changed files with 1536 additions and 12 deletions
+2 -2
View File
@@ -41,8 +41,8 @@
#define START_BIT_LENGTH 372 //186*2
#define START_BIT_HOLD_ON_LENGTH 336 //168*2
#define AVC_OUT_EN() sbi(PORTD, 6); sbi(DDRD, 6); sbi(DDRD, 7); sbi(ACSR, ACD);
#define AVC_OUT_DIS() cbi(PORTD, 6); cbi(DDRD, 6); cbi(DDRD, 7); cbi(ACSR, ACD);
#define AVC_OUT_EN() sbi(PORTD, 6); sbi(DDRD, 6); sbi(DDRD, 7); sbi(ACSR, ACD); // Output mode
#define AVC_OUT_DIS() cbi(PORTD, 6); cbi(DDRD, 6); cbi(DDRD, 7); cbi(ACSR, ACD); // Read mode
#define AVC_SET_1() sbi(PORTD, 6);
#define AVC_SET_0() cbi(PORTD, 6);