You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
377 B
17 lines
377 B
7 years ago
|
#ifndef MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
|
||
|
#define MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
|
||
8 years ago
|
|
||
|
#include "py/obj.h"
|
||
|
|
||
|
extern const mp_obj_type_t machine_pin_type;
|
||
|
|
||
|
MP_DECLARE_CONST_FUN_OBJ_0(machine_info_obj);
|
||
|
|
||
|
typedef struct _machine_pin_obj_t {
|
||
|
mp_obj_base_t base;
|
||
|
struct device *port;
|
||
|
uint32_t pin;
|
||
|
} machine_pin_obj_t;
|
||
|
|
||
7 years ago
|
#endif // MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
|