Subversion Repositories DashDisplay

Rev

Rev 66 | Rev 79 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 66 Rev 70
Line 31... Line 31...
31
#pragma pack(pop)
31
#pragma pack(pop)
32
 
32
 
33
// Allocation of NVRAM words : there are 4k bytes
33
// Allocation of NVRAM words : there are 4k bytes
34
#define NVRAM_WORDS (4096 / sizeof(nvram_info_t))
34
#define NVRAM_WORDS (4096 / sizeof(nvram_info_t))
35
 
35
 
-
 
36
    /// @brief Erase every NVRAM entry
-
 
37
    extern void erase_nvram();
36
 
38
   
37
    // Save data according to its tag field
39
    /// @brief Save data, replacing any with a matching tag field.
-
 
40
    /// @param data data item to write 
38
    extern void write_nvram_data(nvram_info_t data);
41
    extern void write_nvram_data(nvram_info_t data);
39
 
42
 
-
 
43
    // 
40
    // find data according to the tag field or return null if no info,
44
    /// @brief Find data according to the tag field/
-
 
45
    /// @param tag tag code to find
-
 
46
    /// @return a pointer to the nvram data with matching tag or NULL if not found
41
    extern nvram_info_t *find_nvram_data(uint8_t tag);
47
    extern nvram_info_t *find_nvram_data(uint8_t tag);
42
 
48
 
43
#if defined __cplusplus
49
#if defined __cplusplus
44
}
50
}
45
#endif
51
#endif