SmartSnippets DA1459x SDK
sys_tcs.h
Go to the documentation of this file.
1 
42 #ifndef SYS_TCS_H___
43 #define SYS_TCS_H___
44 
45  #include "sys_tcs_da1459x.h"
46 
47 
48 #define CS_TESTPROGRAM_VERSION_TEMPSENS_THRESHOLD 18
49 
55 uint32_t sys_tcs_get_testprogram_version(void);
56 
57 #if (dg_configUSE_SYS_TCS == 1)
58 
63 void sys_tcs_get_trim_values_from_cs(void);
64 
69 __RETAINED_CODE sys_tcs_attr_t* sys_tcs_get_tcs_attributes_ptr(void);
70 
76 __RETAINED_CODE uint32_t* sys_tcs_get_tcs_data_ptr(void);
77 
85 uint8_t sys_tcs_get_size(SYS_TCS_GID gid);
86 
94 SYS_TCS_TYPE sys_tcs_get_value_type(SYS_TCS_GID gid);
95 
106 void sys_tcs_get_custom_values(SYS_TCS_GID gid, uint32_t **values, uint8_t *size);
107 
117 void sys_tcs_apply_custom_values(SYS_TCS_GID gid, sys_tcs_custom_values_cb cb, void *user_data);
118 
128 void sys_tcs_get_reg_pairs(SYS_TCS_GID gid, uint32_t **values, uint8_t *size);
129 
135 __RETAINED_CODE void sys_tcs_apply_reg_pairs(SYS_TCS_GID gid);
136 
137 
148 void sys_tcs_custom_values_system_cb (SYS_TCS_GID gid, void *user_data, const uint32_t *val, uint8_t len);
149 
150 #endif /* (dg_configUSE_SYS_TCS == 1) */
151 #endif /* SYS_TCS_H___ */
152 
sys_tcs_get_testprogram_version
uint32_t sys_tcs_get_testprogram_version(void)
retrieve the TCS value for testprogram version
sys_tcs_da1459x.h
TCS Handler header file.