diff options
author | jcorgan | 2009-02-10 16:35:17 +0000 |
---|---|---|
committer | jcorgan | 2009-02-10 16:35:17 +0000 |
commit | 776f05255fbed9d7beecf03759215641c74188c5 (patch) | |
tree | fb86fce24ebb455217c165239006c5f8fcc9da32 /usrp2/firmware/lib/memory_map.h | |
parent | 9f6bc9d5da0e504008b7d692fd6c9cbe55753d90 (diff) | |
download | gnuradio-776f05255fbed9d7beecf03759215641c74188c5.tar.gz gnuradio-776f05255fbed9d7beecf03759215641c74188c5.tar.bz2 gnuradio-776f05255fbed9d7beecf03759215641c74188c5.zip |
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
Diffstat (limited to 'usrp2/firmware/lib/memory_map.h')
-rw-r--r-- | usrp2/firmware/lib/memory_map.h | 19 |
1 files changed, 19 insertions, 0 deletions
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. + * + * <pre> + * + * 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) + * + * </pre> + */ volatile uint32_t tick_control; volatile uint32_t tick_interval; volatile uint32_t delta_time; |