liberis
pad.h
Go to the documentation of this file.
00001 /*
00002         liberis -- A set of libraries for controlling the NEC PC-FX
00003 
00004 Copyright (C) 2011              Alex Marshall "trap15" <trap15@raidenii.net>
00005 
00006 # This code is licensed to you under the terms of the MIT license;
00007 # see file LICENSE or http://www.opensource.org/licenses/mit-license.php
00008 */
00009 
00014 #ifndef _LIBERIS_LOW_PAD_H_
00015 #define _LIBERIS_LOW_PAD_H_
00016 
00017 #include <eris/types.h>
00018 
00023 void eris_low_pad_init(int pad);
00024 
00030 u16 eris_low_pad_read_status(int pad);
00036 u32 eris_low_pad_read_data(int pad);
00042 int eris_low_pad_data_ready(int pad);
00048 void eris_low_pad_write_control(int pad, u16 ctl);
00054 void eris_low_pad_write_data(int pad, u32 data);
00055 
00056 #endif
00057 
 All Files Functions Typedefs Enumerations Enumerator Defines