diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-10 21:44:48 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-10 21:44:48 +0000 |
commit | 4bf4d2bb55535c9c90afff717bcf046bd19af982 (patch) | |
tree | 0c1a8c5a4a636339699059c7300cb45f6cd129e4 /firmware/target/mips/ingenic_jz47xx/timer-jz4740.c | |
parent | 4396b5b101dba2af84ad92bdefd16c5b6210f910 (diff) | |
download | rockbox-4bf4d2bb55535c9c90afff717bcf046bd19af982.tar.gz rockbox-4bf4d2bb55535c9c90afff717bcf046bd19af982.tar.bz2 rockbox-4bf4d2bb55535c9c90afff717bcf046bd19af982.zip |
* Get interrupts working (but crashes after 10-30secs)
* Make current_tick increase
* Convert button driver into SADC driver
* Make touchscreen handling work better (still needs good calibration routine)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/timer-jz4740.c')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/timer-jz4740.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c b/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c new file mode 100644 index 0000000000..00c8abcdbd --- /dev/null +++ b/firmware/target/mips/ingenic_jz47xx/timer-jz4740.c @@ -0,0 +1,28 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2008 by Maurus Cuelenaere + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#include "config.h" +#include "jz4740.h" + + +bool __timer_set(long cycles, bool set); +bool __timer_register(void); +void __timer_unregister(void); |