summaryrefslogtreecommitdiff
path: root/code/fe310/eos/i2s.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-03-23 01:39:08 +0100
committerUros Majstorovic <majstor@majstor.org>2018-03-23 01:39:08 +0100
commitef64f315409a23e6698f536e96ef56113ddff798 (patch)
tree6a87fb7439b6f567b24c798ad9469cd95737bc3e /code/fe310/eos/i2s.h
parent1aaad9e44871ee421548a14dee25f710b77eba20 (diff)
fixed asm rts spi handler; added sample rate to i2s init; refactored
Diffstat (limited to 'code/fe310/eos/i2s.h')
-rw-r--r--code/fe310/eos/i2s.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/i2s.h b/code/fe310/eos/i2s.h
index 6833948..7b267ec 100644
--- a/code/fe310/eos/i2s.h
+++ b/code/fe310/eos/i2s.h
@@ -7,7 +7,7 @@ typedef struct EOSABuf {
uint8_t *array;
} EOSABuf;
-void eos_i2s_init(void);
+void eos_i2s_init(uint32_t sample_rate);
void eos_i2s_init_mic(uint8_t *mic_arr, uint16_t mic_arr_size, eos_evt_fptr_t mic_wm_handler, uint16_t mic_wm);
void eos_i2s_init_spk(uint8_t *spk_arr, uint16_t spk_arr_size, eos_evt_fptr_t spk_wm_handler, uint16_t spk_wm);
void eos_i2s_start(void);