Loading...
Searching...
No Matches
encx24j600_internal.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015 Ell-i open source co-operative
3 * Kaspar Schleiser <kaspar@schleiser.de>
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser General
6 * Public License v2.1. See the file LICENSE in the top level directory for more
7 * details.
8 */
9
10#pragma once
11
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
29typedef struct __attribute__((packed)) encx24j600_frame_hdr {
30 uint16_t rx_next_ptr;
31
32 /* Receive Status Vector */
33 uint16_t frame_len;
35 uint32_t flags;
38
39#ifdef __cplusplus
40}
41#endif
struct encx24j600_frame_hdr encx24j600_frame_hdr_t
structure resembling format as sent by device
structure resembling format as sent by device
uint16_t frame_len
length of ethernet frame including 4 bytes checksum
uint16_t rx_next_ptr
ptr to next packet within devices memory
uint32_t flags
random flag field just mentioned for the sake of documentation completeness