Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
devboard_click.c File Reference

test15_4 main program loop and supporting functions More...

#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_sensorif.h"
#include "cascoda-bm/cascoda_wait.h"
#include "cascoda-util/cascoda_time.h"
#include "ca821x_api.h"
#include "devboard_btn.h"
#include "devboard_click.h"
#include "airquality4_click.h"
#include "ambient8_click.h"
#include "environment2_click.h"
#include "expand13_click.h"
#include "fan_click.h"
#include "hvac_click.h"
#include "motion_click.h"
#include "relay_click.h"
#include "sht_click.h"
#include "thermo3_click.h"
#include "thermo_click.h"
Include dependency graph for devboard_click.c:

Functions

ca_error DVBD_click_power_init (void)
 
ca_error DVBD_click_power_set (uint8_t onoff)
 
ca_error CLICK_THERMO_acquisition (data_thermo *data)
 
ca_error CLICK_THERMO3_acquisition (data_thermo3 *data)
 
ca_error CLICK_AIRQUALITY4_acquisition (data_airquality4 *data)
 
ca_error CLICK_ENVIRONMENT2_acquisition (data_environment2 *data)
 
ca_error CLICK_SHT_acquisition (data_sht *data)
 
ca_error CLICK_HVAC_acquisition (data_hvac *data)
 
ca_error CLICK_MOTION_acquisition (data_motion *data)
 
ca_error CLICK_RELAY_acquisition (data_relay *data)
 
ca_error CLICK_AMBIENT8_acquisition (data_ambient8 *data)
 
ca_error CLICK_FAN_acquisition (data_fan *data)
 
ca_error CLICK_EXPAND13_acquisition (data_expand13 *data)
 
ca_error CLICK_THERMO3_initialise (void)
 
ca_error CLICK_THERMO_initialise (void)
 
ca_error CLICK_AIRQUALITY4_initialise (void)
 
ca_error CLICK_ENVIRONMENT2_initialise (void)
 
ca_error CLICK_SHT_initialise (void)
 
ca_error CLICK_HVAC_initialise (void)
 
ca_error CLICK_MOTION_initialise (void)
 
ca_error CLICK_RELAY_initialise (void)
 
ca_error CLICK_AMBIENT8_initialise (void)
 
ca_error CLICK_FAN_initialise (void)
 
ca_error CLICK_EXPAND13_initialise (void)
 

Variables

uint8_t g_relay_1_state = 0
 
uint8_t g_relay_2_state = 0
 
uint8_t g_fan_speed_pwm_percent = 0
 
uint16_t g_fan_speed_tach_rpm = 0
 

Detailed Description

test15_4 main program loop and supporting functions

Function Documentation

◆ CLICK_AIRQUALITY4_acquisition()

ca_error CLICK_AIRQUALITY4_acquisition ( data_airquality4 data)

◆ CLICK_AIRQUALITY4_initialise()

ca_error CLICK_AIRQUALITY4_initialise ( void  )

◆ CLICK_AMBIENT8_acquisition()

ca_error CLICK_AMBIENT8_acquisition ( data_ambient8 data)

◆ CLICK_AMBIENT8_initialise()

ca_error CLICK_AMBIENT8_initialise ( void  )

◆ CLICK_ENVIRONMENT2_acquisition()

ca_error CLICK_ENVIRONMENT2_acquisition ( data_environment2 data)

◆ CLICK_ENVIRONMENT2_initialise()

ca_error CLICK_ENVIRONMENT2_initialise ( void  )

◆ CLICK_EXPAND13_acquisition()

ca_error CLICK_EXPAND13_acquisition ( data_expand13 data)

◆ CLICK_EXPAND13_initialise()

ca_error CLICK_EXPAND13_initialise ( void  )

◆ CLICK_FAN_acquisition()

ca_error CLICK_FAN_acquisition ( data_fan data)

◆ CLICK_FAN_initialise()

ca_error CLICK_FAN_initialise ( void  )

◆ CLICK_HVAC_acquisition()

ca_error CLICK_HVAC_acquisition ( data_hvac data)

◆ CLICK_HVAC_initialise()

ca_error CLICK_HVAC_initialise ( void  )

◆ CLICK_MOTION_acquisition()

ca_error CLICK_MOTION_acquisition ( data_motion data)

◆ CLICK_MOTION_initialise()

ca_error CLICK_MOTION_initialise ( void  )

◆ CLICK_RELAY_acquisition()

ca_error CLICK_RELAY_acquisition ( data_relay data)

◆ CLICK_RELAY_initialise()

ca_error CLICK_RELAY_initialise ( void  )

◆ CLICK_SHT_acquisition()

ca_error CLICK_SHT_acquisition ( data_sht data)

◆ CLICK_SHT_initialise()

ca_error CLICK_SHT_initialise ( void  )

◆ CLICK_THERMO3_acquisition()

ca_error CLICK_THERMO3_acquisition ( data_thermo3 data)

◆ CLICK_THERMO3_initialise()

ca_error CLICK_THERMO3_initialise ( void  )

◆ CLICK_THERMO_acquisition()

ca_error CLICK_THERMO_acquisition ( data_thermo data)

◆ CLICK_THERMO_initialise()

ca_error CLICK_THERMO_initialise ( void  )

◆ DVBD_click_power_init()

ca_error DVBD_click_power_init ( void  )

◆ DVBD_click_power_set()

ca_error DVBD_click_power_set ( uint8_t  onoff)

Variable Documentation

◆ g_fan_speed_pwm_percent

uint8_t g_fan_speed_pwm_percent = 0

◆ g_fan_speed_tach_rpm

uint16_t g_fan_speed_tach_rpm = 0

◆ g_relay_1_state

uint8_t g_relay_1_state = 0

◆ g_relay_2_state

uint8_t g_relay_2_state = 0