Iterable Ctypes Struct

mark.seagoe at gmail.com mark.seagoe at gmail.com
Wed Feb 11 20:33:23 EST 2009



Hi Gabriel;

Not sure what generic attribute container is.  I am reading in from
xml file
all reg names for a chip.  So then I'd be able to use python scripts
to
access the regs.  So eventually this class will get subclassed w/ hw
access
instead of just saving in int.  So I want to call this module
something like
"CHIP" which contains a struct.  I add the "REG" struct objects as I
read
them in from xml file.  The "REG" struct would have info about
address, # of
bits, type (RO, RW, etc).

Thx,
Mark





More information about the Python-list mailing list