aboutsummaryrefslogtreecommitdiff
path: root/src/sample/io_sample/IR/SendCode/protocol/mitc8d8_prot.h
blob: f523439b7198577395a42618f2a15d669c848754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
*********************************************************************************************************
*               Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
*********************************************************************************************************
* @file      mitc8d8_prot.h
* @brief    This file provides driver of mitc8d8 protocol encoding.
* @details
* @author    elliot chen
* @date      2017-08-21
* @version   v1.0
* *********************************************************************************************************
*/

#ifndef __MITC8D8_PROT_H
#define __MITC8D8_PROT_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "ir_protocol_config.h"
#include "ir_encode.h"

/* Defines ------------------------------------------------------------------*/

/**
  * @brief  Configure MITC8D8 protocol repeat code transmission interval
  */

#define MITC8D8_TRANSMISION_INTERVAL        ((uint32_t)((30*10000 - 1)))

/* Exported functions --------------------------------------------------------*/
IR_Return_Type MITC8D8_Encode(IR_DataTypeDef *IR_DataStruct);

#ifdef __cplusplus
}
#endif

#endif /*__MITC8D8_PROT_H*/

/******************* (C) COPYRIGHT 2017 Realtek Semiconductor Corporation *****END OF FILE****/