From 1238a16c6390276bdcebd05e3067c8a94990ff35 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 29 Mar 2019 10:37:33 -0400 Subject: [PATCH] docs --- firmware/controllers/core/efi_wave.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/controllers/core/efi_wave.h b/firmware/controllers/core/efi_wave.h index e402992d8a..edc36341b7 100644 --- a/firmware/controllers/core/efi_wave.h +++ b/firmware/controllers/core/efi_wave.h @@ -9,6 +9,12 @@ #include "global.h" +/** + * This layer has two primary usages: + * 1) 'simple' PWM generation is used to produce actuator square control wave + * 2) 'complex' PWM generation is used for trigger simulator. + * Some triggers like Nissan 360 slot optical wheel need a lot of points to describe the shape of the wave. + */ #ifndef PWM_PHASE_MAX_COUNT #define PWM_PHASE_MAX_COUNT 252 #endif /* PWM_PHASE_MAX_COUNT */