Home
last modified time | relevance | path

Searched +full:fref +full:- +full:divider (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/sensor/fdc2x1x/boards/
Dnrf9160dk_nrf9160.overlay4 * SPDX-License-Identifier: Apache-2.0
8 clock-frequency = <I2C_BITRATE_FAST>;
12 sd-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
13 intb-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
17 fref = <43360>;
22 fref-divider = <1>;
24 fin-sel = <2>;
31 fref-divider = <1>;
33 fin-sel = <2>;
/Zephyr-latest/soc/snps/arc_iot/
Dsysconf.c4 * SPDX-License-Identifier: Apache-2.0
45 * Fref = Fin / N; Fvco = Fref * M Fout = Fvco / NO
47 * N = input divider value (1, 2, 3 … 15)
48 * M = feedback divider value (4, 5, 6 … 16383)
49 * NO = output divider value (1, 2, 4, or 8)
51 * 1 Mhz <= Fref <= 50 Mhz
58 sysconf_reg_ptr->CLKSEL = CLKSEL_EXT_16M; in arc_iot_pll_conf_reg()
60 sysconf_reg_ptr->PLLCON = val | (0x52000000); in arc_iot_pll_conf_reg()
62 sysconf_reg_ptr->PLLCON = val | (1 << PLLCON_BIT_OFFSET_PLLRST); in arc_iot_pll_conf_reg()
63 sysconf_reg_ptr->PLLCON = val & (~(1 << PLLCON_BIT_OFFSET_PLLRST)); in arc_iot_pll_conf_reg()
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dti,fdc2x1x.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 sd-gpios:
12 type: phandle-array
18 intb-gpios:
19 type: phandle-array
28 Set to identify the sensor as FDC2114 or FDC2214 (4-channel version)
33 Set the Auto-Scan Mode.
36 "active-channel" (single channel mode).
38 true = Auto-Scan conversions as selected by "rr-sequence"
[all …]
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x.c1 /* fdc2x1x.c - Driver for the Texas Instruments FDC2X1X */
6 * SPDX-License-Identifier: Apache-2.0
26 * @param dev - The device structure.
27 * @param ch - Channel to convert the data from.
28 * @param freq - Calculated frequency value .
33 struct fdc2x1x_data *data = dev->data; in fdc2x1x_raw_to_freq()
34 const struct fdc2x1x_config *cfg = dev->config; in fdc2x1x_raw_to_freq()
36 if (data->fdc221x) { in fdc2x1x_raw_to_freq()
37 *freq = (cfg->ch_cfg->fin_sel * (cfg->fref / 1000.0) * in fdc2x1x_raw_to_freq()
38 data->channel_buf[ch]) / pow(2, 28); in fdc2x1x_raw_to_freq()
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h>
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h>
12 #include <zephyr/dt-bindings/sensor/lps22hh.h>
13 #include <zephyr/dt-bindings/sensor/lps2xdf.h>
14 #include <zephyr/dt-bindings/sensor/lis2ds12.h>
15 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h>
17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h>
[all …]
/Zephyr-latest/dts/arm/nxp/
Dnxp_rt1010.dtsi4 * SPDX-License-Identifier: Apache-2.0
10 flexram,num-ram-banks = <4>;
12 flexram,bank-spec = <FLEXRAM_OCRAM>,
19 clock-frequency = <500000000>;
35 /delete-node/ arm-podf;
37 ipg-podf {
38 clock-div = <4>;
61 irq-shared-offset = <0>;
62 dma-channels = <16>;
67 /* Remove GPIO3-GPIO9, they don't exist on RT1010 */
[all …]
Dnxp_rt10xx.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/adc/adc.h>
10 #include <zephyr/dt-bindings/clock/imx_ccm.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/i2c/i2c.h>
13 #include <zephyr/dt-bindings/pwm/pwm.h>
14 #include <zephyr/dt-bindings/memory-controller/nxp,flexram.h>
19 die-temp0 = &tempmon;
23 #address-cells = <1>;
[all …]