DLN_GPIO_CONDITION_MET_EV Event
The structure of the DLN_GPIO_CONDITION_MET_EV event is as follows:
Syntax
- C/C++
-
typedef struct { DLN_MSG_HEADER header; uint16_t eventCount; uint8_t eventType; uint8_t pin; uint8_t value; } __PACKED_ATTR DLN_GPIO_CONDITION_MET_EV;
Parameters:
- header
- Defines the DLN message header DLN_MSG_HEADER. The header contains several predefined fields and it is used to identify and route messages.
- eventCount
- Contains the number of generated events since the previous level change, except for the DLN_GPIO_EVENT_ALWAYS event. In this case, the parameter contains the number of events, sent after configuration setting.
- eventType
- Specifies the type of event to be generated.
- pin
- Contains the number of the pin which caused the event generation.
- value
Contains current value of the pin, which caused the event generation. The following values are available:
Value Description 1 Logical 1 0 Logical 0
2006-2012