embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
seven_seg.h File Reference
#include <stdint.h>
Include dependency graph for seven_seg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SevenSeg_Init (void)
 Initialize the Seven Seg Module. More...
 
void SevenSeg_DisplayHex (uint16_t value)
 Displays value on seven seg in Hex. More...
 
void SevenSeg_DisplayRaw (uint8_t seg0, uint8_t seg1, uint8_t seg2, uint8_t seg3)
 Displays individual parameters on up to four seven segment displays. More...
 
void SevenSeg_DisplayFloat (float value)
 Displays float value on seven seg in decimal. More...
 
uint16_t SevenSeg_BCD (uint16_t value)
 Converts binary number (uint16_t) to BCD format. More...
 
void UpdateDisplay (void)
 updates static variables and displays on hex task-compatible function void function to easily display values on display using scheduled tasks Calls hal_Display to display current value of static variables More...