2014-04-29 06:35:57 +00:00
|
|
|
/*
|
|
|
|
* 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:
|
|
|
|
*
|
2018-10-01 15:32:39 +00:00
|
|
|
* http://ugfx.io/license.html
|
2014-04-29 06:35:57 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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
|
2018-06-23 03:02:07 +00:00
|
|
|
static gBool board_dreq(void) {
|
2014-04-29 06:35:57 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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
|
2018-11-03 00:51:23 +00:00
|
|
|
static void board_spiwrite(const gU8 *buf, unsigned len) {
|
2014-04-29 06:35:57 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Read data from the SPI port
|
2018-11-03 00:51:23 +00:00
|
|
|
static void board_spiread(gU8 *buf, unsigned len) {
|
2014-04-29 06:35:57 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* GAUDIO_PLAY_BOARD_H */
|