29 #define MP_PIN_READ (1) 30 #define MP_PIN_WRITE (2) 31 #define MP_PIN_INPUT (3) 32 #define MP_PIN_OUTPUT (4)
void mp_virtual_pin_write(mp_obj_t pin, int value)
mp_obj_t mp_pin_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args)
int mp_virtual_pin_read(mp_obj_t pin)
mp_uint_t(* ioctl)(mp_obj_t obj, mp_uint_t request, uintptr_t arg, int *errcode)
struct _mp_pin_p_t mp_pin_p_t