introduce display muxer

This commit is contained in:
hg
2016-09-05 12:05:03 +02:00
parent 0b6ab872de
commit 932f82ef64
5 changed files with 82 additions and 4 deletions

26
src/displayMuxer.h Normal file
View File

@ -0,0 +1,26 @@
/*
* displayMuxer.h
*
* Created on: 05.09.2016
* Author: wn
*/
#ifndef DISPLAYMUXER_H_
#define DISPLAYMUXER_H_
#include <stdbool.h>
#include <stdint.h>
typedef enum {
FIRST_MUX = 0,
TIMER_MUX = FIRST_MUX,
TEMPERATURE_MUX,
MUX_ENDS
} tMuxerSlot;
void displayMuxerInit(void *handleArg);
void displayMuxerExec(void *handleArg);
void displayMuxerSetValue(uint8_t value, bool valid, tMuxerSlot slot);
#endif /* DISPLAYMUXER_H_ */