circuitpython/shared-module/canio/Message.h
2024-05-17 14:56:28 -04:00

17 lines
373 B
C

// This file is part of the CircuitPython project: https://circuitpython.org
//
// SPDX-FileCopyrightText: Copyright (c) 2020 Jeff Epler for Adafruit Industries
//
// SPDX-License-Identifier: MIT
#pragma once
#include "py/obj.h"
typedef struct {
mp_obj_base_t base;
int id;
uint8_t data[8];
size_t size : 4;
bool extended : 1;
} canio_message_obj_t;