objdictgen/config/DS-419.prf
author Christian Taedcke
Fri, 28 Jan 2011 14:51:18 +0100
changeset 658 7758d60e9260
parent 0 4472ee7c6c3e
permissions -rw-r--r--
FIXED: - changed make targets from "%o: %c" to "%.o: %.c" (Patch from irc <oleg_osov>)
find . -name 'Make*' | xargs perl -w -i.bak -p -e "s/\%o: \%c/%.o: %.c/g"
global Mapping, AddMenuEntries

"""
MappingDictionary for DS-419
"""

Mapping = {
    0x6000 : {"name" : "Battery status", "struct" : var, "need" : True, "values" :
                [{"name" : "battery_status", "type" : 0x05, "access" : 'rw', "pdo" : True}]},

    0x6001 : {"name" : "Charger status", "struct" : var, "need" : True, "values" :
                [{"name" : "charger_status", "type" : 0x06, "access" : 'rw', "pdo" : True}]},

    0x6052 : {"name" : "Ah returned during last charge", "struct" : var, "need" : False, "values" :
                [{"name" : "ah_returned_during_last_charge", "type" : 0x06, "access" : 'ro', "pdo" : True}]},

    0x6060 : {"name" : "Battery voltage", "struct" : var, "need" : False, "values" :
                [{"name" : "battery_voltage", "type" : 0x07, "access" : 'rw', "pdo" : True}]},

    0x6070 : {"name" : "Charge current requested", "struct" : var, "need" : False, "values" :
                [{"name" : "charge_current_requested", "type" : 0x06, "access" : 'rw', "pdo" : True}]},

    0x6080 : {"name" : "Charger state of charge", "struct" : var, "need" : False, "values" :
                [{"name" : "charge_state_of_charge", "type" : 0x05, "access" : 'ro', "pdo" : True}]},

    0x6081 : {"name" : "Battery state of charge", "struct" : var, "need" : False, "values" :
                [{"name" : "battery_state_of_charge", "type" : 0x05, "access" : 'rw', "pdo" : True}]}

}

AddMenuEntries = []