27 lines
608 B
C
27 lines
608 B
C
#ifndef TIMER_H_INCLUDED
|
|
#define TIMER_H_INCLUDED
|
|
|
|
int timer_set_bpm(void);
|
|
int timer_start(void);
|
|
int timer_stop(void);
|
|
int timer_init(void);
|
|
void timer_set_beat_callback(void (*b_cb)(uint32_t));
|
|
void timer_clear_beat_callback(void);
|
|
|
|
extern unsigned char drumkit_0_au[],
|
|
drumkit_1_au[],
|
|
drumkit_2_au[],
|
|
drumkit_3_au[],
|
|
drumkit_4_au[],
|
|
drumkit_5_au[],
|
|
drumkit_6_au[];
|
|
|
|
extern unsigned int drumkit_0_au_len,
|
|
drumkit_1_au_len,
|
|
drumkit_2_au_len,
|
|
drumkit_3_au_len,
|
|
drumkit_4_au_len,
|
|
drumkit_5_au_len,
|
|
drumkit_6_au_len;
|
|
|
|
#endif
|