X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Ftimer.h;h=43d6f2ece5afbf8a79360caf28a9fd9a42c63ca6;hb=195268cae3bb2f462d82dc0178dbca07f0cff706;hp=1c1c6cd4fa6f0f30c9f539c0a110c8f78baed5ee;hpb=e8d747355467293087e6818a19073627b0528fce;p=carl9170fw.git diff --git a/carlfw/include/timer.h b/carlfw/include/timer.h index 1c1c6cd..43d6f2e 100644 --- a/carlfw/include/timer.h +++ b/carlfw/include/timer.h @@ -19,8 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #ifndef __CARL9170FW_TIMER_H @@ -85,4 +84,7 @@ static inline __inline void udelay(const uint32_t usec) } void clock_set(enum cpu_clock_t _clock, bool on); +void handle_timer(void); +void timer_init(const unsigned int timer, const unsigned int interval); + #endif /* __CARL9170FW_TIMER_H */