hsc_func_spec
hsc->outmin = hsc_func_spec[hsc->function].output_min;
hsc->outmax = hsc_func_spec[hsc->function].output_max;
static const struct hsc_func_spec hsc_func_spec[] = {