Delete RAM data and delay function

This commit is contained in:
Miducc
2023-06-23 09:43:06 +07:00
parent 27e209b42d
commit 5bdcd8ad93
2 changed files with 46 additions and 0 deletions

12
inc/system_function.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _SYSTEM_FUNCTION_
#define _SYSTEM_FUNCTION_
#include "stdint.h"
#define RAM_ADDR_START 0x80
#define RAM_ADDR_END 0xff
void ram_erase(uint8_t ram_bank);
void delay(uint16_t count);
#endif