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
20#ifndef ENCX24J600_INTERNAL_H
21#define ENCX24J600_INTERNAL_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
30typedef struct __attribute__((packed)) encx24j600_frame_hdr {
31 uint16_t rx_next_ptr;
33 /* Receive Status Vector */
34 uint16_t frame_len;
36 uint32_t flags;
39
40#ifdef __cplusplus
41}
42#endif
43#endif /* ENCX24J600_INTERNAL_H */
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