src/ds/spi.c (view raw)
1/* Copyright (c) 2013-2017 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#include <mgba/internal/ds/spi.h>
7
8#include <mgba/internal/ds/ds.h>
9
10mLOG_DEFINE_CATEGORY(DS_SPI, "DS SPI");
11
12DSSPICNT DSSPIWriteControl(struct DS* ds, uint16_t control) {
13 // TODO
14 mLOG(DS_SPI, STUB, "Unimplemented control write: %04X", control);
15 return control;
16}
17
18void DSSPIWrite(struct DS* ds, uint8_t datum) {
19 mLOG(DS_SPI, STUB, "Unimplemented data write: %02X", datum);
20 // TODO
21}