Home
last modified time | relevance | path

Searched +full:sample +full:- +full:clk (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-Core-3.6.0/dts/bindings/adc/
Dnxp,kinetis-adc12.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,kinetis-adc12"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
17 clk-source:
22 clk-divider:
27 alternate-voltage-reference:
31 sample-time:
34 description: sample time in clock cycles
36 "#io-channel-cells":
39 io-channel-cells:
[all …]
Dnxp,mcux-12b1msps-sar.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,mcux-12b1msps-sar"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
17 clk-divider:
22 sample-period-mode:
25 description: sample period mode
27 "#io-channel-cells":
30 io-channel-cells:
31 - input
Dnxp,kinetis-adc16.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,kinetis-adc16"
8 include: ["adc-controller.yaml", "pinctrl-device.yaml"]
14 channel-mux-b:
22 periodic-trigger:
26 "#io-channel-cells":
29 clk-source:
33 long-sample:
36 - 0
37 - 1
[all …]
/Zephyr-Core-3.6.0/samples/drivers/counter/maxim_ds3231/
DREADME.rst1 .. zephyr:code-sample:: ds3231
3 :relevant-api: counter_interface
5 Interact with a DS3231 real-time clock using the counter API and dedicated driver API.
10 The `DS3231`_ temperature-compensated real-time clock is a
11 high-precision (2 ppm) battery backed clock that maintains civil time
18 The sample first displays the boot banner, board identifier and
20 DS3231 has recorded a loss-of-oscillator::
22 ***** Booting Zephyr OS build zephyr-v1.14.0-2409-g322d53aedaa0 *****
37 Now 1563512509: 2019-07-19 05:01:49 Fri 200
43 Next, if the sample application option ``CONFIG_APP_SET_ALIGNED_CLOCK``
[all …]
/Zephyr-Core-3.6.0/dts/bindings/can/
Dnxp,flexcan.yaml2 # SPDX-License-Identifier: Apache-2.0
13 interrupt-names = "warning", "error", "wake-up", "mb-0-15";
15 clk-source = <1>;
16 sample-point = <875>;
17 bus-speed = <125000>;
18 pinctrl-0 = <&pinmux_flexcan0>;
19 pinctrl-names = "default";
21 can-transceiver {
22 max-bitrate = <1000000>;
28 include: ["can-controller.yaml", "pinctrl-device.yaml"]
[all …]
Dnxp,flexcan-fd.yaml2 # SPDX-License-Identifier: Apache-2.0
12 compatible = "nxp,flexcan-fd", "nxp,flexcan";
15 interrupt-names = "common";
17 clk-source = <2>;
18 sample-point = <875>;
19 sample-point-data = <875>;
20 bus-speed = <125000>;
21 bus-speed-data = <1000000>;
22 pinctrl-0 = <&pinmux_flexcan3>;
23 pinctrl-names = "default";
[all …]
/Zephyr-Core-3.6.0/dts/bindings/tach/
Dnuvoton,npcx-tach.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX-Tachometer node
6 compatible: "nuvoton,npcx-tach"
8 include: [tach.yaml, pinctrl-device.yaml]
15 pinctrl-0:
17 pinctrl-names:
19 sample-clk:
26 description: selected port of tachometer (port-A is 0 and port-B is 1)
27 pulses-per-round:
/Zephyr-Core-3.6.0/dts/arm/st/f7/
Dstm32f745.dtsi2 * Copyright (c) 2020 Kwon Tae-young <tykwon@m2i.co.kr>
4 * SPDX-License-Identifier: Apache-2.0
13 compatible = "zephyr,memory-region", "mmio-sram";
15 zephyr,memory-region = "SRAM0";
19 compatible = "zephyr,memory-region", "arm,dtcm";
21 zephyr,memory-region = "DTCM";
25 compatible = "st,stm32f745", "st,stm32f7", "simple-bus";
27 pinctrl: pin-controller@40020000 {
31 compatible = "st,stm32-gpio";
32 gpio-controller;
[all …]
/Zephyr-Core-3.6.0/dts/arm/nxp/
Dnxp_k66.dtsi4 * SPDX-License-Identifier: Apache-2.0
17 compatible = "nxp,kinetis-lpuart";
22 dma-names = "rx", "tx";
30 interrupt-names = "mb-0-15", "bus-off", "error", "tx-warning",
31 "rx-warning", "wake-up";
33 clk-source = <1>;
34 sample-point = <875>;
Dnxp_ke1xf.dtsi2 * Copyright (c) 2019-2021 Vestas Wind Systems A/S
4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
8 #include <zephyr/dt-bindings/adc/adc.h>
9 #include <zephyr/dt-bindings/clock/kinetis_pcc.h>
10 #include <zephyr/dt-bindings/clock/kinetis_scg.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/i2c/i2c.h>
20 zephyr,flash-controller = &ftfe;
24 #address-cells = <1>;
[all …]
Dnxp_rt11xx.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_rev2.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/pm/imx_spc.h>
15 #include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h>
22 #address-cells = <1>;
[all …]
/Zephyr-Core-3.6.0/samples/net/sockets/txtime/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
44 const struct device *clk; member
51 .sock = -1,
138 socklen_t addr_len = data->peer_addr_len; in rx()
142 len += recvfrom(data->sock, recv_buf, sizeof(recv_buf), 0, in rx()
181 msg.msg_name = &data->peer; in tx()
182 msg.msg_namelen = data->peer_addr_len; in tx()
185 cmsg->cmsg_len = CMSG_LEN(sizeof(txtime)); in tx()
186 cmsg->cmsg_level = SOL_SOCKET; in tx()
187 cmsg->cmsg_type = SCM_TXTIME; in tx()
[all …]
/Zephyr-Core-3.6.0/dts/arm/st/f0/
Dstm32f042.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 compatible = "st,stm32f042", "st,stm32f0", "simple-bus";
14 clk_hsi48: clk-hsi48 {
15 #clock-cells = <0>;
16 compatible = "fixed-clock";
17 clock-frequency = <DT_FREQ_M(48)>;
23 compatible = "st,stm32-usart", "st,stm32-uart";
32 compatible = "st,stm32-spi-fifo", "st,stm32-spi";
33 #address-cells = <1>;
34 #size-cells = <0>;
[all …]
/Zephyr-Core-3.6.0/dts/arm/st/h5/
Dstm32h5.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv8-m.dtsi>
9 #include <zephyr/dt-bindings/adc/adc.h>
10 #include <zephyr/dt-bindings/clock/stm32h5_clock.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
12 #include <zephyr/dt-bindings/i2c/i2c.h>
13 #include <zephyr/dt-bindings/reset/stm32h5_reset.h>
14 #include <zephyr/dt-bindings/dma/stm32_dma.h>
15 #include <zephyr/dt-bindings/pwm/pwm.h>
16 #include <zephyr/dt-bindings/adc/stm32l4_adc.h>
[all …]
/Zephyr-Core-3.6.0/dts/arm/st/g0/
Dstm32g0b1.dtsi3 * Copyright (c) 2021 G-Technologies Sdn. Bhd.
5 * SPDX-License-Identifier: Apache-2.0
12 compatible = "st,stm32g0b1", "st,stm32g0", "simple-bus";
15 clk_hsi48: clk-hsi48 {
16 #clock-cells = <0>;
17 compatible = "st,stm32-hsi48-clock";
18 clock-frequency = <DT_FREQ_M(48)>;
23 pinctrl: pin-controller@50000000 {
25 compatible = "st,stm32-gpio";
26 gpio-controller;
[all …]
/Zephyr-Core-3.6.0/boards/arm/npcx4m8f_evb/
Dnpcx4m8f_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "npcx4m8f_evb-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
23 pwm-led0 = &pwm_led0_green;
25 pwm-0 = &pwm6;
26 i2c-0 = &i2c0_0;
28 peci-0 = &peci0;
29 spi-flash0 = &int_flash;
33 leds-pwm {
[all …]
/Zephyr-Core-3.6.0/dts/arm/st/l4/
Dstm32l432.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 compatible = "st,stm32l432", "st,stm32l4", "simple-bus";
14 clk_hsi48: clk-hsi48 {
15 #clock-cells = <0>;
16 compatible = "fixed-clock";
17 clock-frequency = <DT_FREQ_M(48)>;
28 compatible = "st,stm32-spi-fifo", "st,stm32-spi";
29 #address-cells = <1>;
30 #size-cells = <0>;
38 compatible = "st,stm32-timers";
[all …]
Dstm32l496.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 compatible = "st,stm32l496", "st,stm32l4", "simple-bus";
14 clk_hsi48: clk-hsi48 {
15 #clock-cells = <0>;
16 compatible = "fixed-clock";
17 clock-frequency = <DT_FREQ_M(48)>;
28 compatible = "st,stm32-i2c-v2";
29 clock-frequency = <I2C_BITRATE_STANDARD>;
30 #address-cells = <1>;
31 #size-cells = <0>;
[all …]
Dstm32l431.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 compatible = "st,stm32l431", "st,stm32l4", "simple-bus";
14 clk_hsi48: clk-hsi48 {
15 #clock-cells = <0>;
16 compatible = "fixed-clock";
17 clock-frequency = <DT_FREQ_M(48)>;
22 pinctrl: pin-controller@48000000 {
25 compatible = "st,stm32-gpio";
28 gpio-controller;
29 #gpio-cells = <2>;
[all …]
/Zephyr-Core-3.6.0/boards/arm/npcx9m6f_evb/
Dnpcx9m6f_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "npcx9m6f_evb-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
28 pwm-0 = &pwm6;
30 i2c-0 = &i2c0_0;
31 /* For watchdog sample */
33 peci-0 = &peci0;
35 spi-flash0 = &int_flash;
[all …]
/Zephyr-Core-3.6.0/samples/sensor/bme280/
DREADME.rst9 This sample shows how to use the Zephyr :ref:`sensor_api` API driver for the
13 https://www.bosch-sensortec.com/products/environmental-sensors/humidity-sensors-bme280/
15 The sample periodically reads temperature, pressure and humidity data from the
16 first available BME280 device discovered in the system. The sample checks the
22 The sample can be configured to support BME280 sensors connected via either I2C
23 or SPI. Configuration is done via :ref:`devicetree <dt-guide>`. The devicetree
33 https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf
35 Boards with a built-in BME280
41 .. zephyr-app-commands::
42 :zephyr-app: samples/sensor/bme280
[all …]
/Zephyr-Core-3.6.0/boards/arm/npcx7m6fb_evb/
Dnpcx7m6fb_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "npcx7m6fb_evb-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
26 pwm-0 = &pwm6;
28 i2c-0 = &i2c0_0;
30 peci-0 = &peci0;
32 spi-flash0 = &int_flash;
38 compatible = "pwm-leds";
[all …]
/Zephyr-Core-3.6.0/boards/arm/adafruit_itsybitsy_nrf52840/doc/
Dindex.rst19 * :abbr:`I2C (Inter-Integrated Circuit)`
20 * :abbr:`I2S (Inter-Integrated Sound)`
28 * :abbr:`UARTE (Universal asynchronous receiver-transmitter)`
38 - nRF52840 ARM Cortex-M4F CPU at 64MHz
39 - 1 MB of flash memory and 256 KB of SRAM
40 - 2 MB of QSPI flash
41 - A user LED
42 - A user switch
43 - An RGB DotStar LED
44 - Native USB port
[all …]
/Zephyr-Core-3.6.0/drivers/adc/
Dadc_numaker.c4 * SPDX-License-Identifier: Apache-2.0
53 const struct adc_numaker_config *cfg = dev->config; in adc_numaker_channel_setup()
54 struct adc_numaker_data *data = dev->data; in adc_numaker_channel_setup()
56 if (chan_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_numaker_channel_setup()
58 return -ENOTSUP; in adc_numaker_channel_setup()
61 if (chan_cfg->gain != ADC_GAIN_1) { in adc_numaker_channel_setup()
63 return -ENOTSUP; in adc_numaker_channel_setup()
66 if (chan_cfg->reference != ADC_REF_INTERNAL) { in adc_numaker_channel_setup()
68 return -ENOTSUP; in adc_numaker_channel_setup()
71 if (chan_cfg->channel_id >= cfg->channel_cnt) { in adc_numaker_channel_setup()
[all …]
/Zephyr-Core-3.6.0/dts/xtensa/espressif/esp32s2/
Desp32s2_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/adc/adc.h>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
11 #include <zephyr/dt-bindings/clock/esp32s2_clock.h>
12 #include <zephyr/dt-bindings/interrupt-controller/esp32s2-xtensa-intmux.h>
13 #include <dt-bindings/pinctrl/esp32-pinctrl.h>
16 #address-cells = <1>;
17 #size-cells = <1>;
20 die-temp0 = &coretemp;
[all …]

123