Lines Matching +full:input +full:- +full:code
1 .. zephyr:code-sample:: npm6001_ek
13 - Regulators (BUCK0/1/2/3 and LDO0/1)
14 - GPIO
15 - Watchdog
24 :alt: nRF52840DK + nPM6001-EK wiring example
27 nRF52840DK + nPM6001-EK wiring example
35 .. zephyr-app-commands::
36 :zephyr-app: samples/shields/npm6001_ek
52 .. code-block:: bash
63 .. code-block:: bash
73 .. code-block:: bash
80 .. code-block:: bash
93 .. code-block:: bash
100 .. code-block:: bash
106 .. code-block:: bash
120 .. code-block:: bash
123 npm6001 gpio configure -p 0 -d out
125 npm6001 gpio configure -p 0 -d outh
127 npm6001 gpio configure -p 0 -d outl
128 # configure GPIO 0 as output with high-drive mode enabled
129 npm6001 gpio configure -p 0 -d out --high-drive
130 # configure GPIO 1 as input
131 npm6001 gpio configure -p 1 -d input
132 # configure GPIO 1 as input with pull-down enabled
133 npm6001 gpio configure -p 1 -d input --pull-down
134 # configure GPIO 1 as input with CMOS mode enabled
135 npm6001 gpio configure -p 1 -d input --cmos
137 .. code-block:: bash
142 .. code-block:: bash
149 .. code-block:: bash
161 .. code-block:: bash
164 # the resolution of the watchdog, e.g. 10s -> 12s.