Commit 153b52bb authored by Lucas Russo's avatar Lucas Russo

sm_io/*/fmc250m_4ch/*: add RST ADCs and RST DIC ADCs to default config

parent 0e9407c4
......@@ -84,6 +84,14 @@ smio_err_e fmc250m_4ch_config_defaults (char *broker_endp, char *service,
ASSERT_TEST(client_err == BPM_CLIENT_SUCCESS, "Could not enable SI571 Output",
err_param_set, SMIO_ERR_CONFIG_DFLT);
client_err = bpm_set_rst_adcs (config_client, service, FMC250M_4CH_DFLT_RST_ADCS);
ASSERT_TEST(client_err == BPM_CLIENT_SUCCESS, "Could not reset ADCs",
err_param_set, SMIO_ERR_CONFIG_DFLT);
client_err = bpm_set_rst_div_adcs (config_client, service, FMC250M_4CH_DFLT_RST_DIV_ADCS);
ASSERT_TEST(client_err == BPM_CLIENT_SUCCESS, "Could not reset DIV CLK ADCs",
err_param_set, SMIO_ERR_CONFIG_DFLT);
err_param_set:
bpm_client_destroy (&config_client);
err_alloc_client:
......
......@@ -21,6 +21,9 @@
#define FMC250M_4CH_DFLT_SI57X_FOUT_FACTORY SI57X_FOUT_FACTORY_DFLT
#define FMC250M_4CH_DFLT_SI57X_FOUT 113040445 /* 113.040445 MHz default */
#define FMC250M_4CH_DFLT_RST_ADCS 0x1
#define FMC250M_4CH_DFLT_RST_DIV_ADCS 0x1
smio_err_e fmc250m_4ch_config_defaults (char *broker_endp, char *service,
const char *log_file_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment