aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gaudio/vs1053/gaudio_play_board_template.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-01 18:10:31 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-01 18:10:31 +1000
commitcb99e4ab091fafbee0389a30b6fbe8ee0ffc778e (patch)
treeae2dd49581767de13bcef903bcc8e0a7a76fc898 /drivers/gaudio/vs1053/gaudio_play_board_template.h
parent2bef66a6875171942a1d71e40669247d26ce505b (diff)
parent763fd061ecd6c9bb4877b5b6f5a01ce363ef09a4 (diff)
downloaduGFX-cb99e4ab091fafbee0389a30b6fbe8ee0ffc778e.tar.gz
uGFX-cb99e4ab091fafbee0389a30b6fbe8ee0ffc778e.tar.bz2
uGFX-cb99e4ab091fafbee0389a30b6fbe8ee0ffc778e.zip
Merge branch 'master' into gwin
Diffstat (limited to 'drivers/gaudio/vs1053/gaudio_play_board_template.h')
-rw-r--r--drivers/gaudio/vs1053/gaudio_play_board_template.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/drivers/gaudio/vs1053/gaudio_play_board_template.h b/drivers/gaudio/vs1053/gaudio_play_board_template.h
new file mode 100644
index 00000000..d6125bbc
--- /dev/null
+++ b/drivers/gaudio/vs1053/gaudio_play_board_template.h
@@ -0,0 +1,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.org/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 bool 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 uint8_t *buf, unsigned len) {
+
+}
+
+// Read data from the SPI port
+static void board_spiread(uint8_t *buf, unsigned len) {
+
+}
+
+#endif /* GAUDIO_PLAY_BOARD_H */