You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
atmega-geiger/src/global_state.h

20 lines
488 B

/**
* Declarations of global variables
*/
#ifndef CPROJ_GLOBAL_VARIABLES_H
#define CPROJ_GLOBAL_VARIABLES_H
#include <stdbool.h>
#include <stdint.h>
extern volatile bool req_update_display;
extern volatile bool disp_show_tick_mark;
extern volatile bool status_weak_battery;
/// timestamp counted in units of 100ms
extern volatile uint16_t timestamp_100ms;
/// sub-second counter, counts 0-9 then overflows
extern volatile uint16_t subsec_counter;
#endif //CPROJ_GLOBAL_VARIABLES_H