liberis
|
Low-level access to FX-PADs. More...
#include <eris/types.h>
Go to the source code of this file.
Functions | |
void | eris_low_pad_init (int pad) |
Initialize a pad. | |
u16 | eris_low_pad_read_status (int pad) |
Read pad status. | |
u32 | eris_low_pad_read_data (int pad) |
Read pad data. | |
int | eris_low_pad_data_ready (int pad) |
Check if pad has data ready. | |
void | eris_low_pad_write_control (int pad, u16 ctl) |
Write pad control. | |
void | eris_low_pad_write_data (int pad, u32 data) |
Write pad data. |
Low-level access to FX-PADs.
int eris_low_pad_data_ready | ( | int | pad | ) |
Check if pad has data ready.
pad | The pad to check. (0 ~ 1) |
void eris_low_pad_init | ( | int | pad | ) |
Initialize a pad.
pad | The pad to initialize. (0 ~ 1) |
u32 eris_low_pad_read_data | ( | int | pad | ) |
Read pad data.
pad | The pad to read data from. (0 ~ 1) |
u16 eris_low_pad_read_status | ( | int | pad | ) |
Read pad status.
pad | The pad to read the status of. (0 ~ 1) |
void eris_low_pad_write_control | ( | int | pad, |
u16 | ctl | ||
) |
Write pad control.
pad | The pad to write the control of. (0 ~ 1) |
ctl | The control data to be written. |
void eris_low_pad_write_data | ( | int | pad, |
u32 | data | ||
) |
Write pad data.
pad | The pad to write data to. (0 ~ 1) |
data | The data to be written. |