binary Clock
|
Hardware related definitions (e.g. oscillator speed). More...
Go to the source code of this file.
Macros | |
#define | ON 1 |
defines the on state More... | |
#define | OFF 0 |
defines the off state More... | |
#define | F_OSC 8000000UL |
oscillator speec More... | |
Functions | |
retval_t | hardware_init (void) |
void | EEPROM_write (uint8_t address, uint8_t data_to_write) |
uint8_t | EEPROM_read (uint8_t address_to_read) |
Hardware related definitions (e.g. oscillator speed).
#define F_OSC 8000000UL |
oscillator speec
#define OFF 0 |
defines the off state
#define ON 1 |
defines the on state
uint8_t EEPROM_read | ( | uint8_t | address_to_read | ) |
Reads from the internal EEPROM
[in] | address_to_read | (uint8_t): Address to read from |
[out] | data_read | (uint8_t): Data read from the address |
void EEPROM_write | ( | uint8_t | address, |
uint8_t | data_to_write | ||
) |
Writes to the internal EEPROM
[in] | address | (uint8_t): Address to write to |
[in] | data_to_write | (uint8_t): Data to write |
retval_t hardware_init | ( | void | ) |
Initializes all the hardware
[out] | retval | (retval_t): The memory area to copy to. |