File SevenSegment.h
FileList > driver > Inc > SevenSegment.h
Go to the source code of this file
Classes
Public Types
Public Functions
Macros
Public Types Documentation
enum display
enum display {
display_0 = 0,
display_1 = 1,
display_off = 2
};
typedef display_t
typedef enum display display_t;
typedef led_t
typedef struct led_pins led_t;
Public Functions Documentation
function SevenSegment_Init
void SevenSegment_Init ()
function displayNum_SevenSegment
uint8_t displayNum_SevenSegment (
display_t display,
uint8_t number
)
function displayTwoNum_SevenSegment
uint8_t displayTwoNum_SevenSegment (
uint8_t number
)
function off_SevenSegment
void off_SevenSegment (
uint8_t display
)
Macro Definition Documentation
define MAX_NUM
#define MAX_NUM `99`
define NUMBER_SEGMENTS
#define NUMBER_SEGMENTS `7`
define NUMBER_SEVEN_SEGMENTS
#define NUMBER_SEVEN_SEGMENTS `2`
The documentation for this class was generated from the following file driver/Inc/SevenSegment.h