libdragon
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
20#define JOYBUS_BLOCK_SIZE 64
24#define JOYBUS_BLOCK_DWORDS ( JOYBUS_BLOCK_SIZE / sizeof(uint64_t) )
25
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31void joybus_exec( const void * inblock, void * outblock );
32
33#ifdef __cplusplus
34}
35#endif
36 /* joybus */
38
39#endif
void joybus_exec(const void *inblock, void *outblock)
Write a 64-byte block of data to the PIF and read the 64-byte result.
Definition: joybus.c:306