/Zephyr-latest/dts/bindings/adc/ |
D | st,stm32f1-adc.yaml | 3 # SPDX-License-Identifier: Apache-2.0 6 ST STM32F1 family ADC 7 This compatible stands for all ADC blocks similar to the one on STM32F1, 9 Remove the st,adc-clock-source and st,adc-prescaler property. 10 See adc-prescaler property in st,stm32f1-rcc binding to configure ADC 11 prescaler. 13 compatible: "st,stm32f1-adc" 16 - name: st,stm32-adc.yaml 17 property-blocklist: 18 - st,adc-clock-source [all …]
|
D | st,stm32-adc.yaml | 3 # SPDX-License-Identifier: Apache-2.0 5 description: ST STM32 family ADC 7 compatible: "st,stm32-adc" 9 include: [adc-controller.yaml, pinctrl-device.yaml] 21 "#io-channel-cells": 24 st,adc-clock-source: 28 - "SYNC" 29 - "ASYNC" 31 Type of ADC clock source : 32 - "SYNC": derived from the bus clock. [all …]
|
D | atmel,sam-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Atmel SAM family ADC 6 compatible: "atmel,sam-adc" 8 include: [adc-controller.yaml, pinctrl-device.yaml] 20 prescaler: 23 description: CPU clock prescaler applied to get the ADC clock. 25 startup-time: 29 ADC startup time in ADC clock cycles. 32 settling-time: 36 ADC settling time in ADC clock cycles. When the gain, offset [all …]
|
D | atmel,sam0-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Atmel SAM0 family ADC 6 compatible: "atmel,sam0-adc" 9 - name: adc-controller.yaml 10 - name: pinctrl-device.yaml 22 clock-names: 30 prescaler: 33 description: clock prescaler divisor applied to the generic clock 35 "#io-channel-cells": 38 calib-offset: [all …]
|
D | gd,gd32-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: GigaDevice GD32 ADC 6 # gd32 adc irq have some special cases as below: 7 # 1. adc number no larger than 3. 11 # To cover this cases, adc_gd32 driver use node-label 'adc0', 'adc1' and 12 # 'adc2' to handle gd32 adc irq config directly. 14 # Sorry for the restriction, But new added gd32 adc node-label must be 'adc0', 17 compatible: "gd,gd32-adc" 19 include: [adc-controller.yaml, reset-device.yaml, pinctrl-device.yaml] 31 rcu-clock-source: [all …]
|
/Zephyr-latest/dts/bindings/clock/ |
D | st,stm32f3-rcc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 Adds the STM32F3 ADC prescaler to the standard generic STM32 RCC. 7 For more description confere st,stm32-rcc.yaml 9 compatible: "st,stm32f3-rcc" 11 include: st,stm32-rcc.yaml 14 adc12-prescaler: 17 - 0 # Synchronous mode 18 - 1 # not divided 19 - 2 20 - 4 [all …]
|
D | st,stm32f1-rcc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 Adds the ADC prescaler to the standard generic STM32 RCC. 7 For more description confere st,stm32-rcc.yaml 9 compatible: "st,stm32f1-rcc" 11 include: st,stm32-rcc.yaml 14 adc-prescaler: 17 - 2 18 - 4 19 - 6 20 - 8 [all …]
|
/Zephyr-latest/dts/arm/st/f3/ |
D | stm32f373.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/dt-bindings/adc/stm32f1_adc.h> 12 compatible = "st,stm32f373", "st,stm32f3", "simple-bus"; 16 * Use the STM32F1 compatible that define the same ADC 17 * prescaler in the RCC register 19 compatible = "st,stm32f1-rcc"; 22 pinctrl: pin-controller@48000000 { 24 compatible = "st,stm32-gpio"; 25 gpio-controller; 26 #gpio-cells = <2>; [all …]
|
D | stm32f303.dtsi | 2 * Copyright (c) 2017 I-SENSE group of ICCS 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/dt-bindings/adc/stm32l4_adc.h> 12 compatible = "st,stm32f303", "st,stm32f3", "simple-bus"; 20 compatible = "st,stm32-i2c-v2"; 21 clock-frequency = <I2C_BITRATE_STANDARD>; 22 #address-cells = <1>; 23 #size-cells = <0>; 31 interrupt-names = "event", "error"; 36 compatible = "st,stm32-spi-fifo", "st,stm32-spi"; [all …]
|
/Zephyr-latest/boards/st/nucleo_u575zi_q/ |
D | nucleo_u575zi_q-common.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 9 #include <st/u5/stm32u575zitxq-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "gpio-leds"; 31 compatible = "gpio-keys"; 40 compatible = "pwm-leds"; 65 msi-range = <4>; 66 msi-pll-mode; 70 div-m = <1>; 71 mul-n = <80>; [all …]
|
/Zephyr-latest/boards/st/nucleo_u5a5zj_q/ |
D | nucleo_u5a5zj_q-common.dtsi | 2 * Copyright (c) 2023-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 8 #include <st/u5/stm32u5a5zjtxq-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 compatible = "gpio-leds"; 30 compatible = "gpio-keys"; 39 compatible = "pwm-leds"; 60 clock-frequency = <DT_FREQ_M(16)>; 70 div-m = <4>; /* input divisor */ 71 mul-n = <80>; /* VCO multiplication factor */ [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_sam.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/drivers/adc.h> 25 Adc *regs; 28 uint8_t prescaler; member 69 const struct adc_sam_config *const cfg = dev->config; in adc_sam_channel_setup() 70 Adc *const adc = cfg->regs; in adc_sam_channel_setup() local 72 uint8_t channel_id = channel_cfg->channel_id; in adc_sam_channel_setup() 74 if (channel_cfg->differential) { in adc_sam_channel_setup() 75 if (channel_id != (channel_cfg->input_positive / 2U) in adc_sam_channel_setup() 76 || channel_id != (channel_cfg->input_negative / 2U)) { in adc_sam_channel_setup() [all …]
|
D | adc_sam0.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/drivers/adc.h> 47 Adc *regs; 59 uint16_t prescaler; member 64 static void wait_synchronization(Adc *const adc) in wait_synchronization() argument 66 while ((ADC_SYNC(adc) & ADC_SYNC_MASK) != 0) { in wait_synchronization() 73 const struct adc_sam0_cfg *const cfg = dev->config; in adc_sam0_acquisition_to_clocks() 79 return -EINVAL; in adc_sam0_acquisition_to_clocks() 82 return (int)ADC_ACQ_TIME_VALUE(acquisition_time) - 1; in adc_sam0_acquisition_to_clocks() 92 return -EINVAL; in adc_sam0_acquisition_to_clocks() [all …]
|
/Zephyr-latest/boards/st/stm32wb5mmg/ |
D | stm32wb5mmg.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/wb/stm32wb55vgyx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 zephyr,shell-uart = &usart1; 19 zephyr,bt-mon-uart = &lpuart1; 20 zephyr,bt-c2h-uart = &lpuart1; 23 zephyr,code-partition = &slot0_partition; 47 clock-frequency = <DT_FREQ_M(32)>; 48 cpu1-prescaler = <1>; [all …]
|
/Zephyr-latest/boards/st/stm32c0116_dk/ |
D | stm32c0116_dk.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/c0/stm32c011f(4-6)ux-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 13 model = "STMicroelectronics STM32C0116-DK Discovery board"; 14 compatible = "st,stm32c011f6-dk"; 18 zephyr,shell-uart = &usart1; 24 compatible = "gpio-leds"; 32 compatible = "pwm-leds"; 40 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/boards/st/b_u585i_iot02a/ |
D | b_u585i_iot02a-common.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 9 #include <st/u5/stm32u585aiixq-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "gpio-leds"; 27 compatible = "gpio-keys"; 38 die-temp0 = &die_temp; 39 volt-sensor0 = &vref1; 40 volt-sensor1 = &vbat4; 41 eeprom-0 = &eeprom0; 55 msi-range = <4>; [all …]
|
/Zephyr-latest/boards/st/nucleo_f303k8/ |
D | nucleo_f303k8.dts | 2 * Copyright (c) 2020 Sebastian Schwabe <sebastian.schwabe@mailbox.tu-dresden.de> 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f3/stm32f303k(6-8)tx-pinctrl.dtsi> 13 model = "STMicroelectronics STM32F303K8-NUCLEO board"; 14 compatible = "st,stm32f303k8-nucleo"; 18 zephyr,shell-uart = &usart2; 24 compatible = "gpio-leds"; 31 compatible = "pwm-leds"; 39 pwm-led0 = &green_pwm_led; [all …]
|
/Zephyr-latest/boards/st/stm32h7s78_dk/ |
D | stm32h7s78_dk.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h7s7l8hx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "st,stm32h7s78-dk"; 19 zephyr,shell-uart = &uart4; 25 compatible = "gpio-leds"; 45 compatible = "gpio-keys"; 57 die-temp0 = &die_temp; 58 volt-sensor0 = &vref; [all …]
|
/Zephyr-latest/dts/arm/st/f4/ |
D | stm32f405.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 16 compatible = "st,stm32f405", "st,stm32f4", "simple-bus"; 18 pinctrl: pin-controller@40020000 { 22 compatible = "st,stm32-gpio"; 23 gpio-controller; 24 #gpio-cells = <2>; 30 compatible = "st,stm32-gpio"; 31 gpio-controller; 32 #gpio-cells = <2>; 38 compatible = "st,stm32-gpio"; [all …]
|
/Zephyr-latest/boards/st/nucleo_u031r8/ |
D | nucleo_u031r8.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/u0/stm32u031r8tx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "STMicroelectronics STM32U83RC-NUCLEO board"; 15 compatible = "st,stm32u031r8-nucleo"; 17 #address-cells = <1>; 18 #size-cells = <1>; 22 zephyr,shell-uart = &usart2; 28 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/st/stm32u083c_dk/ |
D | stm32u083c_dk.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/u0/stm32u083mctx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "STMicroelectronics STM32U83C-DK board"; 15 compatible = "st,stm32u083c-dk"; 17 #address-cells = <1>; 18 #size-cells = <1>; 22 zephyr,shell-uart = &usart2; 28 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/soc/atmel/sam0/common/ |
D | adc_fixup_sam0.h | 4 * SPDX-License-Identifier: Apache-2.0 11 #define ADC_SYNC(adc) ((adc)->SYNCBUSY.reg) argument 14 #define ADC_SYNC(adc) ((adc)->STATUS.reg) argument 17 #error ADC not supported... 21 #define ADC_DIFF(adc) (inputctrl) argument 24 #define ADC_DIFF(adc) ((adc)->CTRLB.reg) argument 27 #define ADC_DIFF(adc) ((adc)->CTRLC.reg) argument 30 #error ADC not supported... 34 #define ADC_RESSEL(adc) ((adc)->CTRLB.bit.RESSEL) argument 40 #define ADC_RESSEL(adc) ((adc)->CTRLC.bit.RESSEL) argument [all …]
|
/Zephyr-latest/boards/st/nucleo_l552ze_q/ |
D | nucleo_l552ze_q-common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <st/l5/stm32l552z(c-e)txq-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 compatible = "gpio-leds"; 30 compatible = "gpio-keys"; 39 die-temp0 = &die_temp; 40 volt-sensor0 = &vref; 41 volt-sensor1 = &vbat; 51 msi-range = <6>; 55 div-m = <1>; [all …]
|
/Zephyr-latest/boards/st/nucleo_f042k6/ |
D | nucleo_f042k6.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f0/stm32f042k(4-6)tx-pinctrl.dtsi> 12 model = "STMicroelectronics STM32F042K6-NUCLEO board"; 13 compatible = "st,stm32f042k6-nucleo"; 17 zephyr,shell-uart = &usart2; 23 compatible = "gpio-leds"; 31 compatible = "pwm-leds"; 39 pwm-led0 = &green_pwm_led; 40 volt-sensor0 = &vref; [all …]
|
/Zephyr-latest/boards/st/nucleo_h533re/ |
D | nucleo_h533re.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h5/stm32h533retx-pinctrl.dtsi> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 model = "STMicroelectronics STM32H533RE-NUCLEO board"; 16 compatible = "st,stm32h533re-nucleo"; 20 zephyr,shell-uart = &usart2; 26 compatible = "gpio-leds"; 35 compatible = "pwm-leds"; 43 compatible = "gpio-keys"; [all …]
|