/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_mchp_xec.c | 2 * Copyright (c) 2016 Open-RnD Sp. z o.o. 7 * SPDX-License-Identifier: Apache-2.0 16 * Microchip XEC: each GPIO pin has two 32-bit control register. 17 * The first 32-bit register contains all pin features except 18 * slew rate and driver strength in the second control register. 20 * control address space which is the same range of the PINCTRL 41 val |= ((drvstr - 1u) << MCHP_GPIO_CTRL2_DRV_STR_POS); in config_drive_slew() 48 regs->CTRL2[idx] = (regs->CTRL2[idx] & ~msk) | (val & msk); in config_drive_slew() 53 * None, weak pull-up, weak pull-down, or repeater mode (both pulls enabled). 55 * If the no-bias boolean is set then disable internal pulls. [all …]
|
D | pinctrl_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 22 /* gpio port control register (byte mapping to pin) */ 24 /* port driving select control */ 26 /* function 3 general control register */ 30 /* function 3 external control register */ 34 /* function 4 general control register */ 46 * KSI[7:0]/KSO[15:8]/KSO[7:0] port gpio control register 50 /* KSI[7:0]/KSO[15:8]/KSO[7:0] port control register */ 53 * KSO push-pull/open-drain bit of KSO[15:0] control register 58 * KSI/KSO pullup bit of KSI[7:0]/KSO[15:0] control register [all …]
|
D | pinctrl_npcx.c | 4 * SPDX-License-Identifier: Apache-2.0 38 /* Pin-control local functions for peripheral devices */ 52 uint8_t alt_mask = BIT(alt->bit); in npcx_periph_pinmux_configure() 55 * is_alternate == 0 means select GPIO, otherwise Alternate Func. in npcx_periph_pinmux_configure() 57 * Set devalt bit to select Alternate Func. in npcx_periph_pinmux_configure() 59 * Clear devalt bit to select Alternate Func. in npcx_periph_pinmux_configure() 61 if (is_alternate != alt->inverted) { in npcx_periph_pinmux_configure() 62 NPCX_DEVALT(scfg_base, alt->group) |= alt_mask; in npcx_periph_pinmux_configure() 64 NPCX_DEVALT(scfg_base, alt->group) &= ~alt_mask; in npcx_periph_pinmux_configure() 67 if (is_locked && npcx_periph_pinmux_has_lock(alt->group)) { in npcx_periph_pinmux_configure() [all …]
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | silabs,dbus-pinctrl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 node to route USART0 RX to pin PA1 and enable the pull-up resistor on the 9 for alternate function configuration, including Series 2 devices. 15 compatible = "silabs,gecko-usart"; 16 pinctrl-0 = <&usart0_default>; 17 pinctrl-names = "default"; 20 pinctrl-0 is a phandle that stores the pin settings for the peripheral, in 22 'pinctrl' node, typically in a board-pinctrl.dtsi file in the board 32 /* Configure GPIO to push-pull mode */ 33 drive-push-pull; [all …]
|
D | infineon,xmc4xxx-pinctrl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 to specific port/pins (also known as alternate functions) and configures pin properties. 12 compatible = "infineon,xmc4xxx-uart"; 13 pinctrl-0 = <&uart_tx_p0_1_u1c1 &uart_rx_p0_0_u1c1>; 14 pinctrl-names = "default"; 15 input-src = "DX0D"; 19 pinctrl-0 is the phandle that stores the pin settings for two pins: &uart_tx_p0_1_u1c1 20 and &uart_rx_p0_0_u1c1. These nodes are pre-defined and their naming convention is designed 22 pin direction, port/pin number and USIC in the name. 24 The pre-defined nodes only set the alternate function of the output pin. The [all …]
|
D | infineon,cat1-pinctrl.yaml | 4 # SPDX-License-Identifier: Apache-2.0 11 UART0 RX to a particular port/pin and enable the pull-up resistor on that 22 'bias-pull-up' property. Here is a list of the supported standard pin 24 * bias-high-impedance 25 * bias-pull-up 26 * bias-pull-down 27 * drive-open-drain 28 * drive-open-source 29 * drive-push-pull (strong) 30 * input-enable (input-buffer) [all …]
|
/Zephyr-latest/soc/microchip/mec/common/ |
D | soc_i2c.c | 4 * SPDX-License-Identifier: Apache-2.0 13 /* pinctrl Node contains the base address of the GPIO Control Registers */ 21 /* encode GPIO pin number and alternate function for an I2C port */ 30 * indexed by port number: all on VTR1 except as commented 32 * TODO: MEC15xx and MEC172x handle ports with alternate pins. 60 * Read pin states of specified I2C port. 61 * We GPIO control register always active RO pad input bit. 64 int soc_i2c_port_lines_get(uint8_t port, uint32_t *lines) in soc_i2c_port_lines_get() argument 71 if (!(BIT(port) & MEC_I2C_PORT_MASK) || !lines) { in soc_i2c_port_lines_get() 72 return -EINVAL; in soc_i2c_port_lines_get() [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | scfg.c | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/pinctrl/npcx-pinctrl.h> 28 * GPIO in pin-mux init function. 30 * def-io-conf-list { 58 /* Pin-control local functions */ 62 uint8_t alt_mask = BIT(alt->bit); in npcx_pinctrl_alt_sel() 65 * alt_fun == 0 means select GPIO, otherwise Alternate Func. in npcx_pinctrl_alt_sel() 67 * Set devalt bit to select Alternate Func. in npcx_pinctrl_alt_sel() 69 * Clear devalt bit to select Alternate Func. in npcx_pinctrl_alt_sel() 71 if (!!alt_func != !!alt->inverted) { in npcx_pinctrl_alt_sel() [all …]
|
/Zephyr-latest/include/zephyr/drivers/pcie/ |
D | cap.h | 4 * SPDX-License-Identifier: Apache-2.0 25 #define PCI_CAP_ID_AGP 0x02U /**< Accelerated Graphics Port */ 30 #define PCI_CAP_ID_PCIX 0x07U /**< PCI-X */ 32 #define PCI_CAP_ID_VNDR 0x09U /**< Vendor-Specific */ 33 #define PCI_CAP_ID_DBG 0x0AU /**< Debug port */ 34 #define PCI_CAP_ID_CCRC 0x0BU /**< CompactPCI Central Resource Control */ 35 #define PCI_CAP_ID_SHPC 0x0CU /**< PCI Standard Hot-Plug Controller */ 40 #define PCI_CAP_ID_MSIX 0x11U /**< MSI-X */ 60 #define PCIE_EXT_CAP_ID_RCILC 0x0006U /**< Root Complex Internal Link Control */ 62 #define PCIE_EXT_CAP_ID_MFVC 0x0008U /**< Multi-Function VC Capability */ [all …]
|
/Zephyr-latest/soc/ene/kb1200/reg/ |
D | gcfg.h | 4 * SPDX-License-Identifier: Apache-2.0 18 volatile uint32_t MCURST; /*MCU Reset Control Register */ 20 volatile uint32_t GPIOALT; /*GPIO Alternate Register */ 23 volatile uint16_t GPIOMUX; /*GPIO MUX Control Register */ 37 volatile uint8_t EXTCMD; /*Extended Command Port Register */
|
/Zephyr-latest/boards/st/stm32g081b_eval/doc/ |
D | index.rst | 5 The STM32G081B-EVAL Evaluation board is a high-end development platform, for 6 Arm Cortex-M0+ core-based STM32G081RBT6 microcontroller, with USB Type-C and 7 power delivery controller interfaces (UCPD), compliant with USB type-C r1.2 9 one 12-bit ADC, two 12-bit DACs, two GP comparators, two LP timers, internal 11 hardware features on the STM32G081B-EVAL Evaluation board includes a mother 12 board, a legacy peripheral daughterboard and a USB-C and Power Delivery 13 daughterboard, which help to evaluate all peripherals (USB Type-C connector 14 with USB PD, motor control connector, RS232, RS485, Audio DAC, microphone ADC, 19 The board integrates an ST-LINK/V2-1 as an embedded in-circuit debugger and 24 The USB-C and Power Delivery daughterboard [all …]
|
/Zephyr-latest/boards/st/stm3210c_eval/doc/ |
D | index.rst | 5 The STM3210C-EVAL evaluation board is a complete development platform for STMicroelectronic's 6 ARM Cortex-M3 core-based STM32F107VCT microcontroller. 9 (USB-OTG FS, ethernet, motor control, CAN, microSD CardTM, smartcard, USART, 15 More information about the board can be found at the `STM3210C-EVAL website`_. 20 STM3210C-EVAL provides the following hardware components: 22 - Three 5 V power supply options: 23 - Power jack 24 - USB connector 25 - daughterboard 26 - Boot from user Flash, system memory or SRAM. [all …]
|
/Zephyr-latest/boards/st/stm32vl_disco/doc/ |
D | index.rst | 8 integrated ST-LINK debugger and programmer is included (V1), but the only 18 - On-board ST-LINK/V1 with selection mode switch to use the kit as a standalone 19 ST-LINK/V1 (with SWD connector for programming and debugging) 20 - Board power supply: through USB bus or from an external 5 V supply voltage 21 - External application power supply: 3 V and 5 V 22 - Four LEDs: 24 - LD1 (red) for 3.3 V power on 25 - LD2 (red/green) for USB communication 26 - LD3 (green) for PC9 output 27 - LD4 (blue) for PC8 output [all …]
|
/Zephyr-latest/boards/st/stm32l1_disco/doc/ |
D | index.rst | 7 an integrated ST-LINK/V2 debugger and programmer. The boards have a 8 24-segment LCD and a touch slider, along with two user LEDs and a user button. 16 - STM32LDISCOVERY targets STM32L152RBT6, with 128K flash, 16K RAM, 4K EEPROM 17 - STM32L152CDISCOVERY targets STM32L152RCT6, with 256K flash, 32K RAM, 8K EEPROM 31 - On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone 32 ST-LINK/V2 (with SWD connector for programming and debugging) 33 - Board power supply: through USB bus or from an external 5 V supply voltage 34 - External application power supply: 3 V and 5 V 35 - Four LEDs: 37 - LD1 (red) for 3.3 V power on [all …]
|
/Zephyr-latest/boards/st/stm32373c_eval/doc/ |
D | index.rst | 5 …e STM32373C-EVAL evaluation board is designed as a complete demonstration and development platform… 7 …user evaluate all peripherals (USB FS, USART, audio DAC, microphone ADC, dot-matrix LCD, IrDA, LDR… 11 More information about the board can be found at the `STM32373C-EVAL website`_. 16 STM32373C-EVAL provides the following hardware components: 18 - STM32F373VCT6 microcontroller 19 - Four 5 V power supply options: 20 - Power jack 21 - ST-LINK/V2 USB connector 22 - User USB connector 23 - Daughter board [all …]
|
/Zephyr-latest/boards/st/nucleo_l031k6/doc/ |
D | index.rst | 5 The STM32 Nucleo-32 development board with STM32L031K6 MCU, supports Arduino Nano V3 connectivity. 15 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer. 26 - STM32 microcontroller in LQFP32 package 27 - Extension resource: 29 - Arduino* Nano V3 connectivity 31 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 33 - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1 35 - Flexible board power supply: 37 - USB VBUS or external source (3.3V, 5V, 7 - 12V) 38 - Power management access point [all …]
|
/Zephyr-latest/boards/st/nucleo_g031k8/doc/ |
D | index.rst | 5 The STM32 Nucleo-32 board provides an affordable and flexible way for users to try 14 The STM32 Nucleo-32 board does not require any separate probe as it integrates the 15 ST-LINK debugger/programmer. 17 The STM32 Nucleo-32 board comes with the STM32 comprehensive free software 27 - STM32 microcontroller in 32-pin package featuring 64 Kbytes of Flash memory 29 - Extension resource: 31 - Arduino* Nano V3 connectivity 33 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 35 - Flexible board power supply: 37 - USB VBUS or external source (3.3V, 5V, 7 - 12V) [all …]
|
/Zephyr-latest/boards/st/nucleo_f334r8/doc/ |
D | index.rst | 5 STM32 Nucleo-64 development board with STM32F334R8 MCU, supports Arduino and ST morpho connectivity. 15 The STM32 Nucleo board does not require any separate probe as it integrates the ST-LINK/V2-1 27 - STM32 microcontroller in QFP64 package 28 - Two types of extension resources: 30 - Arduino* Uno V3 connectivity 31 - ST morpho extension pin headers for full access to all STM32 I/Os 33 - ARM* mbed* 34 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 36 - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1 38 - Flexible board power supply: [all …]
|
/Zephyr-latest/boards/st/nucleo_l053r8/doc/ |
D | index.rst | 5 The STM32 Nucleo-64 development board with STM32L053R8 MCU, supports Arduino and ST morpho connecti… 15 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer. 26 - STM32 microcontroller in QFP64 package 27 - Two types of extension resources: 29 - Arduino* Uno V3 connectivity 30 - ST morpho extension pin headers for full access to all STM32 I/Os 32 - ARM* mbed* 33 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 35 - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1 37 - Flexible board power supply: [all …]
|
/Zephyr-latest/boards/st/nucleo_l011k4/doc/ |
D | index.rst | 5 The STM32 Nucleo-32 development board with STM32L011K4 MCU, supports Arduino Nano V3 connectivity. 15 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer. 26 - STM32 microcontroller in LQFP32 package 27 - Extension resource: 29 - Arduino* Nano V3 connectivity 31 - ARM* mbed* 32 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 34 - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1 36 - Flexible board power supply: 38 - USB VBUS or external source (3.3V, 5V, 7 - 12V) [all …]
|
/Zephyr-latest/soc/ite/ec/it8xxx2/ |
D | soc.c | 4 * SPDX-License-Identifier: Apache-2.0 15 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h> 28 * The active port usage should follow the order of ITE TCPC port index, 29 * ex. if we're active only one ITE USB PD port, then the port should be 34 /* PLL Frequency Auto-Calibration Control 0 Register */ 37 /* LC Oscillator Control Register */ 39 /* LC Oscillator Control Register 1 */ 44 /* PLL Frequency Auto-Calibration Control 2 Register */ 79 return -ERANGE; in chip_get_pll_freq() 93 * control register before wait for interrupt instruction. in chip_pll_ctrl() [all …]
|
/Zephyr-latest/boards/st/nucleo_f031k6/doc/ |
D | index.rst | 5 The STM32 Nucleo-32 development board with STM32F031K6 MCU, supports Arduino nano connectivity. 11 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer. 22 - STM32 microcontroller in LQFP32 package 24 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 26 - Flexible board power supply: 28 - USB VBUS or external source (3.3V, 5V, 7 - 12V) 30 - Three LEDs: 32 - USB communication (LD1), user LED (LD2), power LED (LD3) 34 - reset push button 38 - `STM32F031 reference manual`_ [all …]
|
/Zephyr-latest/boards/st/nucleo_f042k6/doc/ |
D | index.rst | 5 The STM32 Nucleo-32 development board with STM32F042K6 MCU, supports Arduino nano connectivity. 11 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer. 22 - STM32 microcontroller in LQFP32 package 24 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 26 - Flexible board power supply: 28 - USB VBUS or external source (3.3V, 5V, 7 - 12V) 30 - Three LEDs: 32 - USB communication (LD1), user LED (LD2), power LED (LD3) 34 - reset push button 38 - `STM32F042 reference manual`_ [all …]
|
/Zephyr-latest/boards/st/stm32f0_disco/doc/ |
D | index.rst | 7 integrates the ST-LINK/V2-1 debugger and programmer. It also comes with a 18 - STM32F051R8T6 microcontroller featuring 64 KB Flash memory, 8 KB RAM in an 20 - On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone 21 ST-LINK/V2 (with SWD connector for programming and debugging) 22 - Board power supply: through USB bus or from an external 5 V supply voltage 23 - External application power supply: 3 V and 5 V 24 - Four LEDs: 26 - LD1 (red) for 3.3 V power on 27 - LD2 (red/green) for USB communication 28 - LD3 (green) for PC9 output [all …]
|
/Zephyr-latest/boards/others/stm32f103_mini/doc/ |
D | index.rst | 6 The STM32F103_MINI board features an ARM Cortex-M3 based STM32F103RC MCU 22 - STM32 microcontroller in QFP64 package 24 - Flexible board power supply: 26 - USB VBUS or external source (3.3V, 5V, 7 - 12V) 27 - Power management access point 29 - Two LEDs: 31 - User LED (LD1), power LED (LD2) 33 - USB re-enumeration capability: 35 - Mass storage 39 - `STM32F103 reference manual`_ [all …]
|