Josh Blum
8be3b883f5
Added ability to set the subdevices in use for rx and tx dboards.
...
This is used to calculate and set the ddc and duc muxes.
Also, minor fix for burning addrs (wrong pointer....)
2010-03-16 13:49:39 -07:00
Josh Blum
7590f187d0
Device sub classes can register themselves. Simplifies device.cpp internals.
...
Added static instance macro for lazy instantiation of static variables.
2010-03-15 12:15:33 -07:00
Josh Blum
2147c5f61c
Removed freq min and max and gain min, max, and step...
...
replaced it with gain and freq range tuples.
This simplifies the api calls and subdev properties.
2010-03-12 16:01:01 -08:00
Josh Blum
daed43a8a8
Cleaned up the gain handler (thing that gets and sets wildcard gains)
...
and made use of it in the dboard manager so it intercepts the sets and gets.
While doing this, fixed something with nested links in wax obj.
Added some useful macros and templates to the utils.
2010-03-11 18:37:34 -08:00
Josh Blum
9c0fb5e15d
Filled in dboard code for basics and lf type boards.
...
The dboard is now just a uint16 (dont bother with the enums).
The dboard manager now registers subdevs with a name.
The basic board code uses a static block to register itself.
2010-03-10 19:33:38 -08:00
Josh Blum
5200303517
added set nice gpio pins to manager on init and deconstruct
2010-02-22 14:36:48 -08:00
Josh Blum
9c9c96896c
Made implementation class for the dboard manager.
2010-02-22 00:37:53 -08:00
Josh Blum
add5d32f9b
Moved lib and include contents of dboard and mboard one directory up and prefixed them with dboard_ and mboard_.
...
And yes, the code is compiling.
2010-02-21 12:59:41 -08:00