![Damien George](/assets/img/avatar_default.png)
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
17 lines
377 B
C
17 lines
377 B
C
#ifndef MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
|
|
#define MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
|
|
|
|
#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;
|
|
|
|
#endif // MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
|