rusefi-1/firmware/hw_layer/pwm_generator.h

25 lines
415 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file pwm_generator.h
*
* @date May 28, 2013
2020-01-13 18:57:43 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
2020-02-18 05:16:19 -08:00
#pragma once
2015-07-10 06:01:56 -07:00
#include "global.h"
#include "pwm_generator_logic.h"
#define DEBUG_PWM FALSE
2019-03-29 06:11:13 -07:00
#include "efi_gpio.h"
2015-07-10 06:01:56 -07:00
void initPwmGenerator(void);
/**
* default implementation of pwm_gen_callback which simply toggles the pins
*
2015-07-10 06:01:56 -07:00
*/
void applyPinState(int stateIndex, PwmConfig* state) /* pwm_gen_callback */;
2015-07-10 06:01:56 -07:00