LevelMeter-Display  2.0
An ultrasonic Level Meter for Stormwater Cisterns
ftest.h
Go to the documentation of this file.
1 /*
2  * ftest.h
3  *
4  * Created: 19.02.2013 17:17:27
5  * Author: Robert
6  */
7 
8 
9 #ifndef FTEST_H_
10 #define FTEST_H_
11 
12 #include <stdbool.h>
13 
20 typedef struct
21 {
22  volatile uint8_t *port;
23  volatile uint8_t *pin;
24  uint8_t testMask;
26 
27 extern bool FTest(void);
28 extern void FTest485(void);
29 
30 
31 #endif /* FTEST_H_ */
bool FTest(void)
Performs a simple Factory Test.
Definition: ftest.c:412
void FTest485(void)
Performs a Factory Test of the RS485-Lines.
Definition: ftest.c:546
volatile uint8_t * port
Address of the PORTx-register.
Definition: ftest.h:22
Holds the test declarations for one Port.
Definition: ftest.h:20
uint8_t testMask
Bit mask of which pins to test. All 1-bits are tested.
Definition: ftest.h:24
volatile uint8_t * pin
Address of the PINx-register.
Definition: ftest.h:23