IRPyro API demo
Shows the basic functionality of the IRPyro API
main.h File Reference

Function prototypes and initialization macros for example code. More...

#include "IRPyro_API_multi_device_layer.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AFE_INIT_DEFAULT(X)
 
#define CCP_INIT_DEFAULT(X)
 
#define IRPyro_INIT_DEFAULT(X)
 
#define WUP_INIT_DEFAULT(X)
 

Detailed Description

Function prototypes and initialization macros for example code.

Author
_KEMET, Ltd
Date
March 2018
Version
Release 1.0.6
Attention

© COPYRIGHT 2018 _KEMET, Ltd

  Copyright (c) 2018, _KEMET, Ltd
  All rights reserved.

  THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY
  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY
  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file main.h.

Macro Definition Documentation

◆ AFE_INIT_DEFAULT

#define AFE_INIT_DEFAULT (   X)
Value:
AFE_reg_type X = { \
.S7_S0 = 0, \
.LP = LOW_POWER_DISABLE, \
.HP = HP_ENABLE, \
.C_LP = LOW_PASS_180, \
.CLK_OUT = CLK_ENABLE, \
.SYNC = MASTER, \
.TEMP = TEMP_DISABLE, \
.INT = INT_ENABLE \
}

Definition at line 44 of file main.h.

◆ CCP_INIT_DEFAULT

#define CCP_INIT_DEFAULT (   X)
Value:
CCP_reg_type X = { \
.status_bit = CH_ENABLE, \
.Feedback_transconductance = TCONDUCT_1_2T, \
.High_pass_filter_setting = HIGH_PASS_1HZ, \
.Feedback_cap = FEEDBACK_50_20 \
}

Definition at line 61 of file main.h.

◆ IRPyro_INIT_DEFAULT

#define IRPyro_INIT_DEFAULT (   X)
Value:
IRPyro_sensor_device_type X = { \
.CS_Port = 2, \
.INT_Port = 1, \
.CS_Pin = 1, \
.INT_Pin= 4, \
.address = 0x65, \
number_of_active_channels= 1 \
}

Definition at line 91 of file main.h.

◆ WUP_INIT_DEFAULT

#define WUP_INIT_DEFAULT (   X)
Value:
WUP_reg_type X ={ \
.UHT = MAX_WUP_THRESHOLD, .ULT = MAX_WUP_THRESHOLD, \
.LHT = MIN_WUP_THRESHOLD, .LLT = MIN_WUP_THRESHOLD, \
.WT_Threshold = DEFAULT_NO_EVENTS, \
.DP0_DP2 = REF_CH_2, \
.CH0_CH2 = SEL_CH_2, \
.ST = SLEEP_MODE_ONE_CH \
}

Definition at line 79 of file main.h.