Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_tach_npcx/
Dtach_nuvoton_npcx.c60 uint32_t sample_clk; member
227 if (config->sample_clk == 0) { in tach_npcx_configure()
232 if (config->sample_clk != data->input_clk) { in tach_npcx_configure()
239 uint16_t prescaler = data->input_clk / config->sample_clk; in tach_npcx_configure()
241 if (data->input_clk > config->sample_clk) { in tach_npcx_configure()
299 val->val1 = (config->sample_clk * 60) / in tach_npcx_channel_get()
377 .sample_clk = DT_INST_PROP(inst, sample_clk), \