#include <sys/types.h>
#include <cc/ccc_packet.h>
Data Structures | |
struct | mac_interface_st |
Defines | |
#define | BROADCAST_ADDR 0xffff |
#define | CLUSTER_MASK 0xffe0 |
#define | MULTICAST_ADDR(a) (((a) & CLUSTER_MASK)|(BROADCAST_ADDR & NODE_MASK)) |
#define | NODE_MASK (~CLUSTER_MASK) |
Typedefs | |
typedef mac_interface_st | mac_interface_t |
#define BROADCAST_ADDR 0xffff |
broadcast address
#define CLUSTER_MASK 0xffe0 |
mask for the cluster (network) part of a node address
#define MULTICAST_ADDR | ( | a | ) | (((a) & CLUSTER_MASK)|(BROADCAST_ADDR & NODE_MASK)) |
multicast address for address a
#define NODE_MASK (~CLUSTER_MASK) |
mask for the node part of a node address
typedef struct mac_interface_st mac_interface_t |
Structure describing the CC1000 MAC-Interface.