Appiko
hw_testing_app.h
1 /*
2  * hw_testing_app.h : Tests for SensePi Board level testing
3  * Copyright (C) 2019 Appiko
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <https://www.gnu.org/licenses/>.
17  */
18 
29 #ifndef HW_TESTING_APP_H
30 #define HW_TESTING_APP_H
31 
37 uint32_t power_test(void);
43 uint32_t dc_dc_test(void);
49 uint32_t led_test(void);
55 uint32_t crystal_test(void);
61 uint32_t rc_test(void);
68 uint32_t freq_filter_test(void);
75 uint32_t pot_test(void);
76 #endif
77 
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 ot...
uint32_t power_test(void)
This function is used to check power on the board If program execution starts properly,...
uint32_t dc_dc_test(void)
This fucntion is used to check DC/DC converter. If DC/DC circuit is present at input supply,...
uint32_t rc_test(void)
This fucntion is used to check output RC very low frequency filter. This function will actully check ...
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 ...
uint32_t pot_test(void)
This fucntion is used to check MCP4012 pot. In this function we will check an ratio between two signa...
uint32_t crystal_test(void)
This fucntion is used to check on low frequency crystal. Without LF-XTAL we cannot use RTC....