46#ifndef _MOD_IRHAL_PLATFORM_
47#define _MOD_IRHAL_PLATFORM_
void(* PLAT_IrKeyCallback_Extended_t)(PLAT_irKey_metadata_t *irKey)
HAL must call this function when an extended IR key is received.
Definition plat_ir.h:129
void PLAT_API_LOOP()
This function executes the key event loop.
void PLAT_API_RegisterIRKeyCallbackExtended(PLAT_IrKeyCallback_Extended_t func)
This function is used to register for Extended IR key events.
PLAT_xmp_tag
xmp tag type. This is used to specify the different remote types
Definition plat_ir.h:81
struct PLAT_irKey_metadata PLAT_irKey_metadata_t
IR Key struct to store the IR key meta data.
void PLAT_API_TERM(void)
This API is used to terminate the IR device module.
int PLAT_API_INIT(void)
This API initializes the underlying IR module.
PLAT_xmp_owner
xmp owner type describes whether key received in pairing or normal mode
Definition plat_ir.h:98
void PLAT_API_RegisterIRKeyCallback(PLAT_IrKeyCallback_t func)
This function is used to register for IR key events.
enum PLAT_xmp_owner PLAT_xmp_owner_t
xmp owner type describes whether key received in pairing or normal mode
enum PLAT_xmp_tag PLAT_xmp_tag_t
xmp tag type. This is used to specify the different remote types
void(* PLAT_IrKeyCallback_t)(int keyType, int keyCode)
HAL must call this function when an IR key is received.
Definition plat_ir.h:163
@ XMP_TAG_COMCAST
comcast remote
Definition plat_ir.h:82
@ XMP_TAG_XR20V1
XR20V1 remote.
Definition plat_ir.h:89
@ XMP_TAG_XR15V2
XR15V2 remote.
Definition plat_ir.h:86
@ XMP_TAG_UNDEFINED
Undefined.
Definition plat_ir.h:91
@ XMP_TAG_PLATCOV2
PLATCOV2 remote.
Definition plat_ir.h:90
@ XMP_TAG_PLATCO
platco remote
Definition plat_ir.h:83
@ XMP_TAG_XRAV1
XRAV1 remote.
Definition plat_ir.h:88
@ XMP_TAG_XR11V2
XR11V2 remote.
Definition plat_ir.h:84
@ XMP_TAG_XR16V1
XR16V1 remote.
Definition plat_ir.h:87
@ XMP_TAG_XR15V1
XR15V1 remote.
Definition plat_ir.h:85
@ XMP_OWNER_NORMAL
normal mode
Definition plat_ir.h:99
@ XMP_OWNER_PAIRING
paring mode
Definition plat_ir.h:100
@ XMP_OWNER_UNDEFINED
undefined mode
Definition plat_ir.h:101