Zigbee Protocol Controller 1.6.0
|
#include <sys/select.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include "contiki-conf.h"
#include "sl_log.h"
#include "uic_main_externals.h"
#include "uic_main_externals_internal.h"
Macros | |
#define | LOG_TAG "uic_main_externals_platform" |
Functions | |
static void | uic_main_ext_setup (void) |
static void | set_fdr_from_registration (const uic_main_ext_fd_registration_t *reg) |
static void | uic_main_check_registration (const uic_main_ext_fd_registration_t *reg) |
void | uic_main_ext_select (clock_time_t delay) |
Variables | |
static fd_set | fdrs |
static int | fd_max = -1 |
#define LOG_TAG "uic_main_externals_platform" |
|
static |
Set one registered file desriptor on the fdrs
set.
reg | The external event registration whose descriptor should be set. |
|
static |
Call the registered handlers in reg
if the fd is set.
This function is called from uic_main_ext_registration_iter().
reg | The external event registration whose fd should be checked. |
|
static |
Set the registered file desriptors before the select call.
|
static |
The highest numbered file descriptor.
|
static |
The set of readable file descriptors.