From 776f05255fbed9d7beecf03759215641c74188c5 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Tue, 10 Feb 2009 16:35:17 +0000 Subject: Merged r10418:10423 from jcorgan/pps into trunk. Adds usrp2::sync_every_pps git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10424 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp2/firmware/lib/memory_map.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'usrp2/firmware/lib') diff --git a/usrp2/firmware/lib/memory_map.h b/usrp2/firmware/lib/memory_map.h index 0519282bb..f4bf42010 100644 --- a/usrp2/firmware/lib/memory_map.h +++ b/usrp2/firmware/lib/memory_map.h @@ -629,6 +629,25 @@ typedef struct { #define TIMESYNC_BASE 0xE800 typedef struct { + /*! + * \brief Time sync configuration. + * + *
+   *
+   *    3                   2                   1                       
+   *  1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+   * +-----------------------------------------------------+-+-+-+-+-+
+   * |                                                     |T|G|X|I|S|
+   * +-----------------------------------------------------+-+-+-+-+-+
+   *
+   * S - Tick source (0 = free run, 1 = pps, default=0)
+   * I - Tick interrupt enable (not implemented)
+   * X - Use external sync source (default=1)
+   * G - PPS edge selection (0=negedge, 1=posedge, default=0)
+   * T - Trigger sync every pps edge (default=0)
+   *
+   * 
+ */ volatile uint32_t tick_control; volatile uint32_t tick_interval; volatile uint32_t delta_time; -- cgit