OSDN Git Service

Step 10 added.
[kozos-expbrd/kozos_expbrd.git] / firm / 09 / os / driver / 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(int8(*func) (uint8 * buf, const uint16 len));
15 void vs1011e_decodetime_read(uint16 * sec);
16 void vs1011e_decodetime_write(const uint16 sec);
17 void vs1011e_register_print(void);
18
19 void vs1011e_sinetest_init(void);
20 void vs1011e_sinetest_fini(void);
21
22 #endif
23