RocketLogger  1.1.4
rl_hw.h
Go to the documentation of this file.
1 
32 #ifndef RL_HW_H_
33 #define RL_HW_H_
34 
35 #include "ambient.h"
36 #include "gpio.h"
37 #include "pru.h"
38 #include "pwm.h"
39 #include "types.h"
40 #include "util.h"
41 
43 #define FHR1_GPIO 30
44 #define FHR2_GPIO 60
46 #define LED_STATUS_GPIO 45
48 #define LED_ERROR_GPIO 44
50 
51 void hw_init(struct rl_conf* conf);
52 void hw_close(struct rl_conf* conf);
53 int hw_sample(struct rl_conf* conf, char* file_comment);
54 
55 #endif /* RL_HW_H_ */
Definition: types.h:247
void hw_init(struct rl_conf *conf)
Definition: rl_hw.c:40
int hw_sample(struct rl_conf *conf, char *file_comment)
Definition: rl_hw.c:128
void hw_close(struct rl_conf *conf)
Definition: rl_hw.c:92