Skip to content

Commit 91f1266

Browse files
committed
Document CywPin
1 parent 56f9f0d commit 91f1266

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ports/raspberrypi/bindings/cyw43/__init__.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
#include "shared-bindings/microcontroller/Pin.h"
3333
#include "bindings/cyw43/__init__.h"
3434

35+
//| class CywPin:
36+
//| """A class that represents a GPIO pin attached to the wifi chip.
37+
//|
38+
//| Cannot be constructed at runtime, but may be the type of a pin object
39+
//| in `board`. A `CywPin` can be used as a DigitalInOut, but not with other
40+
//| peripherals such as `PWMOut`."""
41+
//|
3542
const mp_obj_type_t cyw43_pin_type = {
3643
{ &mp_type_type },
3744
.flags = MP_TYPE_FLAG_EXTENDED,

0 commit comments

Comments
 (0)