aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gaudio/vs1053/gaudio_play_board_template.h
blob: 0c06c4c95f604476967ead94b49c8e6703144230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 * This file is subject to the terms of the GFX License. If a copy of
 * the license was not distributed with this file, you can obtain one at:
 *
 *              http://ugfx.io/license.html
 */

#ifndef GAUDIO_PLAY_BOARD_H
#define GAUDIO_PLAY_BOARD_H

// Initialise the board
static void board_init(void) {

}

// Chip is initialised enough so we can talk fast to it
static void board_init_end(void) {

}

// Reset the board
static void board_reset(void) {

}

// Returns the state of the dreq pin
static gBool board_dreq(void) {

}

// Start a command write
static void board_startcmdwrite(void) {

}

// End a command write
static void board_endcmdwrite(void) {

}

// Start a command read
static void board_startcmdread(void) {

}

// End a command read
static void board_endcmdread(void) {

}

// Start a data write
static void board_startdatawrite(void) {

}

// End a data write
static void board_enddatawrite(void) {

}

// Write data to the SPI port
static void board_spiwrite(const gU8 *buf, unsigned len) {

}

// Read data from the SPI port
static void board_spiread(gU8 *buf, unsigned len) {

}

#endif	/* GAUDIO_PLAY_BOARD_H */