19 lines
303 B
C
19 lines
303 B
C
#ifndef CONTROL_H
|
|
#define CONTROL_H
|
|
|
|
#include "stdint.h"
|
|
|
|
typedef struct {
|
|
uint8_t memory_config;
|
|
} Control;
|
|
|
|
uint16_t read_address();
|
|
void write_data(uint8_t value);
|
|
uint8_t read_data();
|
|
|
|
void control_program_eeprom(uint8_t* data, uint16_t length);
|
|
void control_cycle();
|
|
void control_reset();
|
|
|
|
#endif
|