reworked CAN Stack
This commit is contained in:
11
Software/include/can_native.h
Normal file
11
Software/include/can_native.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
#include "can_hal.h"
|
||||
|
||||
// Initialisiert den Native-CAN-Profilpfad (setzt Masken/Filter und NORMAL-Mode).
|
||||
// Voraussetzung: CAN_HAL_Init(...) hat zuvor true geliefert.
|
||||
bool Init_CAN_Native();
|
||||
|
||||
// Liest Frames non-blocking, extrahiert Hinterradgeschwindigkeit je nach Bike,
|
||||
// integriert mm über dt und liefert die seit letztem Aufruf addierten Millimeter.
|
||||
uint32_t Process_CAN_Native_WheelSpeed();
|
Reference in New Issue
Block a user