16 lines
369 B
C
16 lines
369 B
C
|
|
||
|
#ifndef MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_COUNTIO_COUNTER_H
|
||
|
#define MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_COUNTIO_COUNTER_H
|
||
|
|
||
|
#include "common-hal/microcontroller/Pin.h"
|
||
|
|
||
|
#include "py/obj.h"
|
||
|
|
||
|
typedef struct {
|
||
|
mp_obj_base_t base;
|
||
|
uint8_t pin_a;
|
||
|
mp_int_t count;
|
||
|
} countio_counter_obj_t;
|
||
|
|
||
|
#endif // MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_COUNTIO_COUNT_H
|