Home
last modified time | relevance | path

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

123

/Zephyr-latest/dts/bindings/adc/
Dnxp,adc12.yaml2 # SPDX-License-Identifier: Apache-2.0
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 vref-mv:
41 "#io-channel-cells":
44 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-latest/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 name 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-latest/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-latest/samples/subsys/dap/
DREADME.rst1 .. zephyr:code-sample:: cmsis-dap
2 :name: CMSIS-DAP
4 Implement a custom CMSIS-DAP controller using SWDP interface driver.
9 This sample app demonstrates use of a SWDP interface driver and CMSIS DAP
15 This sample supports multiple hardware configurations:
17 The simplest configuration would be to connect ``SWDIO`` to ``dio``, ``SWDCLK`` to ``clk``
26 The following commands build and flash DAP sample.
28 .. zephyr-app-commands::
29 :zephyr-app: samples/subsys/dap
36 .. code-block:: console
[all …]
/Zephyr-latest/tests/boards/espressif/rtc_clk/
DREADME.rst15 - esp32_devkitc_wrover/esp32/procpu
16 - esp32c3_devkitm
17 - esp32c6_devkitc
18 - esp32s2_saola
19 - esp32s3_devkitm/esp32s3/procpu
26 .. code-block:: console
28 west build -b <board> tests/boards/espressif/rtc_clk
33 .. code-block:: console
35 …west twister -p <board> --device-testing --device-serial=/dev/ttyUSB0 -vv --flash-before -T tests/…
39 .. code-block:: console
[all …]
/Zephyr-latest/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-latest/dts/bindings/ospi/
Dst,stm32-ospi.yaml2 # SPDX-License-Identifier: Apache-2.0
9 pinctrl-0 = <&octospi_clk_pe9 &octospi_ncs_pe10 &octospi_dqs_pe11
16 dma-names = "tx_rx";
21 compatible: "st,stm32-ospi"
23 include: [base.yaml, pinctrl-device.yaml]
34 pinctrl-0:
37 pinctrl-names:
40 clock-names:
50 - &dma1: dma controller phandle
51 - 5: channel number (0 to Max-Channel minus 1). From 0 to 15 on stm32u5x.
[all …]
/Zephyr-latest/boards/nuvoton/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;
38 leds-pwm {
[all …]
/Zephyr-latest/samples/sensor/bme280/
DREADME.rst1 .. zephyr:code-sample:: bme280
3 :relevant-api: sensor_interface
10 This sample shows how to use the Zephyr :ref:`sensor` API driver for the
14 https://www.bosch-sensortec.com/products/environmental-sensors/humidity-sensors-bme280/
16 The sample periodically reads temperature, pressure and humidity data from the
17 first available BME280 device discovered in the system. The sample checks the
23 The sample can be configured to support BME280 sensors connected via either I2C
24 or SPI. Configuration is done via :ref:`devicetree <dt-guide>`. The devicetree
34 https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf
36 Boards with a built-in BME280
[all …]
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/
Dnpcx4m8f_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <nuvoton/npcx/npcx-espi-vws-ex-map.dtsi>
11 #include "npcx4m8f_evb-pinctrl.dtsi"
20 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
26 pwm-0 = &pwm6;
27 i2c-0 = &i2c0_0;
29 peci-0 = &peci0;
33 leds-pwm {
[all …]
/Zephyr-latest/boards/nuvoton/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;
36 compatible = "pwm-leds";
47 current-speed = <115200>;
[all …]
/Zephyr-latest/boards/adafruit/itsybitsy/doc/
Dindex.rst16 * :abbr:`I2C (Inter-Integrated Circuit)`
17 * :abbr:`I2S (Inter-Integrated Sound)`
25 * :abbr:`UARTE (Universal asynchronous receiver-transmitter)`
31 - nRF52840 ARM Cortex-M4F CPU at 64MHz
32 - 1 MB of flash memory and 256 KB of SRAM
33 - 2 MB of QSPI flash
34 - A user LED
35 - A user switch
36 - An RGB DotStar LED
37 - Native USB port
[all …]
/Zephyr-latest/drivers/adc/
Dadc_numaker.c4 * SPDX-License-Identifier: Apache-2.0
55 const struct adc_numaker_config *cfg = dev->config; in adc_numaker_channel_setup()
56 struct adc_numaker_data *data = dev->data; in adc_numaker_channel_setup()
58 if (chan_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_numaker_channel_setup()
59 if ((ADC_ACQ_TIME_UNIT(chan_cfg->acquisition_time) != ADC_ACQ_TIME_TICKS) || in adc_numaker_channel_setup()
60 (ADC_ACQ_TIME_VALUE(chan_cfg->acquisition_time) > 255)) { in adc_numaker_channel_setup()
62 return -EINVAL; in adc_numaker_channel_setup()
65 data->acq_time = ADC_ACQ_TIME_VALUE(chan_cfg->acquisition_time); in adc_numaker_channel_setup()
67 if (chan_cfg->gain != ADC_GAIN_1) { in adc_numaker_channel_setup()
69 return -ENOTSUP; in adc_numaker_channel_setup()
[all …]
Dadc_stm32wb0.c4 * SPDX-License-Identifier: Apache-2.0
9 * - sampling: a single analog-to-digital conversion performed by the ADC
10 * - sequence: one or more sampling(s) performed one after the other by the
13 * - round: all ADC operations needed to read all channels in the adc_sequence passed
20 * - idle mode: clock & ADC configuration that minimizes power consumption
21 * - Only the ADC digital domain clock is turned on:
22 * - ADC is powered off (CTRL.ADC_CTRL_ADC_ON_OFF = 0)
23 * - ADC analog domain clock is turned off
24 * - If applicable:
25 * - ADC LDO is disabled
[all …]
/Zephyr-latest/boards/weact/mini_stm32h743/doc/
Dindex.rst13 - STM32 microcontroller in LQFP100 package
14 - USB OTG or full-speed device
15 - 1 user LED
16 - User, boot, and reset push-buttons
17 - 32.768 kHz and 25MHz HSE crystal oscillators
18 - External NOR Flash memories: 64-Mbit Quad-SPI and 64-Mbit SPI
19 - Board connectors:
20 - Camera (8 bit) connector
21 - ST7735 TFT-LCD 160 x 80 pixels (RGB565 3-SPI)
22 - microSD |trade| card
[all …]
/Zephyr-latest/boards/weact/mini_stm32h7b0/doc/
Dindex.rst13 - STM32 microcontroller in LQFP100 package
14 - USB OTG or full-speed device
15 - 1 user LED
16 - User, boot, and reset push-buttons
17 - 32.768 kHz and 25MHz HSE crystal oscillators
18 - External NOR Flash memories: 64-Mbit Quad-SPI and 64-Mbit SPI
19 - Board connectors:
21 - Camera (8 bit) connector
22 - ST7735 TFT-LCD 160 x 80 pixels (RGB565 3-SPI)
23 - microSD |trade| card
[all …]
/Zephyr-latest/boards/espressif/esp32s3_eye/
Desp32s3_eye_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "esp32s3_eye-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
12 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
16 model = "Espressif ESP32S3-EYE PROCPU";
20 i2c-0 = &i2c0;
29 zephyr,shell-uart = &usb_serial;
31 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-latest/boards/fanke/fk750m1_vbt6/doc/
Dindex.rst6 The FK750M1-VBT6 core board by FANKE Technology Co., Ltd. is an advanced microcontroller
7 platform based on the STMicroelectronics Arm® Cortex®-M7 core STM32H750VBT6 microcontroller.
8 This board is an ideal solution for developers looking to create high-performance
12 The FK750M1-VBT6 is designed as a reference design for user application development before
20 FK750M1-VBT6 provides the following hardware components:
22 - STM32H750VB in LQFP100 package
23 - ARM 32-bit Cortex-M7 CPU with FPU
24 - 480 MHz max CPU frequency
25 - 128 KB Flash
26 - 1 MB SRAM: 192 Kbytes TCM RAM (64 Kbytes ITCM RAM + 128 Kbytes DTCM RAM), 864 Kbytes user SRAM, a…
[all …]
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/
Dfeedback_nrf53.c4 * SPDX-License-Identifier: Apache-2.0
41 * this sample uses target-specific code to perform the measurements. Note that
42 * the use of dedicated target-specific peripheral essentially eliminates
46 * Full-Speed isochronous feedback is Q10.10 unsigned integer left-justified in
47 * the 24-bits so it has Q10.14 format. This sample application puts zeroes to
109 LOG_ERR("nrfx timer init error (sample clk feedback) - Return value: %d", err); in feedback_edge_counter_setup()
142 LOG_ERR("nrfx timer init error (relative timer) - Return value: %d", err); in feedback_relative_timer_setup()
212 * USB host SOF clock) to fake sample clock shifted by P values. in update_sof_offset()
228 sof_offset = framestart_cc - (SAMPLES_PER_SOF << FEEDBACK_P); in update_sof_offset()
237 if ((ctx->rel_sof_offset >= 0) != (sof_offset >= 0)) { in update_sof_offset()
[all …]
/Zephyr-latest/boards/fanke/fk7b0m1_vbt6/doc/
Dindex.rst3 FANKE FK7B0M1-VBT6
9 The FK7B0M1-VBT6 core board by FANKE Technology Co., Ltd. is an advanced microcontroller
10 platform based on the STMicroelectronics Arm® Cortex®-M7 core STM32H7B0VBT6 microcontroller.
11 This board is an ideal solution for developers looking to create high-performance
12 applications, especially in the field of Human-Machine Interface (HMI), leveraging its
15 The FK7B0M1-VBT6 is designed as a reference design for user application development before
24 :alt: FK7B0M1-VBT6
26 FK7B0M1-VBT6 (Credit: FANKE Technology Co., Ltd)
31 FK7B0M1-VBT6 provides the following hardware components:
33 - STM32H7B6VB in LQFP100 package
[all …]
/Zephyr-latest/boards/st/stm32f469i_disco/doc/
Dindex.rst6 The STM32F469 Discovery kit features an ARM Cortex-M4 based STM32F469NI MCU
8 some highlights of the STM32F469I-DISCO board:
11 - STM32 microcontroller in BGA216 package
12 - On-board ST-LINK/V2-1 debugger/programmer, supporting USB reenumeration capability
13 - Flexible board power supply:
15 - ST-LINK/V2-1 USB connector
16 - User USB FS connector
17 - VIN from Arduino* compatible connectors
19 - Four user LEDs
20 - Two push-buttons: USER and RESET
[all …]
/Zephyr-latest/drivers/spi/
Dspi_xec_qmspi_ldma.c4 * SPDX-License-Identifier: Apache-2.0
20 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
21 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
35 * data bytes will be left shifted by 1. Work-around for SPI Mode 3 is
36 * to sample input line(s) on same edge as output data is ready.
123 return -ETIMEDOUT; in xec_qmspi_spin_yield()
133 * Some QMSPI timing register may be modified by the Boot-ROM OTP
144 taps[0] = regs->TM_TAPS; in qmspi_reset()
145 taps[1] = regs->TM_TAPS_ADJ; in qmspi_reset()
146 taps[2] = regs->TM_TAPS_CTRL; in qmspi_reset()
[all …]
/Zephyr-latest/boards/others/stm32_min_dev/doc/
Dindex.rst7 breadboard-friendly breakout board for the `STM32F103x8`_ CPU. There
10 - Blue Pill Board
11 - Black Pill Board
50 +--------+---------------+
54 +--------+---------------+
55 | CLK | Clock |
56 +--------+---------------+
58 +--------+---------------+
60 +--------+---------------+
67 silk screen on the PCB reads BX- or BX+ to indicate 0 and 1 logic lines for B0 and B1
[all …]

123