OSDN Git Service

Added the target and the host directory.
[kozos-expbrd/kozos_expbrd.git] / firm / sample / simple_mp3_player / target / bootload / vs1011e.h
1 #ifndef VS1011_H
2 #define VS1011_H
3
4 #include "defines.h"
5
6 void vs1011e_init(void);
7 void vs1011e_reset_by_hardware(void);
8 void vs1011e_reset_by_software(void);
9 void vs1011e_cancel_data(void);
10 void vs1011e_set_enhancer(uint8 st_amp, uint8 st_freq, uint8 sb_amp, uint8 sb_freq);
11 void vs1011e_get_enhancer(uint8 * st_amp, uint8 * st_freq, uint8 * sb_amp, uint8 * sb_freq);
12 void vs1011e_volume_read(uint8 * left, uint8 * right);
13 void vs1011e_volume_write(const uint8 left, const uint8 right);
14 void vs1011e_play(
15         void *buf, int siz,
16         int (*readfunc)(void * buf, const int len));
17 void vs1011e_decodetime_read(uint16 * sec);
18 void vs1011e_decodetime_write(const uint16 sec);
19 void vs1011e_register_print(void);
20
21 void vs1011e_sinetest_init(void);
22 void vs1011e_sinetest_fini(void);
23
24 #endif
25