Loading...
Searching...
No Matches
can.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 OTA keys S.A.
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
30
31#include "periph_cpu.h"
32#include "can/candev.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38#ifndef HAVE_CAN_T
43#endif
44
45#ifndef HAVE_CAN_CONF_T
49typedef int can_conf_t;
50#endif
51
58void can_init(can_t *dev, const can_conf_t *conf);
59
60#ifdef __cplusplus
61}
62#endif
63
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:59
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:87