Document CywPin

This commit is contained in:
Jeff Epler 2022-09-29 09:09:36 -05:00
parent 56f9f0d136
commit 91f1266db5
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -32,6 +32,13 @@
#include "shared-bindings/microcontroller/Pin.h"
#include "bindings/cyw43/__init__.h"
//| class CywPin:
//| """A class that represents a GPIO pin attached to the wifi chip.
//|
//| Cannot be constructed at runtime, but may be the type of a pin object
//| in `board`. A `CywPin` can be used as a DigitalInOut, but not with other
//| peripherals such as `PWMOut`."""
//|
const mp_obj_type_t cyw43_pin_type = {
{ &mp_type_type },
.flags = MP_TYPE_FLAG_EXTENDED,