13 #define ERROR_EPOCH 12345
24 void ms_sense_on(
void);
29 void ms_sense_off(
void);
38 bool ms_get_time(uint32_t *seconds);
47 bool ms_set_time(uint32_t seconds);
54 bool ms_get_batt(
float *batt);
61 bool ms_get_temp(
float *temp);
68 bool ms_get_humid(
float *humid);
75 bool ms_get_adc1(uint32_t *adc1);
82 bool ms_get_adc2(uint32_t *adc2);
89 bool ms_get_rain(uint32_t *rain);
98 bool ms_get_acc(int32_t *x, int32_t *y, int32_t *z);
105 bool ms_get_reboot(uint16_t *reboot);
110 bool ms_reset_reboot(
void);
112 #endif // #ifndef MS_IO_ARCH_H