Home
last modified time | relevance | path

Searched +full:crc +full:- +full:en (Results 1 – 25 of 78) sorted by relevance

1234

/Zephyr-latest/dts/bindings/gpio/
Dadi,max14916-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "adi,max14916-gpio"
10 "#gpio-cells":
17 drdy-gpios:
19 High-Side Open-Drain Output. READY is passive low when the internal
22 type: phandle-array
23 fault-gpios:
27 type: phandle-array
28 sync-gpios:
31 type: phandle-array
[all …]
Dadi,max14906-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "adi,max14906-gpio"
10 "#gpio-cells":
17 drdy-gpios:
19 High-Side Open-Drain Output. READY is passive low when the internal
22 type: phandle-array
23 fault-gpios:
27 type: phandle-array
28 sync-gpios:
31 type: phandle-array
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_max149x6.h5 * SPDX-License-Identifier: Apache-2.0
26 * @param data - array of data to encode
27 * @param encode - action to be performed - true(encode), false(decode)
42 * https://www.analog.com/en/app-notes/how-to-program-the-max14906-quadchannel- in max149x6_crc()
43 * industrial-digital-output-digital-input.html in max149x6_crc()
47 data_bit = (data[0] >> (7 - i)) & 0x01; in max149x6_crc()
57 data_bit = (data[1] >> (7 - i)) & 0x01; in max149x6_crc()
67 data_bit = (extra_byte >> (7 - i)) & 0x01; in max149x6_crc()
82 * @param dev - MAX149x6 device config.
83 * @param addr - Register value to which data is written.
[all …]
Dgpio_max22190.c5 * SPDX-License-Identifier: Apache-2.0
202 * @param data - Data array to calculate CRC for.
203 * @return CRC result.
214 * This is the C custom implementation of CRC function for MAX22190, and in max22190_crc()
216 * https://www.analog.com/en/design-notes/guidelines-to-implement-crc-algorithm.html in max22190_crc()
230 for (i = 0; i < length - 1; i++) { in max22190_crc()
232 ((datainput >> (length - 2 - i)) & 0x01)); in max22190_crc()
247 * @param dev - MAX22190 device.
248 * @param val - value to be set.
252 struct max22190_data *data = dev->data; in max22190_update_wb_stat()
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dw1.rst3 1-Wire Bus
9 1-Wire is a low speed half-duplex serial bus using only a single wire plus
11 Similarly to I2C, 1-Wire uses a bidirectional open-collector data line,
14 The 1-Wire bus supports longer bus lines than I2C, while it reaches speeds of up
23 .. figure:: 1-Wire_bus_topology.drawio.svg
25 :alt: 1-Wire bus topology
27 A typical 1-Wire bus topology
30 .. _w1-master-api:
35 Zephyr's 1-Wire Master API is used to interact with 1-Wire slave devices like
42 It is the only hardware-dependent layer in Zephyr.
[all …]
/Zephyr-latest/drivers/sensor/maxim/ds18b20/
Dds18b20.c4 * SPDX-License-Identifier: Apache-2.0
8 * Driver for DS18B20 and DS18S20 1-Wire temperature sensors
10 * - https://www.analog.com/media/en/technical-documentation/data-sheets/ds18b20.pdf
11 * - https://www.analog.com/media/en/technical-documentation/data-sheets/ds18s20.pdf
43 #define DS18B20_RESOLUTION(res) ((res - 9) << DS18B20_RESOLUTION_POS)
45 #define DS18B20_RESOLUTION_INDEX(res) (res - 9)
58 uint8_t crc; member
77 /* measure wait time for 9-bit, 10-bit, 11-bit, 12-bit resolution respectively */
87 const struct ds18b20_config *cfg = dev->config; in ds18b20_temperature_from_raw()
90 if (cfg->chip == type_ds18s20) { in ds18b20_temperature_from_raw()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dw1.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Public 1-Wire Driver APIs
19 #include <zephyr/sys/crc.h>
27 * @brief 1-Wire Interface
28 * @defgroup w1_interface 1-Wire Interface
46 (FOR_EACH(F1, (+), DT_SUPPORTS_DEP_ORDS(node_id)) - 1)
53 * @brief Defines the 1-Wire master settings types, which are runtime configurable.
74 /** Configuration common to all 1-Wire master implementations. */
80 /** Data common to all 1-Wire master implementations. */
118 struct w1_master_data *ctrl_data = (struct w1_master_data *)dev->data; in z_impl_w1_change_bus_lock()
[all …]
/Zephyr-latest/tests/drivers/build_all/gpio/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 #address-cells = <1>;
16 #size-cells = <1>;
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 compatible = "snps,designware-gpio";
28 gpio-controller;
30 #gpio-cells = <0x2>;
35 #address-cells = <1>;
[all …]
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_phy.c4 * SPDX-License-Identifier: Apache-2.0
57 /* pd->seq_num is set to -1 to reset phy cmd state */ in osdp_phy_get_seq_number()
59 pd->seq_number += 1; in osdp_phy_get_seq_number()
60 if (pd->seq_number > 3) { in osdp_phy_get_seq_number()
61 pd->seq_number = 1; in osdp_phy_get_seq_number()
64 return pd->seq_number & PKT_CONTROL_SQN; in osdp_phy_get_seq_number()
78 if (pkt->control & PKT_CONTROL_SCB) { in osdp_phy_packet_get_data_offset()
79 sb_len = pkt->data[0]; in osdp_phy_packet_get_data_offset()
93 if (pkt->control & PKT_CONTROL_SCB) { in osdp_phy_packet_get_smb()
94 return pkt->data; in osdp_phy_packet_get_smb()
[all …]
/Zephyr-latest/boards/adi/sdp_k1/doc/
Dindex.rst6 The EVAL-SDP-CK1Z (SDP-K1) controller board is a system demonstration platform
10 - STM32 microcontroller in BGA216 package
11 - USB 2.0 device with USB-C connector
12 - USB debug interface supporting CMSIS-DAP through a NXP Freescale
14 - Flexible board power supply
15 - USB VBUS 5 V max. 500 mA
16 - 5.5mm DC power jack 7 - 12 V min. 300 mA
17 - VIN from Arduino* compatible connectors
18 - VIN from 120-pin connector 5 V min. 300 mA
19 - 3 color LEDs (green, orange, red) and 1 status LED
[all …]
/Zephyr-latest/drivers/smbus/
Dintel_pch_smbus.h7 * PCH provides SMBus 2.0 - compliant Host Controller.
9 * SPDX-License-Identifier: Apache-2.0
17 /* Host Configuration (HCFG) - Offset 40h, 8 bits */
69 /* Set 7-bit address */
95 #define PCH_SMBUS_AUXS_CRC_ERROR BIT(0) /* CRC error */
99 #define PCH_SMBUS_AUXC_AAC BIT(0) /* Auto append CRC */
100 #define PCH_SMBUS_AUXC_EN_32BUF BIT(1) /* Enable 32-byte buf */
117 #define PCH_SMBUS_SCMD_HNI_EN BIT(0) /* Host Notify INT En */
/Zephyr-latest/boards/st/steval_stwinbx1/doc/
Dindex.rst6 The STWIN.box (STEVAL-STWINBX1) is a development kit that features an Arm|reg| Cortex|reg|-M33 base…
10 The STEVAL-STWINBX1 kit consists of an STWIN.box core system, a 480mAh LiPo battery, an adapter for…
13 More information about the board can be found at the `STEVAL-STWINBX1 Development kit website`_.
19 The STEVAL-STWINBX1 provides motion, environmental, and audio
20 sensor data through either the built-in RS485 transceiver, BLE, Wi-Fi, and
23 - Multisensing wireless platform for vibration monitoring and ultrasound detection
24 - Baby crying detection with Cloud AI learning
25 - Barometer / environmental monitoring
26 - Vehicle / goods tracking
27 - Vibration monitoring
[all …]
/Zephyr-latest/boards/st/nucleo_f412zg/doc/
Dindex.rst6 The Nucleo F412ZG board features an ARM Cortex-M4 based STM32F412ZG MCU
10 - STM32 microcontroller in LQFP144 package
11 - Two types of extension resources:
13 - ST Zio connector including: support for Arduino* Uno V3 connectivity
16 - ST morpho extension pin headers for full access to all STM32 I/Os
18 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
19 - Flexible board power supply:
21 - 5 V from ST-LINK/V2-1 USB VBUS
22 - External power sources: 3.3 V and 7 - 12 V on ST Zio or ST morpho
25 - Three user LEDs
[all …]
/Zephyr-latest/boards/st/nucleo_f413zh/doc/
Dindex.rst6 The Nucleo F413ZH board features an ARM Cortex-M4 based STM32F413ZH MCU
10 - STM32 microcontroller in LQFP144 package
11 - Two types of extension resources:
13 - ST Zio connector including: support for Arduino* Uno V3 connectivity
16 - ST morpho extension pin headers for full access to all STM32 I/Os
18 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
19 - Flexible board power supply:
21 - 5 V from ST-LINK/V2-1 USB VBUS
22 - External power sources: 3.3 V and 7 - 12 V on ST Zio or ST morpho
25 - Three user LEDs
[all …]
/Zephyr-latest/boards/st/stm32f412g_disco/doc/
Dindex.rst6 The STM32F412 Discovery kit features an ARM Cortex-M4 based STM32F412ZG MCU
8 some highlights of the STM32F412G-DISCO board:
11 - STM32F412ZGT6 microcontroller featuring 1 Mbyte of Flash memory and 256 Kbytes of RAM in an LQFP1…
12 - On-board ST-LINK/V2-1 SWD debugger supporting USB re-enumeration capability:
14 - USB virtual COM port
15 - mass storage
16 - debug port
18 - 1.54 inch 240x240 pixel TFT color LCD with parallel interface and capacitive touchscreen
19 - I2S Audio CODEC, with a stereo headset jack, including analog microphone input and a loudspeaker …
20 - Stereo digital MEMS microphones
[all …]
/Zephyr-latest/boards/st/stm32f413h_disco/doc/
Dindex.rst6 The STM32F413H-DISCO Discovery kit features an ARM Cortex-M4 based STM32F413ZH MCU
8 some highlights of the STM32F413H-DISCO board:
11 - STM32F413ZHT6 microcontroller featuring 1.5 Mbyte of Flash memory and 320 Kbytes of RAM in an LQF…
12 - On-board ST-LINK/V2-1 SWD debugger supporting USB re-enumeration capability:
14 - USB virtual COM port
15 - mass storage
16 - debug port
18 - 1.54 inch 240x240 pixel TFT color LCD with parallel interface and capacitive touchscreen
19 - I2S Audio CODEC, with a stereo headset jack, including analog microphone input and a loudspeaker …
20 - Stereo digital MEMS microphones
[all …]
/Zephyr-latest/boards/st/stm32f411e_disco/doc/
Dindex.rst6 The STM32F411E Discovery kit features an ARM Cortex-M4 based STM32F411VE MCU
8 Here are some highlights of the STM32F411E-DISCO board:
10 - STM32F411VET6 microcontroller featuring 512 KB of Flash memory, 128 KB of RAM in an LQFP100 packa…
11 - On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone STLINK/V2 (with SWD…
12 - Board power supply: through USB bus or from an external 5 V supply voltage
13 - External application power supply: 3 V and 5 V
14 - L3GD20(rev B) or I3G4250D(rev D): ST MEMS motion sensor, 3-axis digital output gyroscope.
15 - LSM303DLHC(rev B) or LSM303AGR(rev D): ST MEMS system-in-package featuring a 3D digital linear ac…
16 - MP45DT02(rev B) or IMP34DT05(rev D), ST MEMS audio sensor, omnidirectional digital microphone
17 - CS43L22, audio DAC with integrated class D speaker driver
[all …]
/Zephyr-latest/boards/st/sensortile_box_pro/doc/
Dindex.rst6 The STEVAL-MKBOXPRO (SensorTile.box PRO) features an ARM Cortex-M33 based STM32U585AI MCU
7 and is a ready-to-use box kit for wireless IoT and wearable sensor platforms to help using
10 The SensorTile.box PRO board fits into a small plastic box with a long-life rechargeable
23 - Pedometer optimized for belt positioning
24 - Baby crying detection with Cloud AI learning
25 - Barometer / environmental monitoring
26 - Vehicle / goods tracking
27 - Vibration monitoring
28 - Compass and inclinometer
29 - Sensor data logger
[all …]
/Zephyr-latest/boards/st/nucleo_f411re/doc/
Dindex.rst6 The Nucleo F411RE board features an ARM Cortex-M4 based STM32F411RE MCU
10 - STM32 microcontroller in QFP64 package
11 - Two types of extension resources:
13 - Arduino Uno V3 connectivity
14 - ST morpho extension pin headers for full access to all STM32 I/Os
16 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
17 - Flexible board power supply:
19 - USB VBUS or external source(3.3V, 5V, 7 - 12V)
20 - Power management access point
22 - Three LEDs: USB communication (LD1), user LED (LD2), power LED (LD3)
[all …]
/Zephyr-latest/boards/st/stm32f4_disco/doc/
Dindex.rst6 The STM32F4DISCOVERY Discovery kit features an ARM Cortex-M4 based STM32F407VG MCU
11 - STM32 microcontroller in LQFP100 package
12 - Extension header for all LQFP100 I/Os for quick connection to prototyping board and easy probing
13 - On-board ST-LINK/V2 debugger/programmer with SWD connector
14 - Flexible board power supply:
16 - USB VBUS or external source(3.3V, 5V, 7 - 12V)
17 - Power management access point
19 - Eight LEDs:
21 - USB communication (LD1)
22 - 3.3 V power on (LD2)
[all …]
/Zephyr-latest/boards/st/stm32f723e_disco/doc/
Dindex.rst7 from audio, multi-sensor support, graphics, security, security, video,
8 and high-speed connectivity features. Important board features include:
10 - STM32F723IEK6 microcontroller featuring 512 Kbytes of Flash memory and 256+16+4 Kbytes of RAM, in…
11 - On-board ST-LINK/V2-1 supporting USB re-enumeration capability
12 - TFT LCD 240x240 pixels with touch panel
13 - SAI audio codec
14 - Audio line in and line out jack
15 - Stereo speaker outputs
16 - Four ST MEMS microphones
17 - Two pushbuttons (user and reset)
[all …]
/Zephyr-latest/boards/st/nucleo_l452re/doc/
Dindex.rst6 The Nucleo L452RE(-P) boards feature an ARM Cortex-M4 based STM32L452RE MCU
9 - ST Nucleo L452RE
10 - ST Nucleo L452RE-P
14 - STM32 microcontroller in LQFP64 package
15 - Arduino Uno V3 connectivity
16 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
17 - Flexible board power supply:
19 - USB VBUS or external source(3.3V, 5V, 7 - 12V)
20 - Power management access point
22 - Three LEDs: USB communication (LD1), user LED (LD2), power LED (LD3)
[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/boards/st/stm32f429i_disc1/doc/
Dindex.rst6 The STM32F429I-DISC1 Discovery kit features an ARM Cortex-M4 based STM32F429ZI MCU
8 some highlights of the STM32F429I-DISC1 board:
10 - STM32 microcontroller in LQFP144 package
11 - Extension header for all LQFP144 I/Os for quick connection to prototyping board and easy probing
12 - On-board ST-LINK/V2-B debugger/programmer with SWD connector
13 - Flexible board power supply:
15 - ST-LINK/V2-1 USB connector
16 - User USB FS connector
17 - VIN from Arduino* compatible connectors
19 - Two push-buttons: USER and RESET
[all …]
/Zephyr-latest/boards/st/nucleo_l432kc/doc/
Dindex.rst6 The Nucleo L432KC board features an ARM Cortex-M4 based STM32L432KC MCU
10 - STM32 microcontroller in UFQFPN32 package
11 - Arduino Uno V3 connectivity
12 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
13 - Flexible board power supply:
15 - USB VBUS or external source(3.3V, 5V, 7 - 12V)
16 - Power management access point
18 - Three LEDs: USB communication (LD1), power LED (LD2), user LED (LD3)
19 - One push-button: RESET
28 - Ultra-low-power with FlexPowerControl (down to 28 nA Standby mode and 84
[all …]

1234