This commit is contained in:
2026-03-20 21:19:04 +08:00
parent 90c3d919df
commit 9d3b4b836f
247 changed files with 22127 additions and 30305 deletions

17
user/Device/MB85RS16.h Executable file → Normal file
View File

@@ -1,13 +1,9 @@
#ifndef __MB85RS16_h__
#define __MB85RS16_h__
/* File start ***************************************************************/
#if ENABLE_USE_MB85RS16
/****************************************************************************/
//---------------------------------------------------------------------------
//-----------------------------------------------------------------
#define BYTE_MAX 2048
//---------------------------------------------------------------------------
//-----------------------------------------------------------------
//register
#define FRAM_WREN 0x06 // 0000 0110B Set Write Enable Latch
#define FRAM_WRDI 0x04 // 0000 0100B Reset Write Enable Latch
@@ -50,11 +46,4 @@ u8 ReadByteFromFRAM(u16 address);
void WriteMultiByteToFRAM(u16 address, u8 *pointer, u8 length);
void ReadMultiByteFromFRAM(u16 address, u8 *pointer, u8 length);
u8 ReadFRAMDeviceID(void);
/* File end *****************************************************************/
#endif
/****************************************************************************/
/* .h end *******************************************************************/
#endif
/****************************************************************************/
#endif