Appiko
Data Structures | Functions
The support code to control IR transmission and reception.

The active IR sense application's support file that handles motion detection\ and timer based operations. More...

Data Structures

struct  rx_pin_config_t
 
struct  rx_detect_config_t
 

Functions

void sensebe_tx_rx_swicht_range ()
 
void sensebe_tx_rx_init (sensebe_tx_rx_config_t *sensebe_rx_detect_config)
 Function to initialize the Rx detect module. More...
 
void sensebe_tx_rx_start (void)
 Function to enable detection for SenseBe Rx.
 
void sensebe_tx_rx_stop (void)
 Function to disable detection for SenseBe Rx.
 
void sensebe_tx_rx_add_ticks (uint32_t interval)
 Function to handle add tick event. More...
 
void sensebe_tx_rx_update_config (sensebe_config_t *update_sensebe_config)
 Function to update SenseBe Rx configuration to config received over BLE. More...
 
sensebe_config_t * sensebe_tx_rx_last_config ()
 Function to get last config which is being used. More...
 
void sensebe_tx_rx_init (sensebe_tx_config_t *sensebe_tx_init)
 Function to initialize the Rx detect module. More...
 

Detailed Description

Function Documentation

◆ sensebe_tx_rx_add_ticks()

void sensebe_tx_rx_add_ticks ( uint32_t  interval)
Parameters
intervalTicks since the last occurance of add tick event.

Definition at line 695 of file sensebe_rx_mod.c.

References MOTION_ONLY.

Referenced by next_interval_handler().

◆ sensebe_tx_rx_init() [1/2]

void sensebe_tx_rx_init ( sensebe_tx_config_t *  sensebe_tx_init)
Parameters
sensebe_tx_initConfiguration required for sensbe_rx_detect module sensebe_tx_init_t

Definition at line 519 of file sensebe_tx_mod.c.

◆ sensebe_tx_rx_init() [2/2]

void sensebe_tx_rx_init ( sensebe_tx_rx_config_t *  sensebe_rx_detect_config)
Parameters
sensebe_rx_detect_configCOnfiguration required for sensbe_rx_detect module sensebe_rx_detect_config_t

Definition at line 609 of file sensebe_rx_mod.c.

◆ sensebe_tx_rx_last_config()

sensebe_config_t* sensebe_tx_rx_last_config ( )
Returns
Configuration pointer to the configuration which is being used.

Definition at line 720 of file sensebe_rx_mod.c.

◆ sensebe_tx_rx_swicht_range()

void sensebe_tx_rx_swicht_range ( )

@breif Function to change the range of IR transmission

Definition at line 645 of file sensebe_tx_mod.c.

References LED_UI_LOW_PRIORITY, and led_ui_single_start().

◆ sensebe_tx_rx_update_config()

void sensebe_tx_rx_update_config ( sensebe_config_t *  update_sensebe_config)
Parameters
sensebe_configPointer to the Configuration received over BLE

Definition at line 715 of file sensebe_rx_mod.c.