Programmable Clock with RTOS
0.0.1
Implementaiton of a programmable clock using RTOS with STM32GO microcontroller.
Loading...
Searching...
No Matches
app_display.h
Go to the documentation of this file.
1
6
7
#ifndef APP_DISPLAY_H
8
#define APP_DISPLAY_H
9
10
#define DISPLAY_STATES 5U
11
16
#define CERO 0u
17
#define ONE 1u
18
#define TEN 10u
19
#define TWELVE 12u
20
#define ONE_HUNDRED 100U
21
#define ONE_THOUSAND 1000U
25
30
#define FIRST_CHARACTER_MONTH 0u
31
#define SECOND_CHARACTER_MONTH 1u
32
#define THIRD_CHARACTER_MONTH 2u
33
#define TENS_DIGIT_DAY 4u
34
#define ONES_DIGIT_DAY 5u
35
#define THOUSANDS_DIGIT_YEAR 7u
36
#define HUNDREDS_DIGIT_YEAR 8u
37
#define TENS_DIGIT_YEAR 9u
38
#define ONES_DIGIT_YEAR 10u
39
#define FIRST_CHARACTER_WEEK 12u
40
#define SECOND_CHARACTER_WEEK 13u
44
49
#define SECONDS_ONES 7u
50
#define SECONDS_TENS 6u
51
#define MINUTES_ONES 4u
52
#define MINUTES_TENS 3u
53
#define HOURS_ONES 1u
54
#define HOURS_TENS 0u
58
59
#define TIMER_BUZZER_ID (void *)(uint32_t)1
60
#define ACTIVE 1u
61
#define INACTIVE 0u
62
#define TICKS 0u
63
68
#ifdef UTEST
69
#define STATIC
70
#else
71
#define STATIC static
72
#endif
76
77
void
Display_Init
(
void
);
78
void
Display_Task
(
void
);
79
#endif
Display_Init
void Display_Init(void)
Initializate the LCD.
Definition
app_display.c:151
Display_Task
void Display_Task(void)
Display task function.
Definition
app_display.c:207
app
app_display.h
Generated by
1.13.0