diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-17 15:15:59 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-01-17 15:15:59 -0800 |
| commit | 760bd8d8a4f0aa0ed8651e89596fb2e6effbc14f (patch) | |
| tree | f3cc8769e20163ca3f215513363237a9435da39e /ports/nrf/common-hal/microcontroller/Pin.h | |
| parent | 2d136d58bf288f0be945ed5cd3efe9113d0acce3 (diff) | |
share fourwire and make nrf compile
Diffstat (limited to 'ports/nrf/common-hal/microcontroller/Pin.h')
| -rw-r--r-- | ports/nrf/common-hal/microcontroller/Pin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/nrf/common-hal/microcontroller/Pin.h b/ports/nrf/common-hal/microcontroller/Pin.h index 61be8bc35..735ed90cc 100644 --- a/ports/nrf/common-hal/microcontroller/Pin.h +++ b/ports/nrf/common-hal/microcontroller/Pin.h @@ -44,6 +44,7 @@ void reset_all_pins(void); // need to store a full pointer. void reset_pin_number(uint8_t pin); void claim_pin(const mcu_pin_obj_t* pin); +bool pin_number_is_free(uint8_t pin_number); void never_reset_pin_number(uint8_t pin_number); // Lower 5 bits of a pin number are the pin number in a port. |
