On 2015-06-11 11:10, David Aldrich wrote:
Hi
I am fairly new to Python. I am writing some code that uses a
dictionary to store definitions of hardware registers. Here is a small
part of it:
import sys
register = {
'address' : 0x3001c,
'fields' : {
'FieldA' : {
David Aldrich wrote:
> Hi
>
> I am fairly new to Python. I am writing some code that uses a dictionary
> to store definitions of hardware registers. Here is a small part of it:
>
> import sys
>
> register = {
> 'address' : 0x3001c,
> 'fields' : {
> 'FieldA' : {
>
Hi
I am fairly new to Python. I am writing some code that uses a dictionary to
store definitions of hardware registers. Here is a small part of it:
import sys
register = {
'address' : 0x3001c,
'fields' : {
'FieldA' : {
'range' : (31,20),
},
'FieldB