| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /* ========================================================================
- * [PROJECT] SIR
- * [MODULE] Remote Control
- * [TITLE] remote control header file
- * [FILE] remcon.h
- * [VSN] 1.0
- * [CREATED] 1 july 2003
- * [LASTCHNGD] 1 july 2003
- * [COPYRIGHT] Copyright (C) STREAMIT BV 2010
- * [PURPOSE] remote control routines for SIR
- * ======================================================================== */
- /*-------------------------------------------------------------------------*/
- /* global defines */
- /*-------------------------------------------------------------------------*/
- #define RC_OK 0x00
- #define RC_ERROR 0x01
- #define RC_BUSY 0x04
- #define RCST_IDLE 0x00
- #define RCST_WAITFORLEADER 0x01
- #define RCST_SCANADDRESS 0x02
- #define RCST_SCANDATA 0x03
- #define RC_INT_SENS_MASK 0x03
- #define RC_INT_FALLING_EDGE 0x02
- #define RC_INT_RISING_EDGE 0x03
- #define IR_RECEIVE 4
- #define IR_BUFFER_SIZE 1
- /*-------------------------------------------------------------------------*/
- /* export global routines (interface) */
- /*-------------------------------------------------------------------------*/
- void RcInit(void);
- /* ÍÍÍÍ End Of File ÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
|