diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-01 18:10:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-01 18:10:31 +1000 |
commit | cb99e4ab091fafbee0389a30b6fbe8ee0ffc778e (patch) | |
tree | ae2dd49581767de13bcef903bcc8e0a7a76fc898 /drivers/gaudio/vs1053/gaudio_play_board_template.h | |
parent | 2bef66a6875171942a1d71e40669247d26ce505b (diff) | |
parent | 763fd061ecd6c9bb4877b5b6f5a01ce363ef09a4 (diff) | |
download | uGFX-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.h | 71 |
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 */ |