Legacy branch migration
This commit is contained in:
27
firmware/drivers/display.h
Normal file
27
firmware/drivers/display.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef DISPLAY_DRV_H_
|
||||
#define DISPLAY_DRV_H_
|
||||
|
||||
/**** Includes ****/
|
||||
#include <avr/io.h>
|
||||
#include "../devices/led_display.h"
|
||||
#include "../devices/inputs.h"
|
||||
|
||||
/**** Public definitions ****/
|
||||
typedef enum {
|
||||
DOT20,
|
||||
DOT10,
|
||||
BAR
|
||||
} dspStyle_t;
|
||||
|
||||
/**** Public function declarations ****/
|
||||
void Display_SetImage(uint8_t image);
|
||||
void Display_SetPercent(uint8_t value, dspStyle_t style);
|
||||
void Display_SetScale(uint16_t value, uint16_t max_value ,dspStyle_t style);
|
||||
|
||||
void Display_SetLock(uint16_t time);
|
||||
|
||||
void Display_Update(inputs_t* inputs);
|
||||
|
||||
void Display_CfgBacklight(uint8_t brigth, uint8_t dimm);
|
||||
|
||||
#endif /* DISPLAY_DRV_H_ */
|
||||
Reference in New Issue
Block a user