# pspsircs.h

Go to the documentation of this file.

    00001 /*
    00002  * PSP Software Development Kit - http://www.pspdev.org
    00003  * -----------------------------------------------------------------------
    00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
    00005  *
    00006  * pspmodulemgr.h - Prototypes to manage manage modules.
    00007  *
    00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
    00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
    00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
    00011  * Copyright (c) 2005 Matthew H <matthewh@webone.com.au>
    00012  *
    00013  * $$
    00014  */
    00015 #ifndef __SIRCS_H__
    00016 #define __SIRCS_H__
    00017
    00022 #ifdef __cplusplus
    00023 extern "C" {
    00024 #endif
    00025
    00028
    00029 struct sircs_data {
    00030         u8 type; // 12, 15 or 20 bits
    00031         u8 cmd;  // 7 bit cmd
    00032         u16 dev; // 5, 8 or 13 bit device address
    00033 } __packed__;
    00034
    00037 int sceSircsSend(struct sircs_data* sd, int count);
    00038
    00041 #ifdef __cplusplus
    00042 }
    00043 #endif
    00044
    00045 #endif