Appiko
|
This file contains all the test funtion declarations. More...
Functions | |
uint32_t | power_test (void) |
This function is used to check power on the board If program execution starts properly, it means power source is connected. More... | |
uint32_t | dc_dc_test (void) |
This fucntion is used to check DC/DC converter. If DC/DC circuit is present at input supply, funtion will return value 1. More... | |
uint32_t | led_test (void) |
This fucntion is used to check on board LEDs. Operator has to be there to check if LEDs are blinking properly or not. More... | |
uint32_t | crystal_test (void) |
This fucntion is used to check on low frequency crystal. Without LF-XTAL we cannot use RTC. Therefore RTC is used to detect LF-XTAL. More... | |
uint32_t | rc_test (void) |
This fucntion is used to check output RC very low frequency filter. This function will actully check for any AC part present in offset voltage. More... | |
uint32_t | freq_filter_test (void) |
This fucntion is used to check output filter designed for f(max)=10Hz This test will detect if any other frequency is supplied to device other than 10 Hz. More... | |
uint32_t | pot_test (void) |
This fucntion is used to check MCP4012 pot. In this function we will check an ratio between two signals obtained by changing gain by changing pot values. More... | |
uint32_t crystal_test | ( | void | ) |
Definition at line 227 of file hw_testing_app.c.
References MS_SINGLE_CALL, MS_TIMER0, ms_timer_init(), ms_timer_start(), and profiler_timer_init().
uint32_t dc_dc_test | ( | void | ) |
Definition at line 153 of file hw_testing_app.c.
uint32_t freq_filter_test | ( | void | ) |
Definition at line 297 of file hw_testing_app.c.
uint32_t led_test | ( | void | ) |
Definition at line 168 of file hw_testing_app.c.
uint32_t pot_test | ( | void | ) |
Definition at line 338 of file hw_testing_app.c.
References mcp4012_set_value().
uint32_t power_test | ( | void | ) |
Definition at line 144 of file hw_testing_app.c.
uint32_t rc_test | ( | void | ) |
Definition at line 269 of file hw_testing_app.c.
References mcp4012_set_value(), PIR_AMP_OFFSET_PIN, profiler_timer_deinit(), profiler_timer_init(), read_time_us(), SIMPLE_ADC_GAIN1_5, and simple_adc_get_value().