rusEFI
The most advanced open source ECU
|
#include <efi_gpio.h>
Public Member Functions | |
IgnitionOutputPin () | |
void | setHigh () override |
void | setLow () override |
void | reset () |
![]() | |
NamedOutputPin () | |
NamedOutputPin (const char *name) | |
virtual void | setHigh (const char *msg) |
virtual void | setLow (const char *msg) |
const char * | getName () const |
void | setName (const char *) |
const char * | getShortName () const |
bool | stop () |
![]() | |
void | initPin (const char *msg, brain_pin_e brainPin, pin_output_mode_e outputMode, bool forceInitWithFatalError=false) |
void | initPin (const char *msg, brain_pin_e brainPin) |
void | deInit () |
bool | isInitialized () const |
bool | getAndSet (int logicValue) |
void | setValue (const char *msg, int logicValue, bool isForce=false) |
TEST_VIRTUAL void | setValue (int logicValue, bool isForce=false) |
void | toggle () |
bool | getLogicValue () const |
brain_pin_diag_e | getDiag () const |
void | resetToggleStats () |
Data Fields | |
int | signalFallSparkId |
int8_t | coilIndex |
![]() | |
const char * | shortName = nullptr |
![]() | |
ioportid_t | m_port = 0 |
uint8_t | m_pin = 0 |
int | pinToggleCounter = 0 |
Timer | pinToggleTimer |
uint32_t | durationsInStateMs [2] |
brain_pin_e | brainPin = Gpio::Unassigned |
bool | ext = false |
int8_t | currentLogicValue = INITIAL_PIN_STATE |
Definition at line 26 of file efi_gpio.h.
IgnitionOutputPin::IgnitionOutputPin | ( | ) |
void IgnitionOutputPin::reset | ( | ) |
Definition at line 555 of file efi_gpio.cpp.
Referenced by IgnitionOutputPin(), and EnginePins::reset().
|
overridevirtual |
Reimplemented from NamedOutputPin.
Definition at line 505 of file efi_gpio.cpp.
Referenced by startDwellByTurningSparkPinHigh().
|
overridevirtual |
Reimplemented from NamedOutputPin.
Definition at line 530 of file efi_gpio.cpp.
Referenced by fireSparkBySettingPinLow(), and setPinConfigurationOverrides().
int8_t IgnitionOutputPin::coilIndex |
Definition at line 36 of file efi_gpio.h.
Referenced by EnginePins::EnginePins(), setHigh(), and setLow().
int IgnitionOutputPin::signalFallSparkId |
Definition at line 35 of file efi_gpio.h.
Referenced by fireSparkBySettingPinLow(), reset(), and startDwellByTurningSparkPinHigh().