This commit is contained in:
2026-03-20 21:19:53 +08:00
parent 9d3b4b836f
commit 6a749331db
125 changed files with 29972 additions and 23051 deletions

View File

@@ -1,9 +1,13 @@
#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
@@ -46,4 +50,11 @@ u8 ReadByteFromFRAM(u16 address);
void WriteMultiByteToFRAM(u16 address, u8 *pointer, u8 length);
void ReadMultiByteFromFRAM(u16 address, u8 *pointer, u8 length);
u8 ReadFRAMDeviceID(void);
#endif
/* File end *****************************************************************/
#endif
/****************************************************************************/
/* .h end *******************************************************************/
#endif
/****************************************************************************/