objdictgen/config/DS-302.prf
author Christian Taedcke <hacking@taedcke.com>
Tue, 08 Nov 2011 08:27:42 +0000
changeset 684 3804ee7f9030
parent 537 9abbda25a18b
permissions -rw-r--r--
Win32 applconfig:
CHANGED: - The MSG()-Makros for Visual Studio both print now to OutputDebugString().
ADDED: - Makro CANFESTIVAL_DEBUG_DRV_MSG() and MSG_ERR_DRV() to print into MSG() from a can driver implementation.
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     1
global Mapping, AddMenuEntries
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     2
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     3
"""
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     4
MappingDictionary for DS-302
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     5
"""
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     6
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     7
Mapping = {
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
     8
    0x1F20 : {"name" : "Store DCF", "struct" : rec, "need" : False, "values" :
198
1587a69b6ed9 DS-302 profile update
greg
parents: 176
diff changeset
     9
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    10
                 {"name" : "Store DCF for node %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    11
    
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    12
    0x1F21 : {"name" : "Storage Format", "struct" : rec, "need" : False, "values" :
198
1587a69b6ed9 DS-302 profile update
greg
parents: 176
diff changeset
    13
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    14
                 {"name" : "Storage Format for Node %d[(sub)]", "type" : 0x02, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    15
    
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    16
    0x1F22 : {"name" : "Concise DCF", "struct" : rec, "need" : False, "values" :
198
1587a69b6ed9 DS-302 profile update
greg
parents: 176
diff changeset
    17
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
535
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    18
                 {"name" : "Concise DCF for Node %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]} ,  
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    19
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    20
    0x1F50 : {"name" : "Download Program Data", "struct" : rec, "need" : False, "values" :
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    21
                [{"name" : "Number of different programs supported on the node", "type" : 0x05, "access" : 'ro', "pdo" : False},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    22
                 {"name" : "Program Number %d[(sub)]", "type" : 0x0F, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    23
    
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    24
    0x1F51 : {"name" : "Program Control", "struct" : rec, "need" : False, "values" :
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    25
                [{"name" : "Number of different programs on the node", "type" : 0x05, "access" : 'ro', "pdo" : False},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    26
                 {"name" : "Program Number %d[(sub)]", "type" : 0x05, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    27
    
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    28
    0x1F52 : {"name" : "Verify Application Software", "struct" : array, "need" : False, "values" :
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    29
                [{"name" : "Number of Entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    30
                 {"name" : "Application software date", "type" : 0x07, "access" : 'rw', "pdo" : False},  
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    31
                 {"name" : "Application sofware time", "type" : 0x07, "access" : 'rw', "pdo" : False}]},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    32
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    33
    0x1F53 : {"name" : "Expected Application SW Date", "struct" : rec, "need" : False, "values" :
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    34
                [{"name" : "Number of different programs on the node", "type" : 0x05, "access" : 'ro', "pdo" : False},
537
9abbda25a18b Bug in file fixed
lbessard
parents: 535
diff changeset
    35
                 {"name" : "Program number %d[(sub)]", "type" : 0x07, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]},
535
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    36
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    37
    0x1F55 : {"name" : "Expected Application SW Time", "struct" : rec, "need" : False, "values" :
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    38
                [{"name" : "Number of different programs on the node", "type" : 0x05, "access" : 'ro', "pdo" : False},
69c25c60df5d Adding entries for Program Control in DS302 profile
lbessard
parents: 198
diff changeset
    39
                 {"name" : "Program number %d[(sub)]", "type" : 0x07, "access" : 'rw', "pdo" : False, "nbmax" : 0x7F}]}
176
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    40
}
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    41
5d57fe1e3a5b Support for DCF (DS-302)
greg
parents:
diff changeset
    42
AddMenuEntries = []