Home
last modified time | relevance | path

Searched refs:sigmadelta_cfg (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/driver/test/
Dtest_sigmadelta.c15 sigmadelta_config_t sigmadelta_cfg = { variable
21 sigmadelta_cfg.channel = i;
22 TEST_ESP_OK(sigmadelta_config(&sigmadelta_cfg));
25 sigmadelta_cfg.channel = SOC_SIGMADELTA_CHANNEL_NUM;
26 …TEST_ASSERT_EQUAL_MESSAGE(ESP_ERR_INVALID_ARG, sigmadelta_config(&sigmadelta_cfg), "wrong channel …
33 sigmadelta_config_t sigmadelta_cfg = { variable
39 TEST_ESP_OK(sigmadelta_config(&sigmadelta_cfg));
44 sigmadelta_set_duty(sigmadelta_cfg.channel, duty);
55 sigmadelta_set_duty(sigmadelta_cfg.channel, duty);
64 TEST_ESP_OK(sigmadelta_set_pin(sigmadelta_cfg.channel, 5));
/hal_espressif-3.6.0/examples/peripherals/sigmadelta/main/
Dsigmadelta_example_main.c25 sigmadelta_config_t sigmadelta_cfg = { in sigmadelta_example_init() local
31 sigmadelta_config(&sigmadelta_cfg); in sigmadelta_example_init()