Initialization of basic hardware (port direction & initial pin states) goes here in hardware_init().
More...
#include "hardware.h"
#include "ports.h"
#include "global_defines.h"
#include <avr/io.h>
#include <avr/interrupt.h>
Initialization of basic hardware (port direction & initial pin states) goes here in hardware_init().
◆ EEPROM_read()
uint8_t EEPROM_read |
( |
uint8_t |
address_to_read | ) |
|
Reads from the internal EEPROM
- Parameters
-
[in] | address_to_read | (uint8_t): Address to read from |
[out] | data_read | (uint8_t): Data read from the address |
◆ EEPROM_write()
void EEPROM_write |
( |
uint8_t |
address, |
|
|
uint8_t |
data_to_write |
|
) |
| |
Writes to the internal EEPROM
- Parameters
-
[in] | address | (uint8_t): Address to write to |
[in] | data_to_write | (uint8_t): Data to write |
◆ hardware_init()
Initializes all the hardware
- Parameters
-
[out] | retval | (retval_t): The memory area to copy to. |