#include "board.h"
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
Go to the source code of this file.
Defines | |
#define | STATE_MENU 0 |
#define | STATE_SET_TIME 1 |
#define | STATE_SET_DATE 2 |
#define | STATE_SET_TIME_ALARM 3 |
#define | STATE_SET_DATE_ALARM 4 |
#define | MAX_EDIT_SIZE 10 |
#define | IsDigitChar(c) ((c) >= '0' && (c) <='9') |
#define | CharToDigit(c) ((c) - '0') |
Functions | |
void | TC0_Handler (void) |
void | RTC_Handler (void) |
Interrupt handler for the RTC. Refreshes the display. | |
int | main (void) |
Application entry point for RTC example. | |
Variables | |
volatile uint16_t | Temperature = 0 |
volatile uint32_t | CountDownTimer = 0 |
This file contains all the specific code for the rtc example.
Definition in file main.c.
#define CharToDigit | ( | c | ) | ((c) - '0') |
#define IsDigitChar | ( | c | ) | ((c) >= '0' && (c) <='9') |