HIDDecodeError

Syntax

#include <cafe/hid.h>
    
void HIDDecodeError(HID_ERROR_CODE hec, u32 *p_category, s32 *p_code);

Parameters

hec Encoded HID_ERROR_CODE.
p_category Pointer to u32 to receive error category.
p_code Pointer to s32 to receive error code.

Return Values

None.

Description

HIDDecodeError decodes an HID_ERROR_CODE into category and error code.

Do Not Call From

Background Do not call this function from the background.

See Also

HID_ERROR_CODE

Revision History

2013/05/08 Automated cleanup pass.
2011/10/03 Initial version.


CONFIDENTIAL