rusEFI
The most advanced open source ECU
|
#include <efi_gpio.h>
Public Member Functions | |
RegisteredNamedOutputPin (const char *name, size_t pinOffset, size_t pinModeOffset) | |
RegisteredNamedOutputPin (const char *name, size_t pinOffset) | |
![]() | |
RegisteredOutputPin (const char *registrationName, size_t pinOffset, size_t pinModeOffset) | |
RegisteredOutputPin (const char *registrationName, size_t pinOffset) | |
void | init () |
void | unregister () |
const char * | getRegistrationName () const |
![]() | |
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 () |
![]() | |
NamedOutputPin () | |
NamedOutputPin (const char *name) | |
virtual void | setHigh (const char *msg) |
virtual void | setLow (const char *msg) |
virtual void | setHigh () |
virtual void | setLow () |
const char * | getName () const |
void | setName (const char *) |
const char * | getShortName () const |
bool | stop () |
Additional Inherited Members | |
![]() | |
RegisteredOutputPin *const | next |
![]() | |
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 |
![]() | |
const char * | shortName = nullptr |
Definition at line 60 of file efi_gpio.h.
RegisteredNamedOutputPin::RegisteredNamedOutputPin | ( | const char * | name, |
size_t | pinOffset, | ||
size_t | pinModeOffset | ||
) |
Definition at line 66 of file efi_gpio.cpp.
Definition at line 70 of file efi_gpio.cpp.