binary Clock
hardware.h
Go to the documentation of this file.
1 #ifndef HARDWARE_H__
2 #define HARDWARE_H__
3 
4 #include <stdint.h>
5 #include "global_defines.h"
6 
11 #define ON 1
12 #define OFF 0
13 
14 #define F_OSC 8000000UL
15 
17 
18 // EEPROM functions
19 void EEPROM_write(uint8_t address, uint8_t data_to_write);
20 uint8_t EEPROM_read(uint8_t address_to_read);
21 
22 #endif /* HARDWARE_H__ */
retval_t hardware_init(void)
Definition: hardware.c:16
void EEPROM_write(uint8_t address, uint8_t data_to_write)
Definition: hardware.c:32
Definitions and types used in all files. Should be included in all project files. ...
retval_t
definition of the types of return values possible
Definition: global_defines.h:10
uint8_t EEPROM_read(uint8_t address_to_read)
Definition: hardware.c:55