Lines Matching refs:pull
12 - Setting or obtaining the pull type (pull-up, pull-down, or floating) of a pin
13 - Setting or obtaining the pull strength of a pin
36 - Interface layer: provides APIs for obtaining a pin, setting or obtaining the pull type, pull stre…
51 …re concept used to manage pin resources. You can set the function, pull type, and pull strength of…
63 | int32_t PinSetPull(DevHandle handle, enum PinPullType pullType) | Sets the pull type of a pin.|
64 | int32_t PinGetPull(DevHandle handle, enum PinPullType *pullType) | Obtains the pull type of a pin…
65 | int32_t PinSetStrength(DevHandle handle, uint32_t strength) | Sets the pull strength of a pin.|
66 | int32_t PinGetStrength(DevHandle handle, uint32_t *strength) | Obtains the pull strength of a pin…
113 Use **PinSetPull()** to set the pull type of a pin.
129 Example: Set the pull type to pull-up.
135 /* Set the pull type of a pin. */
146 Use **PinGetPull()** to obtain the pull type of a pin.
157 | pullType | Pointer to the pull type obtained.|
162 Example: Obtain the pull type of a pin.
168 /* Obtain the pull type of a pin. */
178 Use **PinSetStrength()** to set the pull type of a pin.
194 Example: Set the pull strength of the pin to 2.
199 /* Set the pull strength of the pin. */
210 Use **PinGetStrength()** to obtain the pull strength of a pin.
221 | strength | Pointer to the pull strength obtained.|
226 Example: Obtain the pull strength of a pin.
232 /* Obtain the pull strength of the pin. */
333 2. Set the pull type of the pin. If the operation fails, release the pin description handle.
334 3. Obtain the pull type of the pin. If the operation fails, release the pin description handle.
335 4. Set the pull strength of the pin. If the operation fails, release the pin description handle.
336 5. Obtain the pin pull strength. If the operation fails, release the pin description handle.
362 /* Set the pull type to pull-up for the pin. */
369 /* Obtain the pull type of the pin. */
375 /* Set the pull strength of the pin to 2. */
382 /* Obtain the pull strength of the pin. */