Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
memory.h
00001 /* 00002 Copyright 2013 Paul Soulsby www.soulsbysynths.com 00003 This file is part of Atmegatron. 00004 00005 Atmegatron is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 Atmegatron is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with Atmegatron. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 //******Read and write patches to flash memory************** 00020 00021 #ifndef __MEMORY_H__ 00022 #define __MEMORY_H__ 00023 00024 00025 #define SYSEXBEGIN 240 00026 #define SYSEXEND 247 00027 00028 //save patch 00029 void Memory_Save(byte patchnum); 00030 bool Memory_Load_Patch(uint8_t *p_dst, uint32_t src); // CPV 00031 bool Memory_Load(byte patchnum); 00032 void Memory_UserWave_Write(byte patchnum); 00033 void Memory_UserWave_Read(byte patchnum); 00034 void Memory_Vanilla(void); 00035 void Memory_SYSEX_write_mem(void); 00036 void Memory_Channel_Write(byte channel); 00037 byte Memory_Channel_Read(void); 00038 00039 00040 #endif // __MEMORY_H__
Generated on Mon Jul 18 2022 18:20:47 by
1.7.2