[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8720 - usrp2/trunk/firmware/lib
From: |
matt |
Subject: |
[Commit-gnuradio] r8720 - usrp2/trunk/firmware/lib |
Date: |
Wed, 25 Jun 2008 23:10:06 -0600 (MDT) |
Author: matt
Date: 2008-06-25 23:10:04 -0600 (Wed, 25 Jun 2008)
New Revision: 8720
Modified:
usrp2/trunk/firmware/lib/memory_map.h
Log:
rearranged to reflect the latest from the simple uart
Modified: usrp2/trunk/firmware/lib/memory_map.h
===================================================================
--- usrp2/trunk/firmware/lib/memory_map.h 2008-06-26 05:09:23 UTC (rev
8719)
+++ usrp2/trunk/firmware/lib/memory_map.h 2008-06-26 05:10:04 UTC (rev
8720)
@@ -516,14 +516,17 @@
#define UART_BASE 0xE000
typedef struct {
- volatile uint32_t data;
- volatile uint32_t clkdiv;
+ // All elements are 8 bits except for clkdiv (16), but we use uint32 to
make
+ // the hardware for decoding easier
+ volatile uint32_t clkdiv; // Set to 50e6 divided by baud rate (no x16
factor)
+ volatile uint32_t txlevel; // Number of spaces in the FIFO for writes
+ volatile uint32_t rxlevel; // Number of available elements in the FIFO for
reads
+ volatile uint32_t txchar; // Write characters to be sent here
+ volatile uint32_t rxchar; // Read received characters here
} uart_regs_t;
#define uart_regs ((uart_regs_t *) UART_BASE)
-//#define uart_regs ((wb16550_reg_t *) UART_BASE)
-
///////////////////////////////////////////////////
// ATR Controller, Slave 11
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8720 - usrp2/trunk/firmware/lib,
matt <=