objc
include
Application
GPIOTypes.h
Go to the documentation of this file.
1
8
#pragma once
9
#include <
runtime-hw/hw.h
>
10
15
typedef
enum
{
16
GPIOEventRising
=
HW_GPIO_RISING
,
17
GPIOEventFalling
=
HW_GPIO_FALLING
,
18
GPIOEventChanged
=
19
GPIOEventRising
|
GPIOEventFalling
,
20
}
GPIOEvent
;
GPIOEventFalling
Falling edge detected.
Definition:
GPIOTypes.h:17
GPIOEventRising
Rising edge detected.
Definition:
GPIOTypes.h:16
HW_GPIO_FALLING
GPIO pin falling edge interrupt.
Definition:
gpio.h:52
HW_GPIO_RISING
GPIO pin rising edge interrupt.
Definition:
gpio.h:51
hw.h
Hardware interface abstraction layer.
GPIOEvent
GPIOEvent
GPIO input types for handling GPIO events.
Definition:
GPIOTypes.h:15
GPIOEventChanged
Both edges detected.
Definition:
GPIOTypes.h:18