Result iruInit(u32 *sharedmem_addr, u32 sharedmem_size)
Initializes IRU.
Result IRU_WaitSendTransfer(void)
Waits for a send operation to complete.
Result IRU_GetIRLEDRecvState(u32 *out)
Gets the IR LED state.
void iruExit(void)
Shuts down IRU.
Result IRU_SetIRLEDState(u32 value)
Sets the IR LED state.
Result IRU_GetSendFinishedEvent(Handle *out)
Gets an event which is signaled once a send finishes.
Result IRU_Shutdown(void)
Shuts down the IR session.
Result iruRecvData(u8 *buf, u32 size, u8 flag, u32 *transfercount, bool wait)
Receives IR data.
Handle iruGetServHandle(void)
Gets the IRU service handle.
Result IRU_Initialize(void)
Initializes the IR session.
Result IRU_WaitRecvTransfer(u32 *transfercount)
Waits for a receive operation to complete.
Result IRU_SetBitRate(u8 value)
Sets the IR bit rate.
Result iruSendData(u8 *buf, u32 size, bool wait)
Sends IR data.
Result IRU_GetRecvFinishedEvent(Handle *out)
Gets an event which is signaled once a receive finishes.
Result IRU_StartSendTransfer(u8 *buf, u32 size)
Begins sending data.
Result IRU_StartRecvTransfer(u32 size, u8 flag)
Begins receiving data.
Result IRU_GetBitRate(u8 *out)
Gets the IR bit rate.
uint8_t u8
would be nice if newlib had this already
Definition: types.h:21
u32 Handle
Resource handle.
Definition: types.h:41
s32 Result
Function result.
Definition: types.h:42
uint32_t u32
32-bit unsigned integer
Definition: types.h:23