Blink Event Generator

Files

  • blink_event_generator.c
  • blink_event_generator.h

Methods

  • blink_event_generator_init(BlinkEventGeneratorStorage *storage, const BlinkEventGeneratorSettings *settings)
  • blink_event_generator_start(BlinkEventGeneratorStorage *storage, EventId event_id)
  • blink_event_generator_stop(BlinkEventGeneratorStorage *storage)

Behaviour

  • when activated, it should repeatedly raise EventId with data set to 0, and 1's repeatedly.
  • when deactivated, it should stop raising events