rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hw_layer
drivers
sent
sent.h
Go to the documentation of this file.
1
/*
2
* sent.h
3
*
4
* SENT protocol decoder header
5
*
6
* @date Oct 01, 2022
7
* @author Andrey Gusakov <dron0gus@gmail.com>, (c) 2022
8
*/
9
10
#pragma once
11
12
#if EFI_SENT_SUPPORT
13
14
#include "sent_decoder.h"
15
16
/* SENT decoder init */
17
void
initSent
();
18
19
/* decoder feed hook */
20
void
SENT_ISR_Handler
(uint8_t
channels
, uint16_t clocks, uint8_t flags);
21
22
/* Stop/Start for config update */
23
void
startSent
();
24
void
stopSent
();
25
26
float
getSentValue
(
SentInput
input);
27
int
getSentValues
(
SentInput
input, uint16_t *sig0, uint16_t *sig1);
28
29
#endif
/* EFI_SENT_SUPPORT */
channels
static GppwmChannel channels[GPPWM_CHANNELS]
Definition
gppwm.cpp:6
SentInput
SentInput
Definition
rusefi_enums.h:194
stopSent
void stopSent()
Definition
sent_hw_icu.cpp:122
initSent
void initSent()
Definition
sent.cpp:167
SENT_ISR_Handler
void SENT_ISR_Handler(uint8_t channels, uint16_t clocks, uint8_t flags)
Definition
sent.cpp:73
startSent
void startSent()
Definition
sent_hw_icu.cpp:95
getSentValue
float getSentValue(SentInput input)
Definition
sent.cpp:135
getSentValues
int getSentValues(SentInput input, uint16_t *sig0, uint16_t *sig1)
Definition
sent.cpp:153
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8