Numworks Epsilon  1.4.1
Graphing Calculator Operating System
virtpin.h File Reference
#include "py/obj.h"

Go to the source code of this file.

Classes

struct  _mp_pin_p_t
 

Macros

#define MP_PIN_READ   (1)
 
#define MP_PIN_WRITE   (2)
 
#define MP_PIN_INPUT   (3)
 
#define MP_PIN_OUTPUT   (4)
 

Typedefs

typedef struct _mp_pin_p_t mp_pin_p_t
 

Functions

int mp_virtual_pin_read (mp_obj_t pin)
 
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)
 

Macro Definition Documentation

◆ MP_PIN_INPUT

#define MP_PIN_INPUT   (3)

Definition at line 31 of file virtpin.h.

◆ MP_PIN_OUTPUT

#define MP_PIN_OUTPUT   (4)

Definition at line 32 of file virtpin.h.

◆ MP_PIN_READ

#define MP_PIN_READ   (1)

Definition at line 29 of file virtpin.h.

◆ MP_PIN_WRITE

#define MP_PIN_WRITE   (2)

Definition at line 30 of file virtpin.h.

Typedef Documentation

◆ mp_pin_p_t

typedef struct _mp_pin_p_t mp_pin_p_t

Function Documentation

◆ mp_pin_make_new()

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 
)

◆ mp_virtual_pin_read()

int mp_virtual_pin_read ( mp_obj_t  pin)

◆ mp_virtual_pin_write()

void mp_virtual_pin_write ( mp_obj_t  pin,
int  value 
)