|
| SerialWombatQuadEnc_18AB (SerialWombatChip &serialWombat) |
|
int16_t | writeMinMaxIncrementTargetPin (uint16_t min=65535, uint16_t max=0, uint16_t increment=1, uint8_t targetPin=255) |
|
int16_t | writeFrequencyPeriodmS (uint16_t period) |
|
uint16_t | readFrequency () |
|
uint8_t | pin () |
| fulfills a virtual function requirement of SerialWombatAbstractProcessedInput More...
|
|
uint8_t | swPinModeNumber () |
| fulfills a virtual function requirement of SerialWombatAbstractProcessedInput More...
|
|
| SerialWombatQuadEnc (SerialWombatChip &serialWombatChip) |
| Constructor for the SerialWombatQuadEnc class. More...
|
|
void | begin (uint8_t pin, uint8_t secondPin, uint16_t debounce_mS=10, bool pullUpsEnabled=true, QE_READ_MODE_t readState=QE_ONBOTH_POLL) |
| Initialization for SerialWombatQuadEnc that allows configuration of debounce time, pullUps and transition detection mode. More...
|
|
uint16_t | read () |
| Read the quadrature encoder position from the Serial Wombat chip. More...
|
|
uint16_t | read (uint16_t replacementValue) |
| Read the quadrature encoder position from the Serial Wombat chip then set the position value. More...
|
|
void | write (uint16_t value) |
| This function initializes the position of the encoder. More...
|
|
| SerialWombatPin (SerialWombatChip &serialWombatChip) |
| Instantiates a Serial Wombat Pin. More...
|
|
| SerialWombatPin (SerialWombatChip &serialWombatChip, uint8_t pin) |
| Instantiates a Serial Wombat Pin. More...
|
|
uint16_t | readPublicData () |
| Read the 16 Bit public data associated with this pin. More...
|
|
void | pinMode (uint8_t mode, bool pullDown=false, bool openDrain=false) |
| Set pin to INPUT or OUTPUT, with options for pull Ups and open Drain settings. More...
|
|
void | digitalWrite (uint8_t val) |
| Set output pin High or Low. More...
|
|
int | digitalRead () |
| Reads the state of the Pin. More...
|
|
uint16_t | writePublicData (uint16_t value) |
| Write a 16 bit value to this pin. More...
|
|
uint8_t | pin () |
| Returns the current SW pin number. Used primarily for virtual calls by derived classes. More...
|
|
uint8_t | swPinModeNumber () |
| Returns the Mode number. Used primarily by derived classes to populate packet data. More...
|
|
int16_t | initPacketNoResponse (uint8_t packetNumber, uint8_t param0=0x55, uint8_t param1=0x55, uint8_t param2=0x55, uint8_t param3=0x55, uint8_t param4=0x55) |
|
int16_t | initPacketNoResponse (uint8_t packetNumber, uint16_t param0=0x55, uint8_t param1=0x55, uint8_t param2=0x55, uint8_t param3=0x55) |
|
int16_t | initPacketNoResponse (uint8_t packetNumber, uint16_t param0, uint16_t param1, uint8_t param2=0x55) |
|
int16_t | disable () |
| Disables the pin mode (if applicable) More...
|
|
| SerialWombatAbstractProcessedInput (SerialWombatChip &sw) |
| Constructor for the SerialWombatAbstractScaledOutput Class. More...
|
|
int16_t | writeInverted (bool inverted) |
| if enabled subtract the input value from 65535 before doing any other processing. More...
|
|
int16_t | writeFirstOrderFilteringConstant (uint16_t constant) |
| Set a first order filtering constant to be applied to the signal Higher is heavier filtering. More...
|
|
int16_t | writeAveragingNumberOfSamples (uint16_t numberOfSamples) |
| Set a number of samples to average for each update of the downstream signal. More...
|
|
int16_t | writeExcludeBelowAbove (uint16_t low, uint16_t high) |
| Sets input value ranges which are discarded rather than processed. More...
|
|
int16_t | configureQueue (SerialWombatQueue *queue, Period period, bool queueHighByte=true, bool queueLowByte=true) |
| Sets up the queueing feature for this pin mode. Queue must have been initialized prior to this queue. More...
|
|
int16_t | configureOutputValue (OutputValue outputValue) |
| Configures whether the pin's public data value is averaged, filtered, or neither. More...
|
|
int16_t | writeTransformScaleRange (uint16_t min, uint16_t max) |
| Scale incoming values to a range of 0 to 65535. More...
|
|
int16_t | writeTransformLinearMXB (int32_t m, int32_t b) |
| Scale incoming values based on an mx+b linear equation. More...
|
|
int16_t | configureIntegrator (uint16_t negativeMaxIndex, uint16_t negativeMidIndex, uint16_t negativeDeadZone, uint16_t positiveDeadZone, uint16_t positiveMidIndex, uint16_t positiveMaxIndex, uint16_t midIncrement, uint16_t maxIncrement, uint16_t initialValue, uint8_t updateFrequencyMask=0) |
| Sort incoming data into one of 5 ranges, and integrate based on linear interpolation in those ranges. More...
|
|
int16_t | writeProcessedInputEnable (bool enabled) |
| Enables or disables all input processing functions If disabled, the raw input value is placed directly in the pin's 16 bit public data buffer. More...
|
|
uint16_t | readMinimum (bool resetAfterRead=false) |
| Retreive the maximum public data output value since the last call with reset= true. More...
|
|
uint16_t | readMaximum (bool resetAfterRead=false) |
| Retreive the minimum public data output value since the last call with reset= true. More...
|
|
uint16_t | readAverage () |
| Retreive the last completed averaged value. More...
|
|
uint16_t | readFiltered () |
| Retreive the filtered value. More...
|
|
Extends the SerialWombatPWM class with SW18AB specific functionality, including frequency measurement and min/max/increment/target pin options.