modmachine.h 377 B

12345678910111213141516
  1. #ifndef MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
  2. #define MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H
  3. #include "py/obj.h"
  4. extern const mp_obj_type_t machine_pin_type;
  5. MP_DECLARE_CONST_FUN_OBJ_0(machine_info_obj);
  6. typedef struct _machine_pin_obj_t {
  7. mp_obj_base_t base;
  8. struct device *port;
  9. uint32_t pin;
  10. } machine_pin_obj_t;
  11. #endif // MICROPY_INCLUDED_ZEPHYR_MODMACHINE_H