firmware/timer: move constants to header files
This commit is contained in:
parent
424e1642ea
commit
d88fbb6124
@ -1,6 +1,7 @@
|
||||
/* ___INGO___ */
|
||||
|
||||
#include <arm/NXP/LPC17xx/LPC17xx.h>
|
||||
#include "power.h"
|
||||
#include "bits.h"
|
||||
#include "config.h"
|
||||
#include "timer.h"
|
||||
@ -9,11 +10,6 @@
|
||||
#include "sdnative.h"
|
||||
#include "snes.h"
|
||||
|
||||
/* bit definitions */
|
||||
#define RITINT 0
|
||||
#define RITEN 3
|
||||
|
||||
#define PCRIT 16
|
||||
|
||||
extern volatile int sd_changed;
|
||||
extern volatile int reset_changed;
|
||||
|
||||
@ -8,6 +8,10 @@ typedef unsigned int tick_t;
|
||||
extern volatile tick_t ticks;
|
||||
#define HZ 100
|
||||
|
||||
/* bit definitions */
|
||||
#define RITINT 0
|
||||
#define RITEN 3
|
||||
|
||||
/**
|
||||
* getticks - return the current system tick count
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user