| Line | |
|---|
| 1 | /****************************************************************************** |
|---|
| 2 | *_Copyright (c) 2009 Digital Stream Technology Inc. All Rights Reserved. |
|---|
| 3 | * |
|---|
| 4 | * Module: dstdduirt.h |
|---|
| 5 | * |
|---|
| 6 | * Description |
|---|
| 7 | * |
|---|
| 8 | * @author |
|---|
| 9 | * @version $Revision: 1.1 $ |
|---|
| 10 | * |
|---|
| 11 | ******************************************************************************/ |
|---|
| 12 | |
|---|
| 13 | #ifndef __DSTDDUIRT_H__ |
|---|
| 14 | #define __DSTDDUIRT_H__ |
|---|
| 15 | |
|---|
| 16 | #define IR_THREAD_PRIORITY 150 |
|---|
| 17 | #define IR_THREAD_STACKSIZE 4096 |
|---|
| 18 | |
|---|
| 19 | #define IR_REPEAT_TIMEOUT 20 /* 200 MSEC */ |
|---|
| 20 | |
|---|
| 21 | #if defined __cplusplus |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | DHL_RESULT DD_IR_Init(DHL_IR_FORMAT IrFormat); |
|---|
| 26 | DHL_RESULT DD_IR_Close(void); |
|---|
| 27 | DHL_RESULT DD_IR_SetFormat(DHL_IR_FORMAT IrFormat); |
|---|
| 28 | DHL_RESULT DD_IR_SetCustomCode(DS_U16 CustomCode); |
|---|
| 29 | void DD_IR_SetScanTime(DS_U16 ScanTime); |
|---|
| 30 | DHL_RESULT DD_KeyPad_Init(void); |
|---|
| 31 | DHL_RESULT DD_KeyPad_Close(void); |
|---|
| 32 | void DD_KeyPad_SetScanTime(DS_U16 ScanTime); |
|---|
| 33 | |
|---|
| 34 | #if defined __cplusplus |
|---|
| 35 | } |
|---|
| 36 | #endif |
|---|
| 37 | |
|---|
| 38 | #endif /* __DSTDDUIRT_H__ */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.