PSPSDK 2024-12-16
Loading...
Searching...
No Matches
pspsircs.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspmodulemgr.h - Prototypes to manage manage modules.
7 *
8 * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9 * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10 * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11 * Copyright (c) 2005 Matthew H <matthewh@webone.com.au>
12 *
13 * $$
14 */
15#ifndef __SIRCS_H__
16#define __SIRCS_H__
17
22#ifdef __cplusplus
23extern "C" {
24#endif
25
29struct sircs_data {
30 u8 type; // 12, 15 or 20 bits
31 u8 cmd; // 7 bit cmd
32 u16 dev; // 5, 8 or 13 bit device address
34
37int sceSircsSend(struct sircs_data* sd, int count);
38
41#ifdef __cplusplus
42}
43#endif
44
45#endif
int sceSircsSend(struct sircs_data *sd, int count)
struct sircs_data __packed__
uint8_t u8
Definition psptypes.h:38
uint16_t u16
Definition psptypes.h:39
float x
Definition psptypes.h:0
Definition pspsircs.h:29
u8 cmd
Definition pspsircs.h:31
u8 type
Definition pspsircs.h:30
u16 dev
Definition pspsircs.h:32