Skip to content

v1.0.0 Initial Release

Choose a tag to compare

@GabyGold67 GabyGold67 released this 24 May 09:02
· 18 commits to master since this release

This release includes:

Instantiable classes:

  • DbncdMPBttn: Base class, implements a Debounced Momentary Push Button (D-MPB)
  • DbncdDlydMPBttn: Implements a Debounced Delayed MPB (DD-MPB)
  • TgglLtchMPBttn: Implements a Toggle Latch DD-MPB, a.k.a. a Toggle Switch (ToLDD-MPB)
  • TmLtchMPBttn: Implements a Timer Latch DD-MPB, a.k.a. a Timer Switch (TiLDD-MPB)
  • XtrnUnltchMPBttn: Implements an External Unlatch LDD-MPB, a.k.a. Emergency Latched Switch (XULDD-MPB)
  • HntdTmLtchMPBttn: Implements a Hinted Timer Latch DD-MPB, a.k.a. Staircase Switch (HTiLDD-MPB)
  • TmVdblMPBttn: Implements a Time Voidable DD-MPB, a.k.a. Anti-tampering switch (TVDD-MPB)
  • SldrDALtchMPBttn: Implements a Slider Double Action LDD-MPB combo switch, a.k.a. off/on/dimmer, a.k.a. off/on/volume radio switch)(S-DALDD-MPB)
  • DDlydDALtchMPBttn: Implements a Debounced Delayed DALDD-MPB combo switch, a.k.a. Dobule Debounced Delayed Latched MPB combo switch (DD-DALDD-MPB)

Embedded simulated behavior output retrieval mechanisms implemeted:

  • Flags value getters: Return the value of each significant output flag.
  • General flags value change getter: Returns a value indicating if any of the significant output flags' values has changed.
  • RTOS lightweight mailbox: Implementation of a xTaskNotifyGive() FreeRTOS macro to unblock a developer defined task, every time any of the output flags' values changes.
  • Task Resume/Suspend: A mechanism is provided to run a developer defined task while the object is in On State.
  • Functions execution: A developer defined function might be set to be executed every time the instantiated object enters the On State, and a function might be set to be executed every time the instantiated object enters the Off State. The functions are to be independently defined, so one, the other or both might be defined, and even the same function might be used for both events.

Example files:

  • At least two example files for each instantiable class, showing the working setting and the effecto of the disable()/enable() methods of each of them