Appiko
Data Fields
tssp_detect_config_t Struct Reference

Structure to store information required to use this module. More...

#include <tssp_detect.h>

Data Fields

uint32_t rx_en_pin
 
uint32_t rx_in_pin
 
bool detect_logic_level
 
uint32_t window_duration_ticks
 
void(* tssp_missed_handler )(void)
 
void(* tssp_detect_handler )(uint32_t ticks)
 

Detailed Description

Definition at line 76 of file tssp_detect.h.

Field Documentation

◆ detect_logic_level

bool tssp_detect_config_t::detect_logic_level

Logic level when pulse is detected

Definition at line 85 of file tssp_detect.h.

◆ rx_en_pin

uint32_t tssp_detect_config_t::rx_en_pin

Pin number for enable pin

Definition at line 79 of file tssp_detect.h.

Referenced by tssp_detect_init().

◆ rx_in_pin

uint32_t tssp_detect_config_t::rx_in_pin

Pin number for IR Rx detect pin

Definition at line 82 of file tssp_detect.h.

◆ tssp_detect_handler

void(* tssp_detect_config_t::tssp_detect_handler) (uint32_t ticks)

Function pointer for a function which is to be called when a pulse is detected

Definition at line 95 of file tssp_detect.h.

◆ tssp_missed_handler

void(* tssp_detect_config_t::tssp_missed_handler) (void)

Function pointer for a function which is to be called when no pulse is detected\ for window duration

Definition at line 92 of file tssp_detect.h.

◆ window_duration_ticks

uint32_t tssp_detect_config_t::window_duration_ticks

Window duration in RTC ticks for which if no pulse is detected, some operation will done

Definition at line 88 of file tssp_detect.h.


The documentation for this struct was generated from the following file: