LibXenon
Bare-metal Xbox 360 homebrew library
|
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | ir_remote_codes { IR_NUM_0 , IR_NUM_1 , IR_NUM_2 , IR_NUM_3 , IR_NUM_4 , IR_NUM_5 , IR_NUM_6 , IR_NUM_7 , IR_NUM_8 , IR_NUM_9 , IR_CLEAR , IR_ENTER , IR_UNKNOWN_0 , IR_WIN_MEDIA , IR_MUTE , IR_INFO , IR_VOLUME_UP , IR_VOLUME_DOWN , IR_FAST_FORWARD = 0x14 , IR_FAST_REWIND = 0x15 , IR_PLAY = 0x16 , IR_REC = 0x17 , IR_PAUSE = 0x18 , IR_STOP = 0x19 , IR_GOTO_END = 0x1A , IR_GOTO_START = 0x1B , IR_UNKNOWN_1 = 0x1C , IR_100 = 0x1D , IR_UP = 0x1E , IR_DOWN = 0x1F , IR_LEFT = 0x20 , IR_RIGHT = 0x21 , IR_OK = 0x22 , IR_BACK = 0x23 , IR_DVD_MENU = 0x24 , IR_BTN_B = 0x25 , IR_BTN_Y = 0x26 , IR_DISPLAY = 0x4F , IR_TITLE = 0x51 , IR_GUIDE = 0x64 , IR_BTN_A = 0x66 , IR_BTN_X = 0x68 , IR_CH_UP = 0x6C , IR_CH_DOWN = 0x6D } |
Functions | |
void | xenon_smc_send_message (const unsigned char *msg) |
int | xenon_smc_receive_message (unsigned char *msg) |
int | xenon_smc_receive_response (unsigned char *msg) |
int | xenon_smc_poll () |
int | xenon_smc_get_ir () |
int | xenon_smc_ana_write (uint8_t addr, uint32_t val) |
int | xenon_smc_ana_read (uint8_t addr, uint32_t *val) |
int | xenon_smc_i2c_ddc_lock (int lock) |
int | xenon_smc_i2c_write (uint16_t addr, uint8_t val) |
int | xenon_smc_i2c_read (uint16_t addr, uint8_t *val) |
void | xenon_smc_set_led (int override, int value) |
void | xenon_smc_set_power_led (int override, int state, int startanim) |
void | xenon_smc_power_shutdown (void) |
void | xenon_smc_power_reboot (void) |
void | xenon_smc_start_bootanim (void) |
void | xenon_smc_set_fan_algorithm (int algorithm) |
void | xenon_smc_query_sensors (uint16_t *data) |
int | xenon_smc_read_avpack (void) |
enum ir_remote_codes |
Definition at line 12 of file xenon_smc.h.
Definition at line 149 of file xenon_smc.c.
Definition at line 120 of file xenon_smc.c.
int xenon_smc_get_ir | ( | ) |
Definition at line 55 of file xenon_smc.c.
int xenon_smc_i2c_ddc_lock | ( | int | lock | ) |
Definition at line 172 of file xenon_smc.c.
Definition at line 219 of file xenon_smc.c.
Definition at line 192 of file xenon_smc.c.
int xenon_smc_poll | ( | ) |
Definition at line 83 of file xenon_smc.c.
void xenon_smc_power_reboot | ( | void | ) |
Definition at line 274 of file xenon_smc.c.
void xenon_smc_power_shutdown | ( | void | ) |
Definition at line 268 of file xenon_smc.c.
void xenon_smc_query_sensors | ( | uint16_t * | data | ) |
Definition at line 288 of file xenon_smc.c.
int xenon_smc_read_avpack | ( | void | ) |
Definition at line 298 of file xenon_smc.c.
int xenon_smc_receive_message | ( | unsigned char * | msg | ) |
Definition at line 37 of file xenon_smc.c.
int xenon_smc_receive_response | ( | unsigned char * | msg | ) |
Definition at line 98 of file xenon_smc.c.
void xenon_smc_send_message | ( | const unsigned char * | msg | ) |
Definition at line 20 of file xenon_smc.c.
void xenon_smc_set_fan_algorithm | ( | int | algorithm | ) |
Definition at line 306 of file xenon_smc.c.
void xenon_smc_set_led | ( | int | override, |
int | value | ||
) |
Definition at line 244 of file xenon_smc.c.
void xenon_smc_set_power_led | ( | int | override, |
int | state, | ||
int | startanim | ||
) |
Definition at line 256 of file xenon_smc.c.
void xenon_smc_start_bootanim | ( | void | ) |
Definition at line 280 of file xenon_smc.c.