|
Programmable Clock with RTOS 0.0.1
Implementaiton of a programmable clock using RTOS with STM32GO microcontroller.
|
Init the structs Inicialization of structs with Data, Time and Alarm values. More...
#include "FreeRTOS.h"#include "SEGGER_RTT.h"#include "stm32g0xx.h"#include "task.h"#include "queue.h"#include "timers.h"#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | NEW_MsgTypeDef |
| Struct with array to queue. More... | |
| struct | _APP_TmTypeDef |
| Struct with the date, time and alarm elements. More... | |
| struct | _APP_MsgTypeDef |
| Struct with the msg element. More... | |
Typedefs | |
| typedef struct _APP_TmTypeDef | APP_TmTypeDef |
| Struct with the date, time and alarm elements. | |
| typedef struct _APP_MsgTypeDef | APP_MsgTypeDef |
| Struct with the msg element. | |
Enumerations | |
| enum | APP_Messages { SERIAL_MSG_ALARM , SERIAL_MSG_DATE , SERIAL_MSG_TIME , CLOCK_MSG_PRINT , OK_STATE , ERROR_STATE , DISPLAY_MSG_ALARM_A , DISPLAY_ALARM } |
| Enum with message types used as events. More... | |
| enum | Display_M { DISPLAY_MSG_TIME , DISPLAY_IDLE_STATE , DISPLAY_1 , DISPLAY_2 , DISPLAY_3 } |
| Enum with message types used as events for unit testing. More... | |
| enum | MACHINE_State { CLOCK_STATE_ALARM , CLOCK_STATE_DATE , CLOCK_STATE_TIME , CLOCK_STATE_PRINT , CLOCK_STATE_IDLE } |
| Enum with states for state machines. More... | |
Init the structs Inicialization of structs with Data, Time and Alarm values.
| enum APP_Messages |
Enum with message types used as events.
| enum Display_M |
| enum MACHINE_State |