Loading...
Searching...
No Matches
encx24j600_internal.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Ell-i open source co-operative
3 * SPDX-FileCopyrightText: 2015 Kaspar Schleiser <kaspar@schleiser.de>
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
26typedef struct __attribute__((packed)) encx24j600_frame_hdr {
27 uint16_t rx_next_ptr;
28
29 /* Receive Status Vector */
30 uint16_t frame_len;
32 uint32_t flags;
35
36#ifdef __cplusplus
37}
38#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