/Zephyr-latest/drivers/adc/ |
D | adc_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 32 /* ADC sample time delay (Unit:us) */ 38 #define ADC_CHANNEL_OFFSET(ch) ((ch)-CHIP_ADC_CH13-ADC_CHANNEL_SHIFT) 85 * this config will be used at initial time 98 uint8_t channel_id = channel_cfg->channel_id; in adc_it8xxx2_channel_setup() 100 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_it8xxx2_channel_setup() 101 LOG_ERR("Selected ADC acquisition time is not valid"); in adc_it8xxx2_channel_setup() 102 return -EINVAL; in adc_it8xxx2_channel_setup() 108 LOG_ERR("Channel %d is not valid", channel_id); in adc_it8xxx2_channel_setup() 109 return -EINVAL; in adc_it8xxx2_channel_setup() [all …]
|
D | adc_cc13xx_cc26xx.c | 4 * SPDX-License-Identifier: Apache-2.0 39 /** Internal sample time unit conversion entry. */ 82 struct adc_cc13xx_cc26xx_data *data = in adc_context_start_sampling() local 85 data->repeat_buffer = data->buffer; in adc_context_start_sampling() 87 AUXADCEnableSync(data->ref_source, data->sample_time, AUXADC_TRIGGER_MANUAL); in adc_context_start_sampling() 94 struct adc_cc13xx_cc26xx_data *data = in adc_context_update_buffer_pointer() local 98 data->buffer = data->repeat_buffer; in adc_context_update_buffer_pointer() 100 data->buffer++; in adc_context_update_buffer_pointer() 106 struct adc_cc13xx_cc26xx_data *data = dev->data; in adc_cc13xx_cc26xx_init() local 107 const struct adc_cc13xx_cc26xx_cfg *config = dev->config; in adc_cc13xx_cc26xx_init() [all …]
|
D | adc_ifx_cat1.c | 5 * SPDX-License-Identifier: Apache-2.0 54 struct ifx_cat1_adc_data *data = dev->data; in _cyhal_adc_event_callback() local 55 uint32_t channels = data->channels; in _cyhal_adc_event_callback() 60 channel_id = find_lsb_set(channels) - 1; in _cyhal_adc_event_callback() 63 result = Cy_SAR_GetResult32(data->adc_chan_obj[channel_id].adc->base, in _cyhal_adc_event_callback() 64 data->adc_chan_obj[channel_id].channel_idx); in _cyhal_adc_event_callback() 66 * convert the lowest signed 12-bit number to 0x0. in _cyhal_adc_event_callback() 68 *data->buffer = (uint16_t)(result + 0x800); in _cyhal_adc_event_callback() 69 data->buffer++; in _cyhal_adc_event_callback() 72 adc_context_on_sampling_done(&data->ctx, dev); in _cyhal_adc_event_callback() [all …]
|
D | adc_smartbond_gpadc.c | 4 * SPDX-License-Identifier: Apache-2.0 13 #include <zephyr/dt-bindings/adc/smartbond-adc.h> 36 /* Buffer to store channel data */ 61 uint8_t channel_id = channel_cfg->channel_id; in adc_smartbond_channel_setup() 65 return -EINVAL; in adc_smartbond_channel_setup() 68 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_smartbond_channel_setup() 69 LOG_ERR("Selected ADC acquisition time is not valid"); in adc_smartbond_channel_setup() 70 return -EINVAL; in adc_smartbond_channel_setup() 73 if (channel_cfg->differential) { in adc_smartbond_channel_setup() 74 if (channel_cfg->input_positive != SMARTBOND_GPADC_P1_09 && in adc_smartbond_channel_setup() [all …]
|
/Zephyr-latest/dts/bindings/mtd/ |
D | nxp,imx-flexspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [spi-device.yaml, "jedec,jesd216.yaml"] 9 cs-interval-unit: 13 - 1 14 - 256 20 cs-interval: 28 cs-setup-time: 32 Chip select setup time, in serial clock cycles. See the TCSS field in 36 cs-hold-time: 40 Chip select hold time, in serial clock cycles. See the TCSH field in [all …]
|
/Zephyr-latest/samples/boards/nordic/system_off/src/ |
D | retained.h | 4 * SPDX-License-Identifier: Apache-2.0 13 /* Example of validatable retained data. */ 15 /* The uptime from the current session the last time the 16 * retained data was updated. 31 /* CRC used to validate the retained data. This must be 32 * stored little-endian, and covers everything up to but not 43 /* Check whether the retained data is valid, and if not reset it. 45 * @return true if and only if the data was valid and reflects state
|
/Zephyr-latest/dts/bindings/bluetooth/ |
D | zephyr,bt-hci-spi.yaml | 1 # Copyright (c) 2018, I-SENSE group of ICCS 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "zephyr,bt-hci-spi" 10 include: [spi-device.yaml, bt-hci.yaml] 13 irq-gpios: 14 type: phandle-array 17 reset-gpios: 18 type: phandle-array 21 reset-assert-duration-ms: 24 Minimum duration to hold the reset-gpios pin low for. [all …]
|
/Zephyr-latest/dts/bindings/usb/uac2/ |
D | zephyr,uac2-audio-streaming.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,uac2-audio-streaming" 9 linked-terminal: 15 active-alternate-setting-control: 19 - "read-only" 21 valid-alternate-settings-control: 23 description: Valid Alternate Settings Control capabilities 25 - "read-only" 27 external-interface: 32 implicit-feedback: [all …]
|
/Zephyr-latest/subsys/mgmt/osdp/ |
D | Kconfig.pd | 4 # SPDX-License-Identifier: Apache-2.0 46 only during provisioning time (controlled environment). 57 IEEE assigned OUI. Least 24 bits are valid. 64 Manufacturer's model number. Least 8 bits are valid. 71 Manufacturer's version of this product. Least 8 bits are valid. 78 A 4-byte serial number for the PD. 86 - Bit 0-7 : build version number; 87 - Bit 8-15 : minor version number; 88 - Bit 16-23: major version number; 102 - 01: PD monitors and reports the state of the circuit without any [all …]
|
/Zephyr-latest/doc/security/ |
D | sensor-threat.rst | 1 .. _sensor-threat: 11 pressure in a pipe), which sends this data to an SoC running a 13 relays this sensor data to this service. The cloud service is also able 14 to send configuration data to the device, as well as software update 17 .. figure:: media/sensor-model.svg 28 This model also focuses on communicating via the MQTT-over-TLS protocol, 38 1. **The bootloader**. This is a small code/data image contained in 39 on-device flash that is the first code to run. In order to establish 43 programmed into the device, early in production [th-imboot]_. 52 [th-authrepl]_. [all …]
|
/Zephyr-latest/samples/net/sockets/txtime/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 26 socket to send data, or if it uses AF_PACKET (raw) socket. 38 dummy data that is not a valid Ethernet frame. We want to measure 39 how long it takes to send data so the actual data content is not 57 This tells what is the expected sending time of the network 59 This value should be smaller than the interval time 61 time from PTP clock, to set the expected transmit time. Note that 63 but for purpose of this sample application, we set the time in
|
/Zephyr-latest/doc/services/storage/zms/ |
D | zms.rst | 5 Zephyr Memory Storage is a new key-value storage system that is designed to work with all types 6 of non-volatile storage technologies. It supports classical on-chip NOR flash as well as new 8 data on these types of devices can be overwritten directly at any time. 12 ZMS divides the memory space into sectors (minimum 2), and each sector is filled with key-value 15 The key-value pair is divided into two parts: 17 - The key part is written in an ATE (Allocation Table Entry) called "ID-ATE" which is stored 19 - The value part is defined as "DATA" and is stored raw starting from the top of the sector 21 Additionally, for each sector we store at the last positions Header-ATEs which are ATEs that 25 collect the N+2 sector (where N is the current sector number) by moving the valid ATEs to the 37 .. list-table:: [all …]
|
/Zephyr-latest/subsys/fs/nvs/ |
D | Kconfig | 1 # Non-volatile Storage NVS 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Non-volatile Storage" 12 Enable support of Non-volatile Storage. 17 bool "Non-volatile Storage lookup cache" 19 Enable Non-volatile Storage cache, used to reduce the NVS data lookup 20 time. Each cache entry holds an address of the most recent allocation 24 int "Non-volatile Storage lookup cache size" 29 Number of entries in Non-volatile Storage lookup cache. 33 bool "Non-volatile Storage CRC protection on the data" [all …]
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_smartbond.c | 4 * SPDX-License-Identifier: Apache-2.0 114 struct rtc_smartbond_data *data = dev->data; in smartbond_rtc_isr() local 116 uint32_t rtc_event_flags_reg = RTC->RTC_EVENT_FLAGS_REG; in smartbond_rtc_isr() 118 uint32_t rtc_interrupt_mask_reg = RTC->RTC_INTERRUPT_MASK_REG; in smartbond_rtc_isr() 123 if (data->alarm_cb) { in smartbond_rtc_isr() 124 data->alarm_cb(dev, 0, data->alarm_user_data); in smartbond_rtc_isr() 125 data->is_alarm_pending = false; in smartbond_rtc_isr() 127 data->is_alarm_pending = true; in smartbond_rtc_isr() 135 if (data->update_cb) { in smartbond_rtc_isr() 136 data->update_cb(dev, data->update_user_data); in smartbond_rtc_isr() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_ifx_cat1_qspi.c | 5 * SPDX-License-Identifier: Apache-2.0 29 /* Data structure */ 67 /* The 8-bit command. 1 x I/O read command. */ 73 /* The 8-bit mode byte. This value is 0xFFFFFFFF when there is no mode present. */ 79 /* The width of the data transfer. */ 92 * https://iot-webserver.aus.cypress.com/projects/iot_release/ 93 * ASSETS/repo/mtb-pdl-cat1/develop/Latest/deploy/docs/ 127 /* Specifies the command to read the QE-containing status register. */ 129 /* Specifies the command to read the WIP-containing status register. */ 133 /* Specifies the command to write into the QE-containing status register. */ [all …]
|
/Zephyr-latest/include/zephyr/canbus/ |
D | isotp.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public API for ISO-TP (ISO 15765-2:2016) 11 * ISO-TP is a transport protocol for CAN (Controller Area Network) 18 * @brief CAN ISO-TP Protocol 19 * @defgroup can_isotp CAN ISO-TP Protocol 31 * CAN_DL CAN LL data size 34 * DLC Data length code 41 * ST Separation time 44 * RX_DL CAN RX LL data size 45 * TX_DL CAN TX LL data size [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | isoal.c | 4 * SPDX-License-Identifier: Apache-2.0 65 * [Payload (min) + Segmentation Header + Time Offset] 72 /* Defined the wrapping point and mid point in the range of time input values, 100 * Zero-init entire ISO-AL state 109 * @brief Initialize ISO-AL 131 * @brief Wraps given time within the range of 0 to ISOAL_TIME_WRAPPING_POINT_US 132 * @param time_now Current time value 133 * @param time_diff Time difference (signed) 134 * @return Wrapped time after difference 142 * @brief Check if a time difference calculation is valid and return the difference. [all …]
|
/Zephyr-latest/drivers/sip_svc/ |
D | sip_smc_intel_socfpga.c | 2 * Copyright (c) 2022-2023, Intel Corporation. 4 * SPDX-License-Identifier: Apache-2.0 28 bool valid = false; in intel_sip_smc_plat_func_id_valid() local 43 valid = true; in intel_sip_smc_plat_func_id_valid() 46 valid = false; in intel_sip_smc_plat_func_id_valid() 54 valid = true; in intel_sip_smc_plat_func_id_valid() 57 valid = false; in intel_sip_smc_plat_func_id_valid() 62 return valid; in intel_sip_smc_plat_func_id_valid() 86 uint32_t *data; in intel_sip_smc_plat_update_trans_id() local 94 SMC_PLAT_PROTO_HEADER_SET_TRANS_ID(request->a1, trans_id); in intel_sip_smc_plat_update_trans_id() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | net_mgmt.h | 4 * SPDX-License-Identifier: Apache-2.0 85 * @param iface A valid pointer on struct net_if if the request is meant 87 * @param data A valid pointer on a data understood by the handler. 89 * @param len Length in byte of the memory pointed by data. 93 void *data, size_t len); 100 * @param _data Any additional data for the event 101 * @param _len Length of the additional data. 114 void *data, size_t len) 194 * @param info A valid pointer on a data understood by the handler. 197 * @param user_data Data provided by the user to the handler. [all …]
|
/Zephyr-latest/include/zephyr/usb_c/ |
D | usbc.h | 3 * SPDX-License-Identifier: Apache-2.0 8 * @brief USB-C Device APIs 10 * This file contains the USB-C Device APIs. 26 * @brief USB-C Device APIs 27 * @defgroup _usbc_device_api USB-C Device API 34 * @brief This Request Data Object (RDO) value can be returned from the 56 /** Request Type-C layer to transition to Disabled State */ 58 /** Request Type-C layer to transition to Error Recovery State */ 60 /** End of Type-C requests */ 63 /** Request Policy Engine layer to perform a Data Role Swap */ [all …]
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | Kconfig | 1 # Copyright (c) 2018-2023 O.S.Systems 2 # SPDX-License-Identifier: Apache-2.0 5 bool "UpdateHub Firmware Over-the-Air support" 23 UpdateHub is an enterprise-grade solution which makes simple to 25 handles all aspects related to sending Firmware Over-the-Air 31 int "Time to poll interval (in minutes)" 36 This time interval is zero and 43200 minutes(30 days). 56 Server (updatehub-ce) as alternative to the 60 string "User address for the updatehub-ce-server" 103 Configure the max size of a data payload were value: [all …]
|
/Zephyr-latest/drivers/mdio/ |
D | mdio_nxp_enet.c | 2 * Copyright 2023-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 37 * It returns -ETIMEDOUT if timeout occurs as specified in DT, 39 * operation, otherwise -EIO. 43 struct nxp_enet_mdio_data *data = dev->data; in nxp_enet_mdio_wait_xfer() local 47 return -EWOULDBLOCK; in nxp_enet_mdio_wait_xfer() 50 if (!data->interrupt_up) { in nxp_enet_mdio_wait_xfer() 53 k_sem_give(&data->mdio_sem); in nxp_enet_mdio_wait_xfer() 56 /* Wait for the MDIO transaction to finish or time out */ in nxp_enet_mdio_wait_xfer() 57 k_sem_take(&data->mdio_sem, K_USEC(CONFIG_MDIO_NXP_ENET_TIMEOUT)); in nxp_enet_mdio_wait_xfer() [all …]
|
/Zephyr-latest/boards/nxp/ucans32k1sic/support/ |
D | startup.cmm | 3 ; SPDX-License-Identifier: Apache-2.0 * 5 ; Lauterbach Trace32 start-up script for S32K146 / Cortex-M4F * 8 ; - command operation to execute * 9 ; valid values: flash, debug * 10 ; - elfFile filepath of ELF to load * 11 ; - loadTo if "flash", the application will be downloaded to SoC * 14 ; valid values: flash, sram * 16 ; - eraseFlash if set to "yes", the whole content in Flash device will be * 18 ; or SRAM. This routine takes time to execute * 20 ; - verifyFlash if set to "yes", verify after program application to Flash * [all …]
|
/Zephyr-latest/boards/nxp/mimxrt1050_evk/ |
D | mimxrt1050_evk_mimxrt1052_hyperflash.dts | 4 * SPDX-License-Identifier: Apache-2.0 11 zephyr,flash-controller = &s26ks512s0; 13 zephyr,code-partition = &slot0_partition; 19 ahb-prefetch; 20 ahb-read-addr-opt; 21 pinctrl-0 = <&pinmux_flexspi1>; 22 pinctrl-names = "default"; 23 ahb-bufferable; 24 ahb-cacheable; 25 sck-differential-clock; [all …]
|
/Zephyr-latest/boards/nxp/mimxrt1060_evk/ |
D | mimxrt1060_evk_mimxrt1062_hyperflash.dts | 4 * SPDX-License-Identifier: Apache-2.0 11 zephyr,flash-controller = &s26ks512s0; 13 zephyr,code-partition = &slot0_partition; 19 ahb-prefetch; 20 ahb-read-addr-opt; 21 ahb-bufferable; 22 ahb-cacheable; 23 sck-differential-clock; 24 combination-mode; 25 rx-clock-source = <3>; [all …]
|