libdragon
include
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
28
extern
"C"
{
29
#endif
30
31
void
joybus_exec
(
const
void
* inblock,
void
* outblock );
32
33
#ifdef __cplusplus
34
}
35
#endif
36
/* joybus */
38
39
#endif
joybus_exec
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
Generated on Sun Mar 10 2024 00:14:59 for libdragon by
1.9.4