1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-12 20:08:04 +00:00
r65emu/timed.h

13 lines
203 B
C
Raw Permalink Normal View History

2014-11-13 19:20:01 +00:00
#ifndef __TIMED_H__
#define __TIMED_H__
2018-11-11 11:21:12 +00:00
typedef void (*handler_t)(void);
void timer_create(unsigned freq, handler_t handler);
2014-11-13 19:20:01 +00:00
2023-09-27 14:38:16 +00:00
#if !defined(ESP32) && !defined(ESP8266)
#define IRAM_ATTR
#endif
2014-11-13 19:20:01 +00:00
#endif