Struct Kit2GoBoardSupport::pinCtrl

Nested Relationships

This struct is a nested type of Class Kit2GoBoardSupport.

Struct Documentation

struct pinCtrl

A structure to represent pins with all necessary parameters.

Public Members

bool isSet

the state of the pin, to be activated or not at init.

uint8_t pinNumber

the Arduino pin number of the pin.

uint8_t driveDirection

the direction for the Arduino pin when actively driving.

uint8_t tristateDirection

the direction for the Arduino pin when in tristate.

uint8_t enableValue

the value of the pin to be enabled or set by the init function.

uint8_t disableValue

the value of the pin when the pin is disabled.

uint32_t delayAfterEnable

the delay in us after the pin is enabled.

uint32_t delayAfterDisable

the delay in us after the pin is disabled.