Loading...
Searching...
No Matches
can.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 OTA keys S.A.
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
27
28#include "periph_cpu.h"
29#include "can/candev.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#ifndef HAVE_CAN_T
40#endif
41
42#ifndef HAVE_CAN_CONF_T
46typedef int can_conf_t;
47#endif
48
55void can_init(can_t *dev, const can_conf_t *conf);
56
57#ifdef __cplusplus
58}
59#endif
60
Definitions for low-level CAN driver interface.
struct can can_t
Low level device structure for ESP32 CAN (extension of candev_t)
struct candev candev_t
Forward declaration for candev struct.
Definition candev.h:56
void can_init(can_t *dev, const can_conf_t *conf)
Initialize a periph CAN device with the given configuration.
ESP CAN device configuration.
Definition can_esp.h:84