|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
A programming port's pin held with no driver (FUNC NONE): an input with its pull-down, so a lead on it reads low rather than floating. More...
#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| bool | port_park (uint8_t pin) |
pin as an input with its pull-down. | |
| void | port_unpark (uint8_t pin) |
pin let go: an input with no pull, as out_pwm_release() leaves a pin, for whoever takes it next. | |
A programming port's pin held with no driver (FUNC NONE): an input with its pull-down, so a lead on it reads low rather than floating.
SPDX-License-Identifier: MIT
| bool port_park | ( | uint8_t | pin | ) |
pin as an input with its pull-down.
False for a pin the chip does not have.
| pin | GPIO number of the pin to hold. |
| void port_unpark | ( | uint8_t | pin | ) |
pin let go: an input with no pull, as out_pwm_release() leaves a pin, for whoever takes it next.
| pin | GPIO number of the pin to release. A pin the chip does not have is ignored. |