Searched full:vbus (Results 1 – 25 of 196) sorted by relevance
12345678
/Zephyr-latest/dts/bindings/tcpc/ |
D | nuvoton,numaker-tcpc.yaml | 47 vbus-overcurrent-event-polarity: 50 Polarity of VBUS overcurrent event 55 vbus-forceoff-event-polarity: 58 Polarity of VBUS force-off event 71 vbus-discharge-enable-polarity: 74 Polarity of VBUS discharge enable 79 vbus-sink-enable-polarity: 82 Polarity of VBUS sink enable 87 vbus-source-enable-polarity: 90 Polarity of VBUS source enable [all …]
|
/Zephyr-latest/drivers/usb_c/vbus/ |
D | Kconfig | 1 # USB-C VBUS Measurement configuration options 7 bool "USB-C VBUS drivers" 14 int "USB-C VBUS driver init priority" 17 Initialization priority of the USB-C VBUS measurement drivers in POST_KERNEL. 19 source "drivers/usb_c/vbus/Kconfig.usbc_vbus_adc" 20 source "drivers/usb_c/vbus/Kconfig.numaker" 21 source "drivers/usb_c/vbus/Kconfig.usbc_vbus_tcpci"
|
D | usbc_vbus_numaker.c | 24 /* Implementation notes on NuMaker TCPC/PPC/VBUS 26 * PPC and VBUS rely on TCPC/UTCPD and are just pseudo. They are completely 38 * @brief Initializes the usb-c vbus driver 58 * @brief Checks if VBUS is at a particular level 60 * @retval true if VBUS is at the level voltage 61 * @retval false if VBUS is not at that level voltage 72 * @brief Reads and returns VBUS measured in mV 86 * @brief Controls a pin that discharges VBUS 100 * @brief Controls a pin that enables VBUS measurments
|
D | Kconfig.usbc_vbus_adc | 1 # USB-C VBUS device configuration options 7 bool "USB-C VBUS ADC" 11 Measure VBUS with an ADC through a voltage divider
|
D | Kconfig.usbc_vbus_tcpci | 1 # USB-C TCPCI VBUS device configuration options 7 bool "USB-C VBUS TCPCI" 12 Measure VBUS using the TCPC chip compliant to TCPCI
|
D | Kconfig.numaker | 1 # Nuvoton NuMaker USB-C VBUS device configuration options 7 bool "Nuvoton NuMaker USB-C VBUS" 12 Enable USB-C VBUS support for Nuvoton NuMaker chip with UTCPD.
|
D | usbc_vbus_adc.c | 24 * @brief Reads and returns VBUS measured in mV 36 __ASSERT(meas != NULL, "ADC VBUS meas must not be NULL"); in adc_vbus_measure() 52 /* VBUS is scaled down though a voltage divider */ in adc_vbus_measure() 61 * @brief Checks if VBUS is at a particular level 63 * @retval true if VBUS is at the level voltage, else false 89 * @brief Sets pin to discharge VBUS 109 * @brief Sets pin to enable VBUS measurments 129 * @brief Initializes the ADC VBUS Driver 147 /* Configure VBUS Measurement enable pin if defined */ in adc_vbus_init() 161 /* Configure VBUS Discharge pin if defined */ in adc_vbus_init() [all …]
|
/Zephyr-latest/include/zephyr/drivers/usb_c/ |
D | usbc_vbus.h | 8 * @brief USB-C VBUS device APIs 10 * This file contains the USB-C VBUS device APIs. 11 * All USB-C VBUS measurement and control device drivers should 19 * @brief USB-C VBUS API 20 * @defgroup usbc_vbus_api USB-C VBUS API 43 * @brief Checks if VBUS is at a particular level 48 * @retval true if VBUS is at the level voltage 49 * @retval false if VBUS is not at that level voltage 59 * @brief Reads and returns VBUS measured in mV 62 * @param meas pointer where the measured VBUS voltage is stored [all …]
|
D | usbc_ppc.h | 34 /** VBUS short detected while being in a source role */ 44 /** VBUS short detected while being in a sink role */ 114 * @brief Check if the PPC is sourcing the VBUS 117 * @retval 1 if the PPC is sourcing the VBUS 118 * @retval 0 if the PPC is not sourcing the VBUS 134 * @brief Check if the PPC is sinking the VBUS 137 * @retval 1 if the PPC is sinking the VBUS 138 * @retval 0 if the PPC is not sinking the VBUS 154 * @brief Set the state of VBUS sinking 157 * @param enable True if sinking VBUS should be enabled, false if should be disabled [all …]
|
D | usbc_tc.h | 31 * @brief VBUS minimum for a sink disconnect detection. 32 * See Table 4-3 VBUS Sink Characteristics 37 * @brief VBUS maximum for a sink disconnect detection. 38 * See Table 4-3 VBUS Sink Characteristics 43 * @brief From entry to Attached.SRC until VBUS reaches the minimum vSafe5V threshold as 45 * See Table 4-29 VBUS and VCONN Timing Parameters 50 * @brief From the time the Sink is detached until the Source removes VBUS and reaches 52 * See Table 4-29 VBUS and VCONN Timing Parameters 57 * @brief From the time the Source supplied VBUS in the Attached.SRC state. 58 * See Table 4-29 VBUS and VCONN Timing Parameters [all …]
|
/Zephyr-latest/samples/subsys/usb_c/source/src/ |
D | power_ctrl.h | 11 * @brief VBUS levels 14 /* VBUS off */ 16 /* VBUS at default */ 18 /* VBUS at 9V */ 20 /* VBUS at 15V */ 42 * @brief Control VBUS
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | usbc_vbus.rst | 3 USB-C VBUS 9 USB-C VBUS is the line in a USB Type-C connection that delivers power from a 12 .. _usbc-vbus-api: 14 USB-C VBUS API 17 The USB-C VBUS device driver presents an API that's used to control and measure 18 VBUS.
|
/Zephyr-latest/include/zephyr/usb_c/ |
D | tcpci.h | 91 /** Bit for vbus disconnection alert */ 97 /** Bit for low vbus alarm */ 99 /** Bit for high vbus alarm */ 226 /** Bit for block the standard input signal force off vbus control */ 228 /** Bit for disabling the vbus discharge fault detection timer */ 230 /** Bit for disabling the vbus over current detection */ 232 /** Bit for disabling the vbus over voltage detection */ 241 /** Bit for disabling the vbus voltage monitoring */ 245 /** Bit for enabling the automatic vbus discharge based on the vbus voltage */ 247 /** Bit for enabling the bleed discharge of vbus */ [all …]
|
/Zephyr-latest/samples/subsys/usb_c/sink/boards/ |
D | b_g474e_dpow1.overlay | 15 /* usbc.rst vbus-voltage-divider-adc start */ 16 vbus1: vbus { 17 compatible = "zephyr,usb-c-vbus-adc"; 22 /* usbc.rst vbus-voltage-divider-adc end */ 32 vbus = <&vbus1>;
|
D | numaker_m2l31ki.overlay | 18 vbus = <&vbus0>; 56 gpio-names = "vbus-detect", "vbus-discharge"; 57 vbus-sink-enable-polarity = "high-active"; 58 vbus-divide = "divide-10"; 60 io-channel-names = "chn-vbus";
|
D | stm32g081b_eval.overlay | 15 vbus1: vbus { 16 compatible = "zephyr,usb-c-vbus-adc"; 21 /* Pin B13 is used to control VBUS Discharge for Port1 */ 33 vbus = <&vbus1>;
|
/Zephyr-latest/samples/subsys/usb_c/source/boards/ |
D | stm32g081b_eval.overlay | 26 /* Pin D3 is used to enable VBUS Source */ 51 /* usbc.rst vbus-voltage-divider-adc start */ 52 vbus1: vbus { 53 compatible = "zephyr,usb-c-vbus-adc"; 58 /* Pin B13 is used to control VBUS Discharge for Port1 */ 61 /* usbc.rst vbus-voltage-divider-adc end */ 72 vbus = <&vbus1>;
|
/Zephyr-latest/drivers/usb_c/ppc/ |
D | usbc_ppc_numaker.c | 24 /* Implementation notes on NuMaker TCPC/PPC/VBUS 26 * PPC and VBUS rely on TCPC/UTCPD and are just pseudo. They are completely 87 * @brief Check if the PPC is sourcing the VBUS 89 * @retval 1 if the PPC is sourcing the VBUS 90 * @retval 0 if the PPC is not sourcing the VBUS 102 * @brief Check if the PPC is sinking the VBUS 104 * @retval 1 if the PPC is sinking the VBUS 105 * @retval 0 if the PPC is not sinking the VBUS 117 * @brief Set the state of VBUS sinking 131 * @brief Set the state of VBUS sourcing [all …]
|
/Zephyr-latest/samples/boards/google/twinkie_v2/pda/src/ |
D | meas.h | 19 * @brief Measure the voltage on VBUS 21 * @param v pointer where VBUS voltage, in millivolts, is stored 28 * @brief Measure the current on VBUS 30 * @param c pointer where VBUS current, in milliamperes, is stored
|
/Zephyr-latest/dts/bindings/usb-c/ |
D | zephyr,usb-c-vbus-adc.yaml | 5 This device is used to measure VBUS on a Type-C Port and to 6 discharge VBUS when needed. 8 compatible: "zephyr,usb-c-vbus-adc"
|
D | zephyr,usb-c-vbus-tcpci.yaml | 5 This device is used to measure VBUS on a Type-C Port and to 6 discharge VBUS when needed. 10 compatible: "zephyr,usb-c-vbus-tcpci"
|
D | nuvoton,numaker-vbus.yaml | 4 description: Nuvoton NuMaker USB Type-C VBUS controller 6 compatible: "nuvoton,numaker-vbus"
|
/Zephyr-latest/dts/bindings/mfd/ |
D | x-powers,axp192.yaml | 17 This option will disable VBUS power control via N_VBUSEN. 18 By default VBUS power supply is chosen via N_VBUSEN pin. 19 When disabled, VBUS can by chosen automatically by the pmic
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | shell.c | 17 /** Macro used to call the vbus_measure function from the VBUS device pointer */ 22 shell_print(sh, "%s vbus: %d mV", dev->name, val); \ 26 #define TCPC_VBUS_CONN_NODE(node) TCPC_VBUS_DEV(DEVICE_DT_GET(DT_PROP(node, vbus))) 70 * @brief Shell command that prints the vbus measures for all available USB-C ports 147 SHELL_CMD_ARG(vbus, &list_device_names, 148 "Display VBUS voltage\n" 149 "Usage: tcpc vbus [<vbus device>]",
|
/Zephyr-latest/drivers/usb/udc/ |
D | Kconfig.dwc2 | 43 int "UDC DWC2 USBHS VBUS ready event timeout in ms" 48 UDC DWC2 USBHS VBUS ready event timeout. If the VBUS is not ready
|
12345678