diff options
Diffstat (limited to 'gba/source/link.h')
-rw-r--r-- | gba/source/link.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gba/source/link.h b/gba/source/link.h index f18b38a..08fd998 100644 --- a/gba/source/link.h +++ b/gba/source/link.h | |||
@@ -1,12 +1,17 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2017 hatkirby | ||
3 | * | ||
4 | * This software may be modified and distributed under the terms | ||
5 | * of the MIT license. See the LICENSE file for details. | ||
6 | */ | ||
1 | #ifndef _LINK_H_ | 7 | #ifndef _LINK_H_ |
2 | #define _LINK_H_ | 8 | #define _LINK_H_ |
3 | 9 | ||
4 | #include <gba.h> | 10 | #include <gba.h> |
5 | 11 | ||
6 | void waitForWriteAccess(); | 12 | void initializeLink(); |
7 | void waitForAck(); | 13 | void waitForAck(); |
8 | void sendS32(s32 val); | 14 | void sendS32(s32 val); |
9 | void sendU32(u32 val); | 15 | void sendU32(u32 val); |
10 | u32 recieveU32(); | ||
11 | 16 | ||
12 | #endif | 17 | #endif |