From 046f9d86d7c76306ac66fec4fef6b0a39b4aadaa Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Sat, 25 Aug 2012 17:28:52 +0000 Subject: comments git-svn-id: https://svn.spreadspace.org/mur.sat@602 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/hhd70dongle/hhd70.h | 4 ++++ software/hhd70dongle/hhd70dongle.c | 8 ++++++++ 2 files changed, 12 insertions(+) (limited to 'software/hhd70dongle') diff --git a/software/hhd70dongle/hhd70.h b/software/hhd70dongle/hhd70.h index a3df36a..4adeb3e 100644 --- a/software/hhd70dongle/hhd70.h +++ b/software/hhd70dongle/hhd70.h @@ -39,8 +39,12 @@ #define CS DDB0 #define SCK DDB1 #define MOSI DDB2 +// MISO DDB3 is also GDO1 (can be used when CS == 0) #define MISO DDB3 +//GDO2 currently used for RX Buffer Filled Interrupt #define GDO2 DDB4 +//GDO0 currently only used for c1101 internal temperature sensor +//GDO0 future use: connect directly to RX/TX Switch (set GDO0_CFG to 0x2F) #define GDO0 DDB5 #define RE DDB6 #define TE DDB7 diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c index b6e8eeb..30b7a55 100644 --- a/software/hhd70dongle/hhd70dongle.c +++ b/software/hhd70dongle/hhd70dongle.c @@ -41,6 +41,14 @@ #include "hhd70.h" #include "c1101lib.h" +//todo: move to separte File: + +// If TTX_EN goes high, ~ <=500ms before TTX CW Sender forcefully disables our RX/TX Signal Path +//IF TTX_EN goes low, we have ~ 1min (Beacon Interval) until the next CW Beacon is sent and our RX/TX Signal Path is forcefully disabled +// Beacon Interval Time can be measured by counting with an interrupt triggered by RTC_SECONDS Input +//#define TTX_EN +//#define RTC_SECONDS + #define CPU_PRESCALE(n) do { CLKPR = 0x80; CLKPR = (n); } while(0) char read_buffer[64]; // buffer for reading usb signals -- cgit v1.2.3