Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Poll Event. More...
#include <kernel.h>
Data Fields | |
struct z_poller * | poller |
PRIVATE - DO NOT TOUCH. | |
uint32_t | tag:8 |
optional user-specified tag, opaque, untouched by the API | |
uint32_t | type:_POLL_NUM_TYPES |
bitfield of event types (bitwise-ORed K_POLL_TYPE_xxx values) | |
uint32_t | state:_POLL_NUM_STATES |
bitfield of event states (bitwise-ORed K_POLL_STATE_xxx values) | |
uint32_t | mode:1 |
mode of operation, from enum k_poll_modes | |
uint32_t | unused: (32 - (0 + 8 + _POLL_NUM_TYPES + _POLL_NUM_STATES + 1 )) |
unused bits in 32-bit word | |
union { | |
void * obj | |
struct k_poll_signal * signal | |
struct k_sem * sem | |
struct k_fifo * fifo | |
struct k_queue * queue | |
struct k_msgq * msgq | |
}; | |
per-type data | |
Poll Event.
union { ... } k_poll_event::@252 |
per-type data
struct k_fifo* k_poll_event::fifo |
uint32_t k_poll_event::mode |
mode of operation, from enum k_poll_modes
struct k_msgq* k_poll_event::msgq |
void* k_poll_event::obj |
struct z_poller* k_poll_event::poller |
PRIVATE - DO NOT TOUCH.
struct k_queue* k_poll_event::queue |
struct k_sem* k_poll_event::sem |
struct k_poll_signal* k_poll_event::signal |
uint32_t k_poll_event::state |
bitfield of event states (bitwise-ORed K_POLL_STATE_xxx values)
uint32_t k_poll_event::tag |
optional user-specified tag, opaque, untouched by the API
uint32_t k_poll_event::type |
bitfield of event types (bitwise-ORed K_POLL_TYPE_xxx values)
uint32_t k_poll_event::unused |
unused bits in 32-bit word