Home
last modified time | relevance | path

Searched +full:leading +full:- +full:clocks (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/dts/bindings/fpga/
Dlattice,ice40-fpga-base.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "lattice,ice40-fpga-base"
8 include: spi-device.yaml
11 cdone-gpios:
12 type: phandle-array
17 cdone-gpios = <&gpio0 0 0>;
18 creset-gpios:
19 type: phandle-array
24 creset-gpios = <&gpio0 1 GPIO_PUSH_PULL);
25 creset-delay-us:
[all …]
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_spi.c4 * SPDX-License-Identifier: Apache-2.0
30 struct fpga_ice40_data *data = dev->data; in fpga_ice40_load()
32 const struct fpga_ice40_config *config = dev->config; in fpga_ice40_load()
35 memcpy(&bus, &config->bus, sizeof(bus)); in fpga_ice40_load()
39 * during the leading and trailing clock phase. in fpga_ice40_load()
45 if (data->loaded && crc == data->crc) { in fpga_ice40_load()
46 LOG_WRN("already loaded with image CRC32c: 0x%08x", data->crc); in fpga_ice40_load()
49 key = k_spin_lock(&data->lock); in fpga_ice40_load()
52 data->crc = 0; in fpga_ice40_load()
53 data->loaded = false; in fpga_ice40_load()
[all …]
Dfpga_ice40_bitbang.c5 * SPDX-License-Identifier: Apache-2.0
23 * polarity must be inverted during the 'leading clocks' phase and
24 * 'trailing clocks' phase. While the bitstream is being transmitted, the
30 * restore the default pinctrl settings. On some higher-end microcontrollers
34 * However, on lower-end microcontrollers, the amount of time that elapses
36 * leaves us with the bitbanging option. Of course, on lower-end
40 * in order to bitbang on lower-end microcontrollers, we actually require
61 * lattice,ice40-fpga.yaml for details.
65 for (; n > 0; --n) { in fpga_ice40_delay()
73 for (; n > 0; --n) { in fpga_ice40_send_clocks()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_xec_qmspi.c4 * SPDX-License-Identifier: Apache-2.0
58 REG8(&regs->TX_FIFO) = data8; in txb_wr8()
63 return REG8(&regs->RX_FIFO); in rxb_rd8()
87 qmode = regs->MODE & ~(MCHP_QMSPI_M_FDIV_MASK); in qmspi_set_frequency()
89 regs->MODE = qmode; in qmspi_set_frequency()
96 * Receiver samples data on leading edge of clock cycle.
97 * 1 Transmitter changes data on leading edge of current clock cycle.
129 if (((regs->MODE >> MCHP_QMSPI_M_FDIV_POS) & in qmspi_set_signalling_mode()
135 regs->MODE = (regs->MODE & ~(MCHP_QMSPI_M_SIG_MASK)) in qmspi_set_signalling_mode()
148 switch (config->operation & SPI_LINES_MASK) { in qmspi_config_get_lines()
[all …]
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
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()
147 malt1 = regs->MODE_ALT1; in qmspi_reset()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_ads7052.c5 * SPDX-License-Identifier: Apache-2.0
43 const struct ads7052_config *config = dev->config; in adc_ads7052_channel_setup()
45 if (channel_cfg->gain != ADC_GAIN_1) { in adc_ads7052_channel_setup()
46 LOG_ERR("unsupported channel gain '%d'", channel_cfg->gain); in adc_ads7052_channel_setup()
47 return -ENOTSUP; in adc_ads7052_channel_setup()
50 if (channel_cfg->reference != ADC_REF_VDD_1) { in adc_ads7052_channel_setup()
51 LOG_ERR("unsupported channel reference '%d'", channel_cfg->reference); in adc_ads7052_channel_setup()
52 return -ENOTSUP; in adc_ads7052_channel_setup()
55 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_ads7052_channel_setup()
56 LOG_ERR("unsupported acquisition_time '%d'", channel_cfg->acquisition_time); in adc_ads7052_channel_setup()
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst35 instead use the new ``-DFILE_SUFFIX`` feature :ref:`application-file-suffixes`.
57 * NXP: Enabled :ref:`linkserver<linkserver-debug-host-tools>` to be the default runner on the
72 To enable them again use the ``west config manifest.project-filter -- +<module
73 name>`` command, or ``west config manifest.group-filter -- +optional`` to
81 command e.g. ``west flash --erase``. (:github:`64703`)
86 * If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must
91 * Leading single underscores and all double underscores are largely gone,
123 macro avoids run-time string comparisons, and is also safer because it will
126 .. list-table::
127 :header-rows: 1
[all …]
Drelease-notes-3.1.rst61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
220 * Added support for Provisioners over PB-GATT
231 * Implemented ISO-AL TX unframed fragmentation
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`.
[all …]
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
126 "vnd,gpio-device"), ""); in ZTEST()
127 zassert_true(!strcmp(DT_PROP_LAST(TEST_DEADBEEF, compatible), "vnd,gpio-device"), ""); in ZTEST()
140 "vnd,gpio-device"), ""); in ZTEST()
156 "vnd,gpio-device"), ""); in ZTEST()
169 "vnd,gpio-device"), ""); in ZTEST()
190 "vnd,gpio-device"), ""); in ZTEST()
199 "vnd,gpio-device"), ""); in ZTEST()
284 zassert_equal(DT_PROP_OR(TEST_REG, not_a_property, -1), -1, ""); in ZTEST()
287 zassert_equal(DT_PHA_BY_IDX_OR(TEST_TEMP, dmas, 1, not_a_cell, -1), -1, in ZTEST()
[all …]