Lines Matching refs:userConfig
116 void TSI_GetNormalModeDefaultConfig(tsi_config_t *userConfig) in TSI_GetNormalModeDefaultConfig() argument
119 (void)memset(userConfig, 0, sizeof(*userConfig)); in TSI_GetNormalModeDefaultConfig()
121 userConfig->thresh = 0U; in TSI_GetNormalModeDefaultConfig()
122 userConfig->thresl = 0U; in TSI_GetNormalModeDefaultConfig()
123 userConfig->prescaler = kTSI_ElecOscPrescaler_2div; in TSI_GetNormalModeDefaultConfig()
124 userConfig->extchrg = kTSI_ExtOscChargeCurrent_500nA; in TSI_GetNormalModeDefaultConfig()
125 userConfig->refchrg = kTSI_RefOscChargeCurrent_4uA; in TSI_GetNormalModeDefaultConfig()
126 userConfig->nscn = kTSI_ConsecutiveScansNumber_5time; in TSI_GetNormalModeDefaultConfig()
127 userConfig->mode = kTSI_AnalogModeSel_Capacitive; in TSI_GetNormalModeDefaultConfig()
128 userConfig->dvolt = kTSI_OscVolRailsOption_0; in TSI_GetNormalModeDefaultConfig()
149 void TSI_GetLowPowerModeDefaultConfig(tsi_config_t *userConfig) in TSI_GetLowPowerModeDefaultConfig() argument
152 (void)memset(userConfig, 0, sizeof(*userConfig)); in TSI_GetLowPowerModeDefaultConfig()
154 userConfig->thresh = 400U; in TSI_GetLowPowerModeDefaultConfig()
155 userConfig->thresl = 0U; in TSI_GetLowPowerModeDefaultConfig()
156 userConfig->prescaler = kTSI_ElecOscPrescaler_2div; in TSI_GetLowPowerModeDefaultConfig()
157 userConfig->extchrg = kTSI_ExtOscChargeCurrent_500nA; in TSI_GetLowPowerModeDefaultConfig()
158 userConfig->refchrg = kTSI_RefOscChargeCurrent_4uA; in TSI_GetLowPowerModeDefaultConfig()
159 userConfig->nscn = kTSI_ConsecutiveScansNumber_5time; in TSI_GetLowPowerModeDefaultConfig()
160 userConfig->mode = kTSI_AnalogModeSel_Capacitive; in TSI_GetLowPowerModeDefaultConfig()
161 userConfig->dvolt = kTSI_OscVolRailsOption_0; in TSI_GetLowPowerModeDefaultConfig()