IoT Supervisor 0.0
Loading...
Searching...
No Matches
EFM8BB1_FlashPrimitives.h File Reference
#include <SI_EFM8BB1_Register_Enums.h>

Go to the source code of this file.

Macros

#define FLASH_PAGESIZE   512
 
#define FLASH_TEMP   0x1C00L
 
#define FLASH_LAST   0x1E00L
 

Typedefs

typedef uint16_t FLADDR
 

Functions

void FLASH_ByteWrite (FLADDR addr, uint8_t byte)
 
uint8_t FLASH_ByteRead (FLADDR addr)
 
void FLASH_PageErase (FLADDR addr)
 

Macro Definition Documentation

◆ FLASH_LAST

#define FLASH_LAST   0x1E00L

Definition at line 47 of file EFM8BB1_FlashPrimitives.h.

◆ FLASH_PAGESIZE

#define FLASH_PAGESIZE   512

Definition at line 37 of file EFM8BB1_FlashPrimitives.h.

◆ FLASH_TEMP

#define FLASH_TEMP   0x1C00L

Definition at line 41 of file EFM8BB1_FlashPrimitives.h.

Typedef Documentation

◆ FLADDR

typedef uint16_t FLADDR

Definition at line 31 of file EFM8BB1_FlashPrimitives.h.

Function Documentation

◆ FLASH_ByteRead()

uint8_t FLASH_ByteRead ( FLADDR  addr)

Definition at line 83 of file EFM8BB1_FlashPrimitives.c.

◆ FLASH_ByteWrite()

void FLASH_ByteWrite ( FLADDR  addr,
uint8_t  byte 
)

Definition at line 41 of file EFM8BB1_FlashPrimitives.c.

◆ FLASH_PageErase()

void FLASH_PageErase ( FLADDR  addr)

Definition at line 116 of file EFM8BB1_FlashPrimitives.c.