root / trunk / code / projects / diagnostic_station / station / hardware_rbom.h @ 1198
History | View | Annotate | Download (441 Bytes)
1 |
#ifndef _hardware_rbom_h
|
---|---|
2 |
#define _hardware_rbom_h
|
3 |
|
4 |
#include <dragonfly_lib.h> |
5 |
#include "global.h" |
6 |
|
7 |
/*
|
8 |
* Inverse BOM sensor macros for (N)orth,
|
9 |
* (S)outh, (E)ast, and (W)est positions.
|
10 |
*/
|
11 |
#define N_SENSOR AN3
|
12 |
#define E_SENSOR AN4
|
13 |
#define S_SENSOR AN5
|
14 |
#define W_SENSOR AN6
|
15 |
|
16 |
void rbom_init (void); |
17 |
|
18 |
void rbom_set (bool on); |
19 |
uint16_t rbom_read (uint8_t value); |
20 |
void rbom_update (void); |
21 |
void rbom_debug (void); |
22 |
|
23 |
#endif
|