Major refactoring of main.c

This commit is contained in:
Kostas Missos
2018-11-27 11:45:43 +02:00
parent 267a04c4ac
commit 471c1e514c
11 changed files with 2518 additions and 2219 deletions

View File

@@ -124,6 +124,9 @@
#define APBDEV_RTC_SHADOW_SECONDS 0xC
#define APBDEV_RTC_MILLI_SECONDS 0x10
/*! SYSCTR0 registers. */
#define SYSCTR0_CNTFID0 0x20
/*! TMR registers. */
#define TIMERUS_CNTR_1US (0x10 + 0x0)
#define TIMERUS_USEC_CFG (0x10 + 0x4)