#include "stdint.h"
#include "time.h"
Defines | |
| #define | DC_BOOL int |
| Boolean type. | |
| #define | DC_TRUE 1 |
| True boolean value. | |
| #define | DC_FALSE 0 |
| False boolean value. | |
| #define | MAKE_32b(hi, lo, dest) {dest = hi&0x7FFF; dest = dest<<16; dest += lo&0x7FFF;} |
| Make uint32_t with 2 uint16_t. | |
Typedefs | |
| typedef unsigned char | byte |
| byte definition used for MAC addresses | |
This is why it performs the optional dc_config.h inclusion (unleashed by DC_USER_CONFIG) so the user could set all definitions that can enable or disable some stacks features like DPWS_DEBUG or allow to plug optional software like a custom allocator.
| #define DC_BOOL int |
Boolean type.
| #define DC_TRUE 1 |
True boolean value.
| #define DC_FALSE 0 |
False boolean value.
| #define MAKE_32b | ( | hi, | |||
| lo, | |||||
| dest | ) | {dest = hi&0x7FFF; dest = dest<<16; dest += lo&0x7FFF;} |
Make uint32_t with 2 uint16_t.
| hi | High weight 16 bit integer | |
| lo | Low weight 16 bit integer | |
| [out] | dest | Destination 32 bit integer |
| typedef unsigned char byte |
byte definition used for MAC addresses
1.5.8