pspsdk-1.0+beta2
pspsircs.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
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
23 extern "C" {
24 #endif
25 
28 
29 struct 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
33 } __packed__;
34 
37 int sceSircsSend(struct sircs_data* sd, int count);
38 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif