1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-14 02:29:27 +00:00
r65emu/timed.h
2023-09-27 15:38:16 +01:00

13 lines
203 B
C

#ifndef __TIMED_H__
#define __TIMED_H__
typedef void (*handler_t)(void);
void timer_create(unsigned freq, handler_t handler);
#if !defined(ESP32) && !defined(ESP8266)
#define IRAM_ATTR
#endif
#endif