rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
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 */
17void initSent();
18
19/* decoder feed hook */
20void SENT_ISR_Handler(uint8_t channels, uint16_t clocks, uint8_t flags);
21
22/* Stop/Start for config update */
23void startSent();
24void stopSent();
25
26float getSentValue(SentInput input);
27int getSentValues(SentInput input, uint16_t *sig0, uint16_t *sig1);
28
29#endif /* EFI_SENT_SUPPORT */
static GppwmChannel channels[GPPWM_CHANNELS]
Definition gppwm.cpp:6
SentInput
void stopSent()
void initSent()
Definition sent.cpp:167
void SENT_ISR_Handler(uint8_t channels, uint16_t clocks, uint8_t flags)
Definition sent.cpp:73
void startSent()
float getSentValue(SentInput input)
Definition sent.cpp:135
int getSentValues(SentInput input, uint16_t *sig0, uint16_t *sig1)
Definition sent.cpp:153