libdragon
Loading...
Searching...
No Matches
joybus.h
Go to the documentation of this file.
1
6#ifndef __LIBDRAGON_JOYBUS_H
7#define __LIBDRAGON_JOYBUS_H
8
9#include <stddef.h>
10#include <stdint.h>
11
56#define JOYBUS_BLOCK_SIZE 64
60#define JOYBUS_BLOCK_DWORDS ( JOYBUS_BLOCK_SIZE / sizeof(uint64_t) )
61
62
63#ifdef __cplusplus
64extern "C" {
65#endif
66
82void joybus_exec( const void* input, void* output );
83
84#ifdef __cplusplus
85}
86#endif
87
/* joybus */
89
90#endif
void joybus_exec(const void *input, void *output)
Write a 64-byte block of data to the PIF and read the 64-byte result.
Definition joybus.c:251