- use build in data types
git-svn-id: http://moon:8086/svn/mips@35 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+10
-10
@@ -15,9 +15,9 @@ enum
|
||||
|
||||
typedef struct _sps2_if_t
|
||||
{
|
||||
UINT32 type;
|
||||
volatile UINT32 *pCTRL;
|
||||
volatile UINT32 *pDATA;
|
||||
uint32_t type;
|
||||
volatile uint32_t *pCTRL;
|
||||
volatile uint32_t *pDATA;
|
||||
} ps2_if_t;
|
||||
|
||||
// --------------------------------------------------
|
||||
@@ -32,12 +32,12 @@ typedef struct _sps2_if_t
|
||||
// --------------------------------------------------
|
||||
// Functions
|
||||
// --------------------------------------------------
|
||||
UINT32 PS2_get_num_if(void);
|
||||
ps2_if_t *PS2_get_if(UINT32 port);
|
||||
UINT32 PS2_init(UINT32 port);
|
||||
void PS2_byte_write(UINT32 port, UINT8 byte);
|
||||
UINT32 PS2_byte_read(UINT32 port, UINT32 timeout_ms);
|
||||
UINT32 PS2_cmd(UINT32 port, UINT8 cmd, UINT32 ack_timeout_ms);
|
||||
void PS2_flush(UINT32 port);
|
||||
uint32_t PS2_get_num_if(void);
|
||||
ps2_if_t *PS2_get_if(uint32_t port);
|
||||
uint32_t PS2_init(uint32_t port);
|
||||
void PS2_byte_write(uint32_t port, uint8_t byte);
|
||||
uint32_t PS2_byte_read(uint32_t port, uint32_t timeout_ms);
|
||||
uint32_t PS2_cmd(uint32_t port, uint8_t cmd, uint32_t ack_timeout_ms);
|
||||
void PS2_flush(uint32_t port);
|
||||
|
||||
#endif // PS2_H
|
||||
|
||||
Reference in New Issue
Block a user